Remove include/bits/ipc.h.
[glibc.git] / ChangeLog
blob23d5b8da44c9adb15f10112cdc8a8864ba5fd2ea
1 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3         * include/bits/ipc.h: Remove file.
4         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5         variable.
6         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16         * math/auto-libm-test-in: Remove spurious underflow allowance for
17         tests of cexp.
18         * math/auto-libm-test-out: Regenerated.
20         [BZ #18558]
21         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22         unconditional definition.
23         (MCAST_BLOCK_SOURCE): Likewise.
24         (MCAST_UNBLOCK_SOURCE): Likewise.
25         (MCAST_LEAVE_GROUP): Likewise.
26         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28         (MCAST_MSFILTER): Likewise.
29         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
30         Remove variable.
31         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
39         * NEWS: Mention addition of x86_64 vector sincosf.
40         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
41         * math/test-float-vlen4.h: Likewise.
42         * math/test-float-vlen8.h: Likewise.
43         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
44         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
45         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
46         * sysdeps/x86_64/fpu/Versions: New versions added.
47         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
48         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
49         Added build of SSE, AVX2 and AVX512 IFUNC versions.
50         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
51         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
52         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
53         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
54         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
55         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
56         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
57         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
58         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
59         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
60         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
61         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
62         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
63         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
64         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
65         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
66         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
67         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
68         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
69         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
70         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
72         * NEWS: Mention addition of x86_64 vector sincos.
73         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
74         * math/math.h (__MATHDECL_VEC): New macro.
75         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
76         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
77         declaration under condition.
78         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
79         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
80         TEST_VEC_LOOP change.
81         * math/test-double-vlen4.h: Likewise.
82         * math/test-double-vlen8.h: Likewise.
83         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
84         * math/test-float-vlen4.h: Likewise.
85         * math/test-float-vlen8.h: Likewise.
86         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
87         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
88         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
89         * sysdeps/x86_64/fpu/Versions: New versions added.
90         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
91         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
92         Added build of SSE, AVX2 and AVX512 IFUNC versions.
93         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
94         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
95         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
96         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
97         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
98         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
99         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
100         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
101         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
102         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
103         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
104         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
105         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
106         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
107         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
109         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
110         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
111         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
112         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
113         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
115         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
116         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
117         redirections for powf.
118         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
119         * sysdeps/x86_64/fpu/Versions: New versions added.
120         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
121         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
122         Added build of SSE, AVX2 and AVX512 IFUNC versions.
123         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
124         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
125         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
126         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
127         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
128         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
130         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
131         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
132         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
133         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
134         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
135         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
136         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
137         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
138         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
139         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
140         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
141         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
142         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
143         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
144         * math/test-float-vlen16.h: Fixed 2 argument macro.
145         * math/test-float-vlen4.h: Likewise.
146         * math/test-float-vlen8.h: Likewise.
147         * NEWS: Mention addition of x86_64 vector powf.
149 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
151         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
152         and redefine.
153         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
154         and redefine.
155         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
156         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
157         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
159         [BZ #18553]
160         * resource/getpriority.c (getpriority): Rename to __getpriority
161         and define as weak alias of __getpriority.
162         * resource/setpriority.c (setpriority): Rename to __setpriority
163         and define as weak alias of __setpriority.
164         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
165         __getpriority and define as weak alias of __getpriority.
166         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
167         __setpriority and define as weak alias of __setpriority.
168         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
169         strong name.
170         (setpriority): Use __setpriority as strong name.
171         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
172         __getpriority and define as weak alias of __getpriority.
173         * include/sys/resource.h (__getpriority): Declare.  Use
174         libc_hidden_proto.
175         (__setpriority): Likewise.
176         (getpriority): Don't use libc_hidden_proto.
177         (setpriority): Likewise.
178         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
179         getpriority.  Call __setpriority instead of setpriority.
180         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
181         Remove variable.
183         [BZ #18547]
184         * misc/getttyent.c (getttynam): Rename to __getttynam and define
185         as weak alias of __getttynam.  Use prototype function definition.
186         Call __setttyent, __getttyent and __endttyent instead of
187         setttyent, getttyent and endttyent.
188         (getttyent): Rename to __getttyent and define as weak alias of
189         __getttyent.  Call __setttyent instead of setttyent.  Call
190         __fgets_unlocked instead of fgets_unlocked.
191         (setttyent): Rename to __setttyent and define as weak alias of
192         __setttyent.
193         (endttyent): Rename to __endttyent and define as weak alias of
194         __endttyent.
195         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
196         (__setttyent): Likewise.
197         (__endttyent): Likewise.
198         (getttyent): Don't use libc_hidden_proto.
199         (setttyent): Likewise.
200         (endttyent): Likewise.
201         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
202         __endttyent instead of setttyent, getttyent and endttyent.
203         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
204         Remove variable.
206         [BZ #18546]
207         * socket/recv.c (__recv): Use libc_hidden_def.
208         * socket/socket.c (__socket): Likewise.
209         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
210         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
211         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
212         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
213         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
214         libc_hidden_def.
215         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
216         libc_hidden_weak.
217         * include/sys/socket.h (__socket): Do not use attribute_hidden.
218         Use libc_hidden_proto.
219         (__recv): Likewise.
220         * socket/Versions (libc): Export __recv and __socket at version
221         GLIBC_PRIVATE.
222         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
223         instead of recv.
224         (init_mq_netlink): Call __socket instead of socket.
225         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
226         Remove variable.
228         [BZ #18545]
229         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
230         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
231         hidden_weak.
232         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
233         define as alias of __mq_timedsend.  Use hidden_weak.
234         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
235         __mq_timedsend as strong name.
236         (mq_timedreceive): Use __mq_timedreceive as strong name.
237         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
238         (__mq_timedreceive): Likewise.
239         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
240         __mq_timedreceive instead of mq_timedreceive.
241         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
242         instead of mq_timedsend.
243         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
244         Remove variable.
246         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
247         hidden_def and hidden_weak instead of libc_hidden_def and
248         libc_hidden_weak.
249         (top level): Refer to hidden_def in comment.
250         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
251         macro.  Use it instead of libc_hidden_def.
252         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
253         specify __GI_* name explicitly.
254         (mq_timedreceive): Likewise.
255         (mq_setattr): Likewise.
257         [BZ #18544]
258         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
259         __pthread_barrier_init and define as weak alias of
260         __pthread_barrier_init.
261         * sysdeps/sparc/nptl/pthread_barrier_init.c
262         (pthread_barrier_init): Likewise.
263         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
264         __pthread_barrier_wait and define as weak alias of
265         __pthread_barrier_wait.
266         * sysdeps/sparc/nptl/pthread_barrier_wait.c
267         (pthread_barrier_wait): Likewise.
268         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
269         (pthread_barrier_wait): Likewise.
270         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
271         (pthread_barrier_wait): Likewise.
272         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
273         (pthread_barrier_wait): Likewise.
274         * nptl/Versions (libpthread): Export __pthread_barrier_init and
275         __pthread_barrier_wait at version GLIBC_PRIVATE.
276         * include/pthread.h (__pthread_barrier_init): Declare.
277         (__pthread_barrier_wait): Likewise.
278         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
279         Call __pthread_barrier_wait instead of pthread_barrier_wait.
280         (helper_thread): Likewise.
281         (init_mq_netlink): Call __pthread_barrier_init instead of
282         pthread_barrier_init.
284         [BZ #18542]
285         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
286         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
287         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
288         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
289         vswscanf.
290         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
291         Remove variable.
293         [BZ #18540]
294         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
295         strong alias of _IO_fflush.  Use libc_hidden_def.
296         * libio/iofflush_u.c (fflush_unlocked): Rename to
297         __fflush_unlocked and define as weak alias of __fflush_unlocked.
298         Use libc_hidden_weak.
299         * include/stdio.h (__fflush_unlocked): Declare.  Use
300         libc_hidden_proto.
301         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
302         fflush_unlocked.
303         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
304         Remove variable.
306         [BZ #18539]
307         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
308         define as weak alias of __addseverity.
309         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
310         Remove variable.
311         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
312         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
313         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
315         [BZ #18536]
316         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
317         (__tfind): Likewise.
318         (__tdelete): Likewise.
319         (__twalk): Likewise.
320         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
321         __twalk to GLIBC_PRIVATE.
322         * include/search.h (__tsearch): Use libc_hidden_proto.
323         (__tfind): Likewise.
324         (__tdelete): Likewise.
325         (__twalk): Likewise.
326         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
327         Call __tdelete instead of tdelete.
328         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
329         tfind.  Call __tsearch instead of tsearch.
330         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
331         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
332         Remove variable.
333         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
335         [BZ #18534]
336         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
337         (dprintf): Define as a weak alias of __dprintf, not a strong
338         alias.
339         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
340         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
341         dprintf.
342         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
343         Remove variable.
344         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
345         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
347         [BZ #18533]
348         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
349         not a strong alias.
350         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
351         Remove variable.
353         [BZ #18532]
354         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
355         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
356         (in6addr_loopback): Rename to __in6addr_loopback and define as
357         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
358         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
359         libc_hidden_proto.
360         (__in6addr_any): Likewise.
361         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
362         in6addr_any.
363         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
364         variable.
365         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
367 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
369         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
370         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
371         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
372         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
373         redirections for pow.
374         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
375         * sysdeps/x86_64/fpu/Versions: New versions added.
376         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
377         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
378         build of SSE, AVX2 and AVX512 IFUNC versions.
379         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
380         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
381         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
382         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
383         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
384         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
385         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
386         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
387         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
388         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
389         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
390         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
391         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
392         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
393         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
394         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
395         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
396         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
397         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
398         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
399         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
400         * NEWS: Mention addition of x86_64 vector pow.
402         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
403         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
404         redirections for expf.
405         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
406         * sysdeps/x86_64/fpu/Versions: New versions added.
407         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
408         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
409         build of SSE, AVX2 and AVX512 IFUNC versions.
410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
412         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
413         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
414         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
415         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
416         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
417         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
418         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
419         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
420         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
421         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
422         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
423         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
424         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
425         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
426         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
427         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
428         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
429         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
430         * NEWS: Mention addition of x86_64 vector expf.
432         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
433         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
434         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
435         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
436         redirections for exp.
437         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
438         * sysdeps/x86_64/fpu/Versions: New versions added.
439         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
440         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
441         build of SSE, AVX2 and AVX512 IFUNC versions.
442         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
443         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
444         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
445         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
446         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
447         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
448         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
449         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
450         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
451         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
452         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
453         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
454         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
455         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
456         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
457         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
458         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
459         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
460         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
461         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
462         * NEWS: Mention addition of x86_64 vector exp.
464         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
465         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
466         redirections for logf.
467         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
468         * sysdeps/x86_64/fpu/Versions: New versions added.
469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
470         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
471         build of SSE, AVX2 and AVX512 IFUNC versions.
472         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
474         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
475         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
476         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
478         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
479         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
480         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
481         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
482         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
483         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
484         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
485         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
486         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
487         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
488         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
489         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
490         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
491         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
492         * NEWS: Mention addition of x86_64 vector logf.
494         * bits/libm-simd-decl-stubs.h: Added stubs for log.
495         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
496         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
497         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
498         redirections for log.
499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
500         * sysdeps/x86_64/fpu/Versions: New versions added.
501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
503         build of SSE, AVX2 and AVX512 IFUNC versions.
504         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
505         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
506         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
507         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
508         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
509         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
510         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
511         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
512         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
513         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
514         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
515         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
516         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
517         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
518         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
520         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
521         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
522         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
523         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
524         * NEWS: Mention addition of x86_64 vector log.
526 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
528         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
529         cfi_adjust_cfa_offset argument.
530         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
531         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
533         [BZ #18034]
534         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
535         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
536         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
537         ordering using ldar.
538         (_dl_tlsdesc_dynamic): Likewise.
539         (_dl_tlsdesc_return_lazy): Likewise.
540         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
541         relaxed atomics instead of volatile and synchronize with release store.
542         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
543         volatile.
544         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
546 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
548         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
549         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
550         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
551         * sysdeps/x86_64/fpu/Versions: New versions added.
552         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
553         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
554         build of SSE, AVX2 and AVX512 IFUNC versions.
555         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
556         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
557         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
560         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
561         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
562         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
563         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
564         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
565         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
566         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
567         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
568         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
569         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
570         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
572         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
573         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
574         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
575         * NEWS: Mention addition of x86_64 vector sinf.
577 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
579         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
580         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
581         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
582         Remove variable.
583         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
584         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
586 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
588         [BZ #18530]
589         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
590         strong alias of _IO_fputs.  Use libc_hidden_def.
591         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
592         and define as weak alias of __fputs_unlocked.  Use
593         libc_hidden_weak.
594         * include/stdio.h (__fputs_unlocked): Declare.  Use
595         libc_hidden_proto.
596         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
597         fputs_unlocked.
599         [BZ #18529]
600         * resolv/netdb.h [__USE_POSIX]: Change condition to
601         [__USE_XOPEN2K].
602         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
603         not expect.
604         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
605         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
606         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
607         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
608         [XPG4 || UNIX98] (AI_ALL): Likewise.
609         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
610         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
611         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
612         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
613         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
614         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
615         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
616         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
617         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
618         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
619         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
620         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
621         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
622         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
623         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
624         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
625         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
626         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
627         [XPG4 || UNIX98] (gai_strerror): Likewise.
628         [XPG4 || UNIX98] (getaddrinfo): Likewise.
629         [XPG4 || UNIX98] (getnameinfo): Likewise.
631         [BZ #18528]
632         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
633         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
634         __USE_XOPEN2K8].
635         (getgrent): Likewise.
636         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
637         expect.
638         [XPG3 || POSIX2008] (endgrent): Likewise.
639         [XPG3] (setgrent): Likewise.
640         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
641         variable.
642         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
644         [BZ #18527]
645         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
646         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
647         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
648         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
649         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
650         * include/unistd.h (__getlogin_r): Declare.  Use
651         libc_hidden_proto.
652         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
653         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
654         variable.
655         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
656         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
657         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
659 2015-06-12  Martin Sebor  <msebor@redhat.com>
661         [BZ #18512]
662         * Makerules (check-install-supported): New target.
663         (install): Add check-install-supported as a dependency.
664         * manual/install.texi (Installing the C Library): Document
665         that overriding prefix and exec_prefix is not supported.
666         Mention DESTDIR.
667         * INSTALL: Regenerate from the above.
669 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
671         [BZ #18519]
672         * posix/Versions (libc): Export __libc_pread at version
673         GLIBC_PRIVATE.
674         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
675         instead of pread.
676         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
677         variable.
679         [BZ #18522]
680         * misc/efgcvt_r.c
681         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
682         (cvt_symbol): Use weak_alias instead of strong_alias.
683         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
684         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
685         Remove variable.
686         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
687         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
689         [BZ #18520]
690         * inet/herrno.c (h_errno): Rename to __h_errno.
691         (__libc_h_errno): Define as alias of __h_errno not h_errno.
692         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
693         to __h_errno instead of h_errno.
694         * nptl/herrno.c (h_errno): Rename to __h_errno.
695         (__h_errno_location): Refer to __h_errno not h_errno.
696         * resolv/Versions (h_errno): Rename to __h_errno.
697         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
698         Remove variable.
699         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
701 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
703         * configure.ac: More strict check for AVX512 assembler support.
704         * configure: Regenerated.
706         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
707         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
708         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
709         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
710         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
711         * sysdeps/x86_64/fpu/Versions: New versions added.
712         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
713         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
714         build of SSE, AVX2 and AVX512 IFUNC versions.
715         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
716         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
717         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
718         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
719         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
721         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
722         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
723         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
724         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
725         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
726         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
727         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
728         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
729         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
730         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
731         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
732         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
733         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
734         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
735         * NEWS: Mention addition of x86_64 vector sin.
737 2015-06-11  Florian Weimer  <fweimer@redhat.com>
739         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
740         comment.
742 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
744         [BZ #18479]
745         * nptl/pt-interp.c: New file.
746         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
747         Add pt-interp.
748         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
749         $(common-objpfx)runtime-linker.h.
751 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
753         * Makeconfig (+interp): Remove unused variable.
754         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
755         only.  Depend on $(common-objpfx)runtime-linker.h instead of
756         $(elf-objpfx)runtime-linker.h.
757         ($(elf-objpfx)runtime-linker.h): Rename to
758         $(common-objpfx)runtime-linker.h and move ...
759         * Makerules [$(build-shared) = yes]: ... here.
760         * elf/interp.c: Include <runtime-linker.h> instead of
761         <elf/runtime-linker.h>.
763 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
765         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
766         (__gettimeofday_syscall): Remove vsyscall fallback.
767         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
768         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
769         Add syscall fallback function.
770         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
771         if vDSO is not present.
772         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
773         fallback function.
774         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
775         present.
776         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
777         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
779 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
781         [BZ #18497]
782         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
783         of wcscmp.
784         (wcscmp): Define as weak alias of WCSCMP.
785         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
786         wcscoll.
787         (USE_HIDDEN_DEF): Define.
788         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
789         __wcscoll.  Don't use libc_hidden_weak.
790         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
791         wcscmp.
792         * sysdeps/i386/i686/multiarch/wcscmp-c.c
793         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
794         __GI_wcscmp.
795         (weak_alias): Undefine and redefine.
796         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
797         __wcscmp and define as weak alias of __wcscmp.
798         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
799         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
800         (__wcscoll): Likewise.
801         (wcscmp): Don't use libc_hidden_proto.
802         (wcscoll): Likewise.
803         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
804         wcscoll.
805         * posix/regexec.c (check_node_accept_bytes): Likewise.
806         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
807         variable.
808         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
809         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
811         [BZ #18507]
812         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
813         __fstatvfs and define as weak alias of __fstatvfs.  Use
814         libc_hidden_weak.
815         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
816         and define as weak alias of __statvfs.  Use libc_hidden_weak.
817         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
818         Define as alias of __fstatvfs, not fstatvfs.
819         (fstatvfs64): Likewise.
820         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
821         Define as alias of __statvfs, not statvfs.
822         (statvfs64): Likewise.
823         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
824         Remove variable.
826 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
829         (HAVE_GETCPU_VSYSCALL): Define.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
831         (HAVE_GETCPU_VSYSCALL): Likewise.
832         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
833         * sysdeps/unix/sysv/linux/sched_getcpu.c
834         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
835         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
836         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
837         prototype.
838         * sysdeps/unix/sysv/linux/x86_64/init-first.c
839         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
840         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
842         Define.
843         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
844         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
848 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
850         * sysdeps/x86_64/fpu/Makefile: New file.
851         * sysdeps/x86_64/fpu/Versions: New file.
852         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
853         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
854         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
855         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
856         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
857         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
858         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
859         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
860         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
861         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
863         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
864         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
865         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
866         build of SSE, AVX2 and AVX512 IFUNC versions.
867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
868         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
869         * sysdeps/x86_64/configure.ac: Options for libmvec build.
870         * sysdeps/x86_64/configure: Regenerated.
871         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
872         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
873         * manual/install.texi (Configuring and compiling): Document
874         --disable-mathvec.
875         * INSTALL: Regenerated.
876         * NEWS: Mention addition of libmvec and x86_64 vector cos.
878         * math/Makefile: Added rules for vector tests.
879         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
880         declaration under condition.
881         * math/test-double-vlen2.h: New file.
882         * math/test-double-vlen4.h: New file.
883         * math/test-double-vlen8.h: New file.
884         * math/test-vec-loop.h: Added initialization macro.
885         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
887         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
888         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
889         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
890         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
891         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
892         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
893         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
894         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
895         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
897         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
898         * sysdeps/x86_64/fpu/Versions: New versions added.
899         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
900         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
901         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
902         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
903         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
904         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
906         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
907         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
908         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
909         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
910         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
911         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
912         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
913         build of SSE, AVX2 and AVX512 IFUNC versions.
914         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
915         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
916         * NEWS: Mention addition of x86_64 vector cosf.
918         * math/Makefile: Added CFLAGS for new tests.
919         * math/test-float-vlen16.h: New file.
920         * math/test-float-vlen4.h: New file.
921         * math/test-float-vlen8.h: New file.
922         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
923         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
924         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
925         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
926         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
927         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
928         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
931         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
932         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
934 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
936         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
937         * locale/programs/ld-ctype.c: Likewise.
939 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
941         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
942         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
943         bit_ZMM16_31_state): New macro.
944         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
945         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
947 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
949         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
951 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
953         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
955 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
957         [BZ #18498]
958         * libio/memstream.c (open_memstream): Rename to __open_memstream
959         and define as weak alias of __open_memstream.
960         * include/stdio.h (__open_memstream): Declare.  Use
961         libc_hidden_proto.
962         (open_memstream): Don't use libc_hidden_proto.
963         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
964         open_memstream.
965         * posix/getopt.c (_getopt_internal_r): Likewise.
966         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
967         variable.
968         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
969         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
970         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
972         [BZ #18496]
973         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
974         instead of wcrtomb.
976         [BZ #18483]
977         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
978         [__USE_XOPEN2K8].  Remove redundant #endif.
979         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
980         Remove redundant #if.
981         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
982         Remove variable.
983         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
984         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
986         [BZ #18495]
987         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
988         (__iswlower): Likewise.
989         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
990         (__iswlower): Likewise.
991         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
992         instead of towlower.
993         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
994         instead of iswlower.  Call __towupper instead of towupper.
995         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
996         instead of iswalnum.
998 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1000         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
1001         errors to stderr.
1003 2015-06-05  Florian Weimer  <fweimer@redhat.com>
1005         [BZ #15661]
1006         [BZ #17322]
1007         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
1008         Check for overflow properly.  Check for O_APPEND.  Ignore large
1009         file system block sizes.  Add comments about problems.
1010         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
1011         * manual/filesys.texi (Storage Allocation): New node.
1013 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1015         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1016         cancellable syscalls.
1017         (SYS_ify): Add guard to no redefine it.
1018         (INLINE_SYSCALL): Likewise.
1019         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1020         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1021         SYSCALL_CANCEL instead.
1022         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1023         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1024         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1025         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1026         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1027         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1028         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1029         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1030         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1031         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1032         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1033         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1034         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1035         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1036         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1037         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1040         (__libc_pread64): Likewise.
1041         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1042         (__libc_preadv): Likewise.
1043         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1044         (__libc_readv64): Likewise.
1045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1046         (__libc_pwrite): Likewise.
1047         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1048         (__libc_pwrite64): Likewise.
1049         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1050         (__libc_pwritev): Likewise.
1051         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1052         (__libc_pwritev64): Likewise.
1053         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1054         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1055         (sync_file_range): Likewise.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1057         Likewise.
1058         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1059         Likewise.
1060         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1061         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1062         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1063         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1064         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1065         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1066         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1067         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1069         Likewise.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1071         (__libc_read64): Likewise.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1073         Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1075         Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1079         Likewise.
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1081         (__libc_pread64): Likewise.
1082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1083         Likewise.
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1085         (__libc_pwrite64): Likewise.
1086         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1087         (sync_file_range): Likewise.
1088         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1089         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1090         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1091         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1092         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1093         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1094         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1095         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1096         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1097         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1098         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1099         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1100         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1101         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1102         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1103         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1104         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1105         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1107         Likewise.
1108         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1109         Likewise.
1110         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1111         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1112         Likewise.
1113         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1114         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1115         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1116         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1119         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1120         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1121         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1122         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1124 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1126         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1127         Include dl-vdso.
1128         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1129         Use VDSO routines for gettimeofday, clock_gettime if
1130         available.
1131         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1132         Declare VDSO symbols.
1133         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1134         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1135         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1136         * sysdeps/unix/sysv/linux/arm/Versions: Add
1137         __vdso_clock_gettime.
1139 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1141         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1142         be an inline implementation regardless of library is built within.
1143         (open_not_cancel_2): Likewise.
1144         (__read_nocancel): Likewise.
1145         (__write_nocancel): Likewise.
1146         (openat_not_cancel): Likewise.
1147         (openat_not_cancel_3): Likewise.
1148         (openat64_not_cancel): Likewise.
1149         (openat64_not_cancel_3): Likewise.
1150         (__close_nocancel): Likewise.
1151         (pause_not_cancel): Likewise.
1152         (nanosleep_not_cancel): Likewise.
1153         (sigsuspend_not_cancel): Likewise.
1155 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1157         [BZ #14958]
1158         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1159         wake-up.
1160         (__pthread_rwlock_rdlock_slow): Likewise.
1161         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1162         Likewise.
1163         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1164         Likewise.
1165         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1166         * nptl/tst-rwlock16.c: New file.
1167         * nptl/Makefile (tests): Add new test.
1169 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1171         [BZ #18324]
1172         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1173         missing wake-up of readers.
1174         * nptl/tst-rwlock15.c: New file.
1175         * nptl/Makefile (tests): Add new test.
1177 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1179         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1180         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1181         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1182         and __nacl_supply_interface_rtld.
1183         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1184         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1185         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1186         Add __nacl_supply_interface_rtld.
1187         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1189 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1191         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1192         isfinite.
1193         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1194         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1196 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1198         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1199         __signbit* with standard C99 macros.
1200         * math/e_exp10l.c: Likewise.
1201         * math/e_exp2l.c: Likewise.
1202         * math/e_scalb.c: Likewise.
1203         * math/e_scalbf.c: Likewise.
1204         * math/e_scalbl.c: Likewise.
1205         * math/s_ldexp.c: Likewise.
1206         * math/s_ldexpf.c: Likewise.
1207         * math/s_ldexpl.c: Likewise.
1208         * math/w_atan2.c: Likewise.
1209         * math/w_atan2f.c: Likewise.
1210         * math/w_atan2l.c: Likewise.
1211         * math/w_cosh.c: Likewise.
1212         * math/w_coshf.c: Likewise.
1213         * math/w_coshl.c: Likewise.
1214         * math/w_exp10.c: Likewise.
1215         * math/w_exp10f.c: Likewise.
1216         * math/w_exp10l.c: Likewise.
1217         * math/w_exp2.c: Likewise.
1218         * math/w_exp2f.c: Likewise.
1219         * math/w_exp2l.c: Likewise.
1220         * math/w_fmod.c: Likewise.
1221         * math/w_fmodf.c: Likewise.
1222         * math/w_fmodl.c: Likewise.
1223         * math/w_hypot.c: Likewise.
1224         * math/w_hypotf.c: Likewise.
1225         * math/w_hypotl.c: Likewise.
1226         * math/w_jnl.c: Likewise.
1227         * math/w_lgamma.c: Likewise.
1228         * math/w_lgamma_r.c: Likewise.
1229         * math/w_lgammaf.c: Likewise.
1230         * math/w_lgammaf_r.c: Likewise.
1231         * math/w_lgammal.c: Likewise.
1232         * math/w_lgammal_r.c: Likewise.
1233         * math/w_pow.c: Likewise.
1234         * math/w_powf.c: Likewise.
1235         * math/w_powl.c: Likewise.
1236         * math/w_remainder.c: Likewise.
1237         * math/w_remainderf.c: Likewise.
1238         * math/w_remainderl.c: Likewise.
1239         * math/w_scalb.c: Likewise.
1240         * math/w_scalbf.c: Likewise.
1241         * math/w_scalbl.c: Likewise.
1242         * math/w_scalbln.c: Likewise.
1243         * math/w_scalblnf.c: Likewise.
1244         * math/w_scalblnl.c: Likewise.
1245         * math/w_sinh.c: Likewise.
1246         * math/w_sinhf.c: Likewise.
1247         * math/w_sinhl.c: Likewise.
1248         * math/w_tgamma.c: Likewise.
1249         * math/w_tgammaf.c: Likewise.
1250         * math/w_tgammal.c: Likewise.
1251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1252         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1253         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1257         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1258         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1259         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1260         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1261         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1262         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1263         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1265         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1266         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1268         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1269         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1270         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1271         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1272         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1274         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1276         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1277         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1278         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1279         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1280         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1281         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1282         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1283         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1284         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1285         * stdio-common/printf_fp.c: Likewise.
1286         * stdio-common/printf_fphex.c: Likewise.
1287         * stdio-common/printf_size.c: Likewise.
1289 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1291         [BZ #18470]
1292         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1293         strnlen.
1294         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1295         Remove variable.
1296         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1297         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1298         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1299         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1300         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1301         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1302         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1303         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1304         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1305         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1307         [BZ #18468]
1308         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1309         weak alias of __wmemchr.  Use libc_hidden_weak.
1310         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1311         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1312         instead of wmemchr.
1314 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1316         [BZ #18383]
1317         * elf/tst-tlsalign-extern.c: New file.
1318         * elf/tst-tlsalign-extern-static.c: New file.
1319         * elf/tst-tlsalign-vars.c: New file.
1320         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1321         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1322         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1323         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1324         (test-xfail-tst-tlsalign-extern-static): New variable.
1326 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1328         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1329         Use variable name _sc_err instead of err.
1330         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1331         instead of ret.
1332         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1333         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1334         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1335         (INLINE_SYSCALL): Likewise.
1337         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1338         * include/string.h (__strnlen): Use libc_hidden_proto.
1339         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1340         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1341         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1342         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1343         (libc_hidden_def): Undefine and redefine.
1344         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1345         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1346         __GI_strnlen.
1347         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1348         libc_hidden_def.
1349         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1351         [BZ #18469]
1352         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1353         weak alias of __towlower.  Use libc_hidden_weak.
1354         (towupper): Rename to __towupper and define as weak alias of
1355         __towupper.  Use libc_hidden_weak.
1356         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1357         (__towupper): Likewise.
1358         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1359         __towlower instead of towlower.
1361 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1363         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1364         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1366 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1368         * sysdeps/aarch64/libm-test-ulps: Update.
1370 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1372         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1373         Define.
1374         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1376         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1377         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1378         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1379         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1380         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1382 2015-06-01  Martin Sebor  <msebor@redhat.com>
1384         [BZ #18116]
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1386         (__setcontext): Use extended four-operand version of mtsf whenever
1387         possible.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1389         (__novec_swapcontext): Likewise.
1391 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1393         * benchtests/scripts/compare_bench.py: New file.
1394         * benchtests/scripts/import_bench.py (mean): New function.
1395         (split_list): Likewise.
1396         (do_for_all_timings): Likewise.
1397         (compress_timings): Likewise.
1399         * benchtests/scripts/import_bench.py: New file.
1400         * benchtests/scripts/validate_benchout.py: Import import_bench
1401         instead of jsonschema.
1402         (validate_bench): Remove function.
1403         (main): Use import_bench.
1405 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1407         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1408         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1410 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1414 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1416         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1417         set THREAD_SELF->tid to a magic value and futex-wake it.
1418         Pass its address to the thread_exit system call.
1419         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1420         bit is clear.
1421         * sysdeps/nacl/lowlevellock.h: New file.
1422         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1424         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1425         Add TIMEOUT to current time, don't subtract it.
1427 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1429         [BZ #18422]
1430         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1431         ($(objpfx)tst-audit2.out): Also depend on
1432         $(objpfx)tst-auditmod9b.so.
1433         * elf/tst-audit2.c: Include <dlfcn.h>.
1434         (calloc_called): New.
1435         (calloc): Allow to be called more than once.
1436         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1438 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1440         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1441         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1443 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1445         * stdlib/monetary.h: Fix comment.
1447 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1449         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1450         Avoid using variables in #defines that might cause shadowing.
1451         (INTERNAL_VSYSCALL_CALL): Likewise.
1453 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1455         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1457         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1458         * nptl/lll_timedlock_wait.c: ... to this new file.
1459         * nptl/Makefile (libpthread-routines): Add it.
1460         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1461         * nptl/lll_timedwait_tid.c: ... to this new file.
1462         * nptl/Makefile (libpthread-routines): Add it.
1463         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1464         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1465         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1466         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1467         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1468         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1469         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1470         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1471         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1472         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1474 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1476         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1477         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1478         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1480         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1482         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1483         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1484         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1485         * sysdeps/unix/sysv/linux/tile/sysdep.h
1486         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1487         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1488         using vDSO syscall macro.
1490 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1492         [BZ #17293]
1493         * uk_UA: Fix sorting order for Ukrainian locale
1495 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1497         * stdlib/monetary.h: Fix comment.
1499 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1501         [BZ #18234]
1502         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1503         st_mtim and st_ctim members.
1504         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1505         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1506         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1507         (struct stat64): Likewise.
1508         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1509         (struct stat64): Likewise.
1510         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1511         (struct stat64): Likewise.
1513 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1515         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1516         Define and include sysdep-vdso.h.
1517         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1518         Likewise.
1519         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1520         Likewise.
1521         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1522         Define with VDSO_SYMBOL and use PTR_MANGLE.
1523         (__vdso_clock_gettime): Likewise.
1524         (__vdso_clock_getres): Likewise.
1525         (_libc_vdso_platform_setup): Likewise.
1526         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1527         Likewise.
1528         (_libc_vdso_platform_setup): Likewise.
1529         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1530         Likewise.
1531         (__vdso_clock_gettime): Likewise.
1532         (__vdso_clock_getres): Likewise.
1533         (__vdso_get_tbfreq): Likewise.
1534         (__vdso_getcpu): Likewise.
1535         (__vdso_time): Likewise.
1536         (__vdso_sigtramp_rt64): Likewise.
1537         (__vdso_signtramp32): Likewise.
1538         (__vdso_sigtramp_rt32): Likewise.
1539         (_libc_vdso_platform_setup): Likewise.
1540         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1541         Likewise.
1542         (__vdso_clock_gettime): Likewise.
1543         (__vdso_clock_getres): Likewise.
1544         (_libc_vdso_platform_setup): Likewise.
1545         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1546         Likewise.
1547         (__vdso_clock_gettime): Likewise.
1548         (_libc_vdso_platform_setup): Likewise.
1549         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1550         Likewise.
1551         (__vdso_getcpu): Likewise.
1552         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1553         Use VDSO_SYMBOL macro to define.
1554         (__vdso_clock_gettime): Likewise.
1555         (__vdso_clock_getres): Likewise.
1556         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1557         Likewise.
1558         (__vdso_clock_gettime): Likewise.
1559         (__vdso_clock_getres): Likewise.
1560         (__vdso_get_tbfreq): Likewise.
1561         (__vdso_getcpu): Likewise.
1562         (__vdso_time): Likewise.
1563         (__vdso_sigtramp_rt64): Likewise.
1564         (__vdso_signtramp32): Likewise.
1565         (__vdso_sigtramp_rt32): Likewise.
1566         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1567         Likewise.
1568         (__vdso_clock_gettime): Likewise.
1569         (__vdso_clock_getres): Likewise.
1570         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1571         Likewise.
1572         (__vdso_clock_gettime): Likewise.
1573         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1574         Likewise.
1575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1576         macro.
1577         (INTERNAL_VSYSCALL): Likewise.
1578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1579         Remove macro.
1580         (INTERNAL_VSYSCALL): Likewise.
1581         (INTERNAL_VSYSCALL_NCS): Likewise.
1582         (INTERNAL_VSYSCALL_CALL): New macro.
1583         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1585         Likewise.
1586         (INTERNAL_VSYSCALL): Likewise.
1587         (INTERNAL_VSYSCALL_NCS): Likewise.
1588         (INTERNAL_VSYSCALL_CALL): New macro.
1589         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1591         (INLINE_VSYSCALL): Remove macro.
1592         (INTERNAL_VSYSCALL): Remove macro.
1593         (INTERNAL_VSYSCALL_NCS): Remove macro.
1594         (INTERNAL_VSYSCALL_CALL): New macro.
1595         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1596         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1597         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1598         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1599         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1601         (INLINE_VSYSCALL): Remove macro.
1602         (INTERNAL_VSYSCALL): Likewise.
1603         (INTERNAL_VSYSCALL_NCS): Likewise.
1604         (INTERNAL_VSYSCALL_CALL): New macro.
1605         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1606         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1607         PTR_DEMANGLE on vDSO pointer.
1608         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1609         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1610         macro.
1611         (INTERNAL_SYSCALL): Likewise.
1612         (INTERNAL_VSYSCALL_NCS): Remove macro.
1613         (INTERNAL_VSYSCALL_CALL): New macro.
1614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1615         Remove macro.
1616         (INTERNAL_VSYSCALL): Likewise.
1617         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1618         sysdep-vdso.h instead of libc-vdso.h.
1619         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1620         definition.
1621         (INLINE_VSYSCALL): Likewise.
1622         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1623         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1624         definition.
1625         (INLINE_VSYSCALL): Likewise.
1626         (INTERNAL_VSYSCALL): Likewise.
1627         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1628         * sysdeps/unix/sysv/linux/timespec_get.c
1629         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1630         (timespec_get): Use ANSI prototype.
1631         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1632         and definition for Linux.
1634 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1636         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1637         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1639 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1641         [BZ #18410]
1642         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1643         for missing DT_PLTRELSZ.
1645 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1647         Remove obsolete aliases that broke 'locale -a'
1648         [BZ #18412]
1649         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1650         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1651         breaking some applications that use 'locale -a' output.
1652         Change the encoding of this file from Latin-1 to ASCII to avoid
1653         other potential problems with people grepping this file.
1655 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1657         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1658         -fasynchronous-unwind-tables.
1659         (CFLAGS-sendto.c): Likewise.
1660         (CFLAGS-sendmsg.c): Likewise.
1661         (CFLAGS-connect.c): Likewise.
1662         (CFLAGS-recvmsg.c): Likewise.
1663         (CFLAGS-recvfrom.c): Likewise.
1664         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1665         (SOCKETCALL): New macro: non-cancellable socketcall.
1666         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1667         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1668         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1669         * sysdeps/unix/sysv/linux/accept.c: New file.
1670         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1671         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1672         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1673         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1674         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1675         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1676         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1677         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1678         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1679         * sysdeps/unix/sysv/linux/send.c: Likewise.
1680         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1681         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1682         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1683         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1684         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1685         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1686         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1687         prototype.
1688         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1689         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1690         instead of __internal_xxx function.
1691         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1692         prototype.
1693         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1694         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1695         instead of __internal_xxx function.
1696         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1697         prototype.
1698         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1699         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1700         instead of __internal_xxx function.
1701         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1702         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1703         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1704         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1705         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1706         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1707         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1708         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1709         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1710         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1711         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1712         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1713         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1714         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1715         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1716         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1717         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1718         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1719         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1720         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1723         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1724         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1725         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1726         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1727         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1728         * sysdeps/unix/sysv/linux/send.S: Likewise.
1729         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1730         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1731         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1732         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1733         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1734         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1735         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1736         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1737         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1738         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1739         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1740         socketcall is implemented in GLIBC.
1742 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1744         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1745         (__fma): Ignore uninitialized warnings around packing.
1746         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1747         (__fmaf): Ignore uninitialized warnings around packing.
1748         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1749         (__fmal): Ignore uninitialized warnings around packing.
1751         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1752         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1753         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1754         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1756         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1757         switch statement into default case.
1758         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1760         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1761         a conditional in forcing "inexact".
1762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1763         Likewise.
1765 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1767         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1768         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1769         for each INTERNAL_SYSCALL use.
1771 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1773         [BZ #438]
1774         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1775         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1776         variable.
1778         [BZ #18444]
1779         * string/basename.c (basename): Rename to __basename and define as
1780         weak alias of __basename.  Use libc_hidden_weak.
1781         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1782         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1783         __basename instead of basename.
1784         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1785         Remove variable.
1786         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1788 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1790         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1791         (_IO_JUMPS_FILE_plus): New.
1792         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1793         _IO_CAST_FIELD_ACCESS.
1794         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1795         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1796         * libio/freopen.c (freopen): Likewise.
1797         * libio/freopen64.c (freopen64): Likewise.
1798         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1799         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1800         * libio/iofwide.c (_IO_fwide): Likewise.
1801         * libio/memstream.c (open_memstream): Likewise.
1802         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1803         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1804         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1806 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1808         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1809         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1810         NADJ.
1811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1812         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1813         NADJ.
1814         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1815         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1816         NADJ.
1818         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1819         (p == 4) case.
1821         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1822         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1823         Remove variable.
1824         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1825         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1826         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1828 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1830         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1831         Adjust jump table label generation macros.
1833 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1835         * stdio-common/vfprintf.c (vfprintf): Move local variables
1836         args_malloced, specs, specs_malloced, and the code after
1837         do_positional to the printf_positional function.
1838         (printf_positional): New function.
1840 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1842         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1843         function.
1844         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1845         STEP4_TABLE, process_arg): Move macro definitions
1846         out of the vfprintf function.  (Cosmetic change only.)
1848 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1850         * benchtests/Makefile (stdio-common-bench): Define.
1851         (benchset): Add stdio-common-bench.
1852         * sprintf-inputs: New file.
1853         * sprintf-source.c: New file.
1855 2015-05-21  Andreas Schwab  <schwab@suse.de>
1857         [BZ #13028]
1858         [BZ #17053]
1859         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1860         of struct __res_state.
1861         * resolv/res_send.c (__libc_res_nsend): Likewise.
1862         (get_nsaddr): New function.
1863         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1864         statp directly.
1866 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1868         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1869         -D_POSIX_C_SOURCE=199506L.
1871         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1873         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1874         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1875         Do not mention otherwise.
1876         [POSIX] (_XOPEN_VERSION): Do not expect.
1877         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1878         [POSIX] (_POSIX2_C_BIND): Likewise.
1879         [POSIX] (_POSIX2_VERSION): Likewise.
1880         [POSIX] (_XOPEN_XPG2): Likewise.
1881         [POSIX] (_XOPEN_XPG3): Likewise.
1882         [POSIX] (_XOPEN_XPG4): Likewise.
1883         [POSIX] (_XOPEN_UNIX): Likewise.
1884         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1885         [POSIX] (_POSIX_BARRIERS): Likewise.
1886         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1887         [POSIX] (_POSIX_CPUTIME): Likewise.
1888         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1889         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1890         [POSIX] (_POSIX_SHELL): Likewise.
1891         [POSIX] (_POSIX_SPAWN): Likewise.
1892         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1893         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1894         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1895         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1896         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1897         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1898         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1899         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1900         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1901         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1902         [POSIX] (_POSIX2_PBS): Likewise.
1903         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1904         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1905         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1906         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1907         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1908         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1909         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1910         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1911         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1912         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1913         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1914         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1915         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1916         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1917         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1918         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1919         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1920         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1921         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1922         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1923         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1924         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1925         [POSIX] (_SC_2_C_BIND): Likewise.
1926         [POSIX] (_SC_2_C_VERSION): Likewise.
1927         [POSIX] (_SC_2_PBS): Likewise.
1928         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1929         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1930         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1931         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1932         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1933         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1934         [POSIX] (_SC_BARRIERS): Likewise.
1935         [POSIX] (_SC_BASE): Likewise.
1936         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1937         [POSIX] (_SC_DEVICE_IO): Likewise.
1938         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1939         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1940         [POSIX] (_SC_FD_MGMT): Likewise.
1941         [POSIX] (_SC_FIFO): Likewise.
1942         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1943         [POSIX] (_SC_FILE_LOCKING): Likewise.
1944         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1945         [POSIX] (_SC_IOV_MAX): Likewise.
1946         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1947         [POSIX] (_SC_NETWORKING): Likewise.
1948         [POSIX] (_SC_PAGE_SIZE): Likewise.
1949         [POSIX] (_SC_PASS_MAX): Likewise.
1950         [POSIX] (_SC_PIPE): Likewise.
1951         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1952         [POSIX] (_SC_REGEXP): Likewise.
1953         [POSIX] (_SC_SHELL): Likewise.
1954         [POSIX] (_SC_SIGNALS): Likewise.
1955         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1956         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1957         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1958         [POSIX] (_SC_USER_GROUPS): Likewise.
1959         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1960         [POSIX] (_SC_STREAMS): Likewise.
1961         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1962         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1963         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1964         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1965         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1966         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1967         [POSIX] (_PC_FILESIZEBITS): Likewise.
1968         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1969         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1970         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1971         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1972         [POSIX] (uid_t): Likewise.
1973         [POSIX] (gid_t): Likewise.
1974         [POSIX] (off_t): Likewise.
1975         [POSIX] (pid_t): Likewise.
1976         [POSIX] (cuserid): Allow.
1977         (_SC_2_CHAR_TERM): Require constant.
1978         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1979         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1980         variable.
1982 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1984         * sysdeps/nacl/pthread-pids.h: New file.
1985         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1986         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1988         * nptl/pthread-pids.h: New file.
1989         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1990         * nptl/nptl-init.c: Include <pthread-pids.h>.
1991         (__pthread_initialize_minimal_internal):
1992         Call __pthread_initialize_pids instead of set_tid_address syscall.
1994         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1995         * sysdeps/posix/usleep.c: ... here.
1997 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1999         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
2000         call_pselect6 object.
2001         [$(subdir) = io]: Remove call_sync_file_range object.
2002         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
2003         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
2004         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
2005         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
2007 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
2009         * math/s_cproj.c: Add include "math_private.h".
2010         * math/s_cprojf.c: Likewise.
2011         * math/s_cprojl.c: Likewise.
2013 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2015         [BZ #18244]
2016         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2017         high mantissa bit when testing whether P is a NaN.
2018         * math/libm-test.inc (remainder_test_data): Add more tests.
2019         (remquo_test_data): Likewise.
2021         [BZ #18049]
2022         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2023         below -32, return the argument, with underflow if subnormal.
2024         * math/auto-libm-test-in: Add more tests of atanh.
2025         * math/auto-libm-test-out: Regenerated.
2027 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2029         [BZ #18434]
2030         * nptl/tst-sem15.c: New file.
2031         * nptl/Makefile (tests): Add it.
2032         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2033         s/<</>>/ to fix typo in EOVERFLOW check.
2034         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2036 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2038         * manual/strings.texi (envz_remove): Fix typo in safety
2039         annotations.
2041 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2042             Steve Ellcey  <sellcey@imgtec.com>
2044         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2045         in order to avoid strict alias warnings.
2046         (iruserok_af): Ditto for ra.
2048 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2050         [BZ #17581]
2051         * malloc/hooks.c
2052         (magicbyte): Convert to a function and avoid returning 0x01.
2053         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2054         (mem2chunk_check): Fix unsigned comparisons to zero.
2055         Hoist defs of sz and magic.
2057 2015-05-19  Richard Henderson  <rth@redhat.com>
2059         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2061         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2063 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2065         [BZ #16159]
2066         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2067         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2068         (reused_arena): Find a non-corrupt arena.
2069         (heap_trim): Pass arena to unlink.
2070         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2071         malloc_printerr.
2072         (top_check): Likewise.
2073         (free_check): Likewise.
2074         (realloc_check): Likewise.
2075         * malloc/malloc.c (malloc_printerr): Add arena argument.
2076         (unlink): Likewise.
2077         (munmap_chunk): Adjust.
2078         (ARENA_CORRUPTION_BIT): New macro.
2079         (arena_is_corrupt): Likewise.
2080         (set_arena_corrupt): Likewise.
2081         (sysmalloc): Use mmap if there are no usable arenas.
2082         (_int_malloc): Likewise.
2083         (__libc_malloc): Don't fail if arena_get returns NULL.
2084         (_mid_memalign): Likewise.
2085         (__libc_calloc): Likewise.
2086         (__libc_realloc): Adjust for additional argument to
2087         malloc_printerr.
2088         (_int_free): Likewise.
2089         (malloc_consolidate): Likewise.
2090         (_int_realloc): Likewise.
2091         (_int_memalign): Don't touch corrupt arenas.
2092         * malloc/tst-malloc-backtrace.c: New test case.
2094         * Makefile (summarize-tests): Fix return value on success.
2096         * manual/string.texi (Envz Functions): Add envz_remove.
2098 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2100         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2101         (invalid_name): New function, broken out of ...
2102         (__opendirat): ... here.  Call it.
2103         (need_isdir_precheck): New function, broken out of ...
2104         (__opendirat): ... here.  Call it.
2105         Use __fxstatat64, not __xstatat64.
2106         (opendir_oflags): New function, broken out of ...
2107         (__opendirat): ... here.  Call it.
2108         (opendir_tail): New function, broken out of ...
2109         (__opendirat): ... here.  Call it.
2110         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2111         opendir_tail, rather than punting to __opendirat.
2112         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2114 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2116         * .gitignore: Ignore generated *.pyc.
2118 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2120         * include/stdio.h: Define __need_wint_t.
2121         * test-skeleton.c: Avoid `for' loop initial declaration.
2122         * nptl/tst-initializers1.c: Use test-skeleton.c.
2124 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2126         [BZ #18418]
2127         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2129 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2131         [BZ #16352]
2132         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2133         (__ieee754_atanh): Force underflow exception for results with
2134         small absolute value.
2135         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2136         (__ieee754_atanhf): Force underflow exception for results with
2137         small absolute value.
2138         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2139         (__ieee754_atanh): Force underflow exception for results with
2140         small absolute value.
2141         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2142         (__ieee754_atanhf): Force underflow exception for results with
2143         small absolute value.
2144         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2145         (__ieee754_atanhl): Force underflow exception for results with
2146         small absolute value.
2147         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2148         (__ieee754_atanhl): Force underflow exception for results with
2149         small absolute value.
2150         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2151         (__ieee754_atanhl): Force underflow exception for results with
2152         small absolute value.
2153         * math/auto-libm-test-in: Do not allow missing underflow
2154         exceptions from atanh.
2155         * math/auto-libm-test-out: Regenerated.
2157         [BZ #18221]
2158         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2159         2**-28 as threshold for returning x or +/- 1/x.
2160         * math/auto-libm-test-in: Add more tests of tan.
2161         * math/auto-libm-test-out: Regenerated.
2163         [BZ #18220]
2164         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2165         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2166         * math/auto-libm-test-in: Add another test of lgamma.
2167         * math/auto-libm-test-out: Regenerated.
2169 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2171         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2172         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2173         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2174         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2175         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2176         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2177         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2178         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2180         (log1): Use fabs.  (my_log2): Use fabs.
2181         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2182         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2183         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2184         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2186         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2187         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2188         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2189         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2190         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2191         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2193 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2195         [BZ #18217]
2196         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2197         as threshold for returning 1 - x.
2198         * math/auto-libm-test-in: Add more tests of erfc.
2199         * math/auto-libm-test-out: Regenerated.
2201 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2203         [BZ #18196]
2204         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2205         threshold for large arguments.
2206         * math/auto-libm-test-in: Add another test of atan.
2207         * math/auto-libm-test-out: Regenerated.
2209         [BZ #16339]
2210         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2211         (__log1p): Force underflow exception for results with small
2212         absolute value.
2213         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2214         (__log1pf): Force underflow exception for results with small
2215         absolute value.
2216         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2217         (__log1p): Force underflow exception for results with small
2218         absolute value.
2219         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2220         (__log1pf): Force underflow exception for results with small
2221         absolute value.
2222         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2223         (__log1pl): Force underflow exception for results with small
2224         absolute value.
2225         * math/auto-libm-test-in: Do not allow missing underflow
2226         exceptions from log1p.
2227         * math/auto-libm-test-out: Regenerated.
2229 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2230             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2232         [BZ #16704]
2233         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2235 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2237         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2238         (libmvec): New variable.
2239         * configure.ac: Added option for mathvec build.
2240         * configure: Regenerated.
2241         * mathvec/Depend: New file.
2242         * mathvec/Makefile: New file.
2243         * shlib-versions: Added libmvec.
2244         * math/Makefile: Added rule for libm.so installation.
2246         * bits/math-vector.h: New file.
2247         * bits/libm-simd-decl-stubs.h: New header.
2248         * math/Makefile (headers): Added new header
2249         libm-simd-decl-stubs.h.
2250         * math/math.h (__MATHCALL_VEC): New macro.
2252         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2253         for conditions in testing functions.
2254         * math/Makefile: Added call of libm-have-vector-test.sh.
2255         * math/libm-test.inc (HAVE_VECTOR): New macros.
2257         * math/libm-test.inc: START refactored.
2258         * math/test-double.c (TEST_MATHVEC): Add define.
2259         * math/test-float.c: Likewise.
2260         * math/test-idouble.c: Likewise.
2261         * math/test-ifloat.c: Likewise.
2262         * math/test-ildoubl.c: Likewise.
2263         * math/test-ldouble.c: Likewise.
2264         * sysdeps/generic/math-tests-arch.h
2265         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2266         architecture check.
2268         * math/test-double.c (FUNC_TEST): New macro.
2269         * math/test-float.c: Likewise.
2270         * math/test-idouble.c: Likewise.
2271         * math/test-ifloat.c: Likewise.
2272         * math/test-ildoubl.c: Likewise.
2273         * math/test-ldouble.c: Likewise.
2274         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2276 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2278         * sysdeps/nacl/fdopendir.c: New file.
2280         * dirent/scandir-tail.c: New file.
2281         * dirent/scandir64-tail.c: New file.
2282         * dirent/Makefile (routines): Add them.
2283         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2284         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2285         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2286         [!SCANDIR] (SCANDIR_TAIL): New macro.
2287         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2288         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2289         (SCANDIRAT): Macro removed.
2290         (SCANDIR_TAIL): New macro.
2291         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2292         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2293         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2294         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2295         (READDIR): Macro removed.
2296         (SCANDIR_TAIL): New macro.
2297         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2298         (SCANDIR_TAIL): New macro.
2300         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2301         * dirent/scandir-cancel.c: ... to this new file.
2302         * dirent/Makefile (routines): Add it.
2303         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2304         * sysdeps/unix/sysv/linux/i386/scandir64.c
2305         (SKIP_SCANDIR_CANCEL): Macro removed.
2306         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2308         * dirent/tst-scandir.c: New file.
2309         * dirent/tst-scandir64.c: New file.
2310         * dirent/Makefile (tests): Add them.
2312 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2314         [BZ #18409]
2315         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2317 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2319         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2320         list.
2322 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2324         * benchtests/bench-strcoll.c: New benchmark.
2325         * benchtests/Makefile: Generate locales and run benchmark.
2326         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2327         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2328         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2329         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2330         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2331         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2332         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2333         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2334         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2335         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2336         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2337         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2338         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2339         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2340         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2341         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2342         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2343         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2344         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2345         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2346         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2347         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2348         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2349         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2351 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2353         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2354         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2356 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2358         * posix/uname-values.h: New file.
2359         * posix/uname.c: Include that instead of <config-name.h>.
2360         * sysdeps/nacl/uname-values.h: New file.
2361         * sysdeps/arm/nacl/uname-values.h: New file.
2363 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2365         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2366         splitting into fields.
2368 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2370         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2371         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2372         * locale/localeinfo.h: Add enum collation_encoding_type.
2373         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2374         * programs/ld-collate.c (collate_output): Add encoding type info.
2375         * string/strcoll_l.c (STRDIFF): New function.
2376         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2377         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2379 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2381         [BZ #18397]
2382         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2383         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2384         <fpu_control.h> instead of <math/fpu_control.c>.
2385         * sysdeps/mips/mips32/fpu/Makefile: New file.
2387 2015-05-11  Andreas Schwab  <schwab@suse.de>
2389         [BZ #18007]
2390         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2391         nss_endgrent.
2392         (_nss_compat_endgrent): Call nss_endgrent.
2393         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2394         nss_endpwent.
2395         (_nss_compat_endpwent): Call nss_endpwent.
2396         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2397         needent, call nss_setspent only if non-zero.
2398         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2399         (internal_endspent): Don't call nss_endspent.
2400         (_nss_compat_endspent): Call nss_endspent.
2401         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2402         Remove.  All uses removed.
2403         (internal_setent): Remove parameter stayopen, add parameter
2404         stream.  Use it instead of global variable.
2405         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2406         (internal_endent, internal_getent): Add parameter stream.  Use it
2407         instead of global variable.
2408         (CONCAT(_nss_files_end,ENTNAME))
2409         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2410         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2411         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2412         uses removed.
2413         (internal_setent, internal_endent): Add parameter stream.  Use it
2414         instead of global variable.
2415         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2416         stream.
2417         (get_next_alias): Add parameter stream.
2418         (_nss_files_getaliasent_r): Pass global stream.
2419         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2420         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2421         (_nss_files_gethostbyname4_r): Pass local stream to
2422         internal_setent, internal_getent and internal_endent.  Remove
2423         locking.
2425 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2427         * tst-strfmon1.c (tests): Update expected currency symbol.
2429 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2431         * sysdeps/nacl/gethostname.c: New file.
2433 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2435         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2436         and sinh.
2437         * math/auto-libm-test-out: Regenerated.
2438         * sysdeps/i386/fpu/libm-test-ulps: Update.
2439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2441 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2443         [BZ #18125]
2444         * stdlib/tst-setcontext3.c: New file.
2445         * stdlib/tst-setcontext3.sh: New file.
2446         * stdlib/Makefile (tests): Add tst-setcontext3.
2447         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2448         to verify test program created output file.
2449         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2450         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2451         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2452         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2454 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2456         [BZ #18383]
2457         * elf/tst-tlsalign.c: New file.
2458         * elf/tst-tlsalign-static.c: New file.
2459         * elf/tst-tlsalign-lib.c: New file.
2460         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2461         (tests-static): Add tst-tlsalign-static.
2462         (modules-names): Add tst-tlsalign-lib.
2463         (test-xfail-tst-tlsalign): New variable.
2464         (test-xfail-tst-tlsalign-static): New variable.
2466         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2467         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2469 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2471         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2472         csqrt, erfc, sin and sincos.
2473         * math/auto-libm-test-out: Regenerated.
2474         * sysdeps/i386/fpu/libm-test-ulps: Update.
2475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2477 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2479         * sysdeps/aarch64/libm-test-ulps: Update.
2481 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2483         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2484         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2485         * math/auto-libm-test-out: Regenerated.
2486         * sysdeps/i386/fpu/libm-test-ulps: Update.
2487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2489 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2491         [BZ #18265]
2492         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2493         (wcsncpy): Likewise.
2495 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2497         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2498         Assume __ASSUME_FALLOCATE is always true.
2499         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2500         (__posix_fallocate64_l64): Likweise.
2501         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2502         (posix_fallocate): Likewise.
2503         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2504         (__posix_fallocate64_l64): Likewise.
2505         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2506         [!__ASSUME_FALLOCATE]: Add comment.
2508 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2510         * sysdeps/unix/sysv/linux/i386/Makefile
2511         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2512         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2513         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2514         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2515         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2516         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2517         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2519 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2521         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2522         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2523         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2530         * math/auto-libm-test-in: Add more tests of tgamma.
2531         * math/auto-libm-test-out: Regenerated.
2532         * sysdeps/i386/fpu/libm-test-ulps: Update.
2533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2535         * math/auto-libm-test-in: Add more tests of tanh.
2536         * math/auto-libm-test-out: Regenerated.
2537         * sysdeps/i386/fpu/libm-test-ulps: Update.
2538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2540         * math/auto-libm-test-in: Add more tests of tan.
2541         * math/auto-libm-test-out: Regenerated.
2542         * sysdeps/i386/fpu/libm-test-ulps: Update.
2543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2545         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2546         * math/auto-libm-test-out: Regenerated.
2547         * sysdeps/i386/fpu/libm-test-ulps: Update.
2548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2550         * math/auto-libm-test-in: Add another test of pow.
2551         * math/auto-libm-test-out: Regenerated.
2552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2554         * math/auto-libm-test-in: Add more tests of lgamma.
2555         * math/auto-libm-test-out: Regenerated.
2556         * sysdeps/i386/fpu/libm-test-ulps: Update.
2557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2559         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2560         log1p.
2561         * math/auto-libm-test-out: Regenerated.
2562         * sysdeps/i386/fpu/libm-test-ulps: Update.
2563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2565 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2567         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2568         Elf64_Chdr structs and ELFCOMPRESS constants.
2570 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2572         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2573         expm1.
2574         * math/auto-libm-test-out: Regenerated.
2575         * sysdeps/i386/fpu/libm-test-ulps: Update.
2576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2578         * math/auto-libm-test-in: Add more tests of erf and erfc.
2579         * math/auto-libm-test-out: Regenerated.
2580         * sysdeps/i386/fpu/libm-test-ulps: Update.
2581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2583 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2585         * config.h.in (HAVE_AARCH64_BE): Add.
2587 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2589         * math/auto-libm-test-in: Add more tests of csqrt.
2590         * math/auto-libm-test-out: Regenerated.
2591         * sysdeps/i386/fpu/libm-test-ulps: Update.
2592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2594         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2595         * math/auto-libm-test-out: Regenerated.
2596         * sysdeps/i386/fpu/libm-test-ulps: Update.
2597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2599         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2601 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2603         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2604         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2606         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2607         (euidaccess, eaccess): Define as weak aliases.
2609         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2610         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2611         but __suseconds_t is often 'long int' so some sources assume that
2612         type is being used (e.g. they use %ld to print tv_usec).
2614 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2616         [BZ #18007]
2617         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2618         (CVE-2014-8121)
2619         * nss/tst-nss-getpwent.c: New file.
2620         * nss/Makefile (tests): Add new test.
2622 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #18346]
2625         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2626         exponents less than 48 as cases where high part of mantissa needs
2627         examining to determine whether argument is integral.
2628         * math/libm-test.inc (round_test_data): Add more tests.
2630 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2632         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2634 2015-04-27  David S. Miller  <davem@davemloft.net>
2636         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2637         __tls_get_addr.
2638         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2640 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2642         [BZ#18333]
2643         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2645 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2647         [BZ#18333]
2648         * time/tzset.c (parse_tzname): Return error on memory allocation
2649         failure.
2650         * test-skeleton.c (struct temp_name_list): Change type of name
2651         member to non-const.
2652         (add_temp_file): Create a copy of the file name.
2653         (delete_temp_files): Deallocate memory.
2654         (create_temp_file): Add comment.
2656 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2658         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2659         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2661 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2663         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2664         * sysdeps/arm/configure: Regenerated.
2666 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2668         [BZ #17715]
2669         * time/tzfile.c (__tzfile_read): Check for large values of
2670         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2671         * time/tzset.c (__tzstring_len): New function, based on the old
2672         __tzstring function.
2673         (__tzstring): Call __tzstring_len.
2674         (parse_tzname): New helper function extracted from
2675         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2676         the input string.
2677         (parse_offset): New helper function extracted from
2678         __tzset_parse_tz.  Replace switch with fallthrough with
2679         initialization before sscanf.
2680         (parse_rule): Likewise.
2681         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2682         new-style function definition.
2683         * timezone/Makefile (tests): Add tst-tzset.
2684         (tst-tzset.out): Dependencies on time zone files.
2685         (tst-tzset-ENV): Set TZDIR.
2686         (testdata/XT%): Copy crafted time zone files.
2687         * timezone/README: Mention crafted time zone files.
2688         * timezone/testdata/XT1, timezone/testdata/XT2,
2689         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2690         files.
2691         * timezone/tst-tzset.c: New test.
2693 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2695         * Makeconfig (+gccwarn): Remove -Winline.
2697 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2699         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2701 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2703         * NEWS: Mention sysconf() cache information support for s390.
2704         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2706 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2708         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2709         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2710         (__nearbyint): Likewise.
2711         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2712         (copysignl): Likewise.
2714 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2716         [BZ #18287]
2717         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2718         based on padding.  (CVE-2015-1781)
2720 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2722         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2723         libc-vdso.h.
2724         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2725         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2726         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2727         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2728         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2729         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2730         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2731         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2732         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2733         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2734         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2735         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2736         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2737         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2738         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2739         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2740         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2741         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2742         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2743         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2744         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2745         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2746         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2748 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2750         * stdlib/setenv.c (__add_to_environ):
2751         Dump core quickly if setenv (..., NULL, ...) is called.
2752         This time, do it the right way, and pacify GCC with a pragma.
2754 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2756         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2757         IMAP->l_prev cannot be null, and #if out the code for the contrary
2758         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2759         believe that NS (&_dl_ns[NSID]) could point outside the array.
2761         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2762         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2763         before using NSID as an index.
2765 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2767         [BZ #17825]
2768         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2769         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2770         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2772 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2774         Add preliminary port to Google Native Client on ARM.
2775         * abi-tags (.*-.*-nacl.*): New entry.
2776         * sysdeps/arm/nacl: New directory.
2777         * sysdeps/nacl: New directory.
2779 2015-04-16  David S. Miller  <davem@davemloft.net>
2781         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2782         lowlevellock-futex.h
2784 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2786         * sysdeps/tile/configure.ac: New file.
2787         * sysdeps/tile/configure: Regenerated.
2789 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2791         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2792         conditionals for weak_alias and libc_hidden_weak.
2793         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2794         libc_hidden_weak and weak_alias.
2795         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2796         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2797         and weak_alias for static one.
2799 2015-04-15  David S. Miller  <davem@davemloft.net>
2801         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2803 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2805         [BZ #18206]
2806         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2807           Use signed comparision instead of substraction to avoid
2808           overflow bug.
2809         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2810           Take the sign of ret.
2811         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2812           Do not expect precise return values. Only the sign matters.
2813         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2814         * wcsmbs/test-wcsncmp.c: New File.
2815         * string/test-strncmp.c: Add wcsncmp support.
2817 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2819         [BZ #6792]
2820         * math/w_log1p.c: New file.
2821         * math/w_log1pf.c: Likewise.
2822         * math/w_log1pl.c: Likewise.
2823         * math/Makefile (libm-calls): Add w_log1p.
2824         * math/s_log1pl.c (log1pl): Remove weak_alias.
2825         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2826         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2827         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2828         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2829         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2830         [NO_LONG_DOUBLE] (log1pl): Likewise.
2831         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2832         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2833         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2834         (log1p): Remove long_double_symbol.
2835         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2836         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2837         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2838         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2839         remove weak_alias for corresponding log1p function.
2840         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2841         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2842         * sysdeps/ia64/fpu/w_log1p.c: New file.
2843         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2844         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2845         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2847 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2849         [BZ #18247]
2850         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2851         decimal exponent by 1.
2852         * stdlib/tst-strtod-round-data: Add more tests.
2853         * stdlib/tst-strtod-round.c (tests): Regenerated.
2855 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2857         * math/auto-libm-test-in: Add more tests of clog and clog10.
2858         * math/auto-libm-test-out: Regenerated.
2859         * sysdeps/i386/fpu/libm-test-ulps: Update.
2860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2862 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2864         * Makeconfig (module-cppflags): Exclude all .v.i files.
2865         (skip-module-cppflags): Variable removed.
2867         * configure.ac (libc_config_ok): Initialize before reading
2868         preconfigure scripts, not after.
2869         * configure: Regenerated.
2871         * test-skeleton.c (TIMEOUT): Move #define to top level.
2872         (main): Grok environment variable TEST_DIRECT.  If set, print
2873         test expectation details into that file and then behave as if
2874         given --direct.
2876 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2878         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2879         warning on 32-bit.
2881 2015-04-08  David S. Miller  <davem@davemloft.net>
2883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2885 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2887         * math/auto-libm-test-in: Add more tests of atanh.
2888         * math/auto-libm-test-out: Regenerated.
2889         * sysdeps/i386/fpu/libm-test-ulps: Update.
2890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2892         * math/auto-libm-test-in: Add more tests of atan.
2893         * math/auto-libm-test-out: Regenerated.
2894         * sysdeps/i386/fpu/libm-test-ulps: Update.
2895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2897 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2899         * elf/pldd.c (main): Rewrite to use struct
2900         scratch_buffer instead of extend_alloca.
2901         * elf/pldd-xx.c (find_maps): Likewise.
2902         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2903         <alloca.h>.
2904         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2905         scratch_buffer instead of extend_alloca.
2906         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2907         grp/compat-initgroups.c.
2908         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2909         Rewrite to use struct scratch_buffer instead of extend_alloca.
2910         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2911         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2913 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2915         * math/auto-libm-test-in: Add more tests of cbrt.
2916         * math/auto-libm-test-out: Regenerated.
2917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2919         * math/auto-libm-test-in: Add more tests of cabs.
2920         * math/auto-libm-test-out: Regenerated.
2921         * sysdeps/i386/fpu/libm-test-ulps: Update.
2922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924         [BZ #18210]
2925         [BZ #18211]
2926         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2927         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2928         computations.
2929         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2930         clog10.
2931         * math/auto-libm-test-out: Regenerated.
2932         * sysdeps/i386/fpu/libm-test-ulps: Update.
2933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2935         [BZ #18197]
2936         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2937         (atan): Set FE_TONEAREST mode for internal computations.
2938         * math/auto-libm-test-in: Add more tests of atan.
2939         * math/auto-libm-test-out: Regenerated.
2941 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2943         [BZ #17930]
2944         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2946 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2948         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2950 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2952         * include/scratch_buffer.h: New file.
2953         * malloc/scratch_buffer_grow.c: Likewise.
2954         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2955         * malloc/scratch_buffer_set_array_size.c: Likewise.
2956         * malloc/tst-scratch_buffer.c: Likewise.
2957         * malloc/Makefile (routines): Add scratch_buffer_grow.
2958         (tests): Add test case.
2959         * malloc/Versions (GLIBC_PRIVATE): Export
2960         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2961         __libc_scratch_buffer_set_array_size.
2963 2015-04-06  Richard Henderson  <rth@redhat.com>
2965         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2966         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2968         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2969         unsigned int before printing.
2971 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2973         [BZ #17596]
2974         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2975         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2977 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2979         * include/libc-internal.h (libc_max_align_t): Define.
2981 2015-04-02  Andreas Schwab  <schwab@suse.de>
2983         [BZ #16850]
2984         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2986 2015-04-02  Mel Gorman  <mgorman@suse.de>
2988         [BZ #17195]
2989         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2990         as well as the main arena.
2992 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2994         [BZ #18185]
2995         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2996         sharing L2 cache to 2 for Silvermont/Knights Landing.
2998 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3000         [BZ #17711]
3001         * config.make.in (have-protected-data): New.
3002         * configure.ac: Check linker support for protected data symbol.
3003         * configure: Regenerated.
3004         * elf/Makefile (modules-names): Add tst-protected1moda and
3005         tst-protected1modb if $(have-protected-data) is yes.
3006         (tests): Add tst-protected1a and tst-protected1b if
3007         $(have-protected-data) is yes.
3008         ($(objpfx)tst-protected1a): New.
3009         ($(objpfx)tst-protected1b): Likewise.
3010         (tst-protected1modb.so-no-z-defs): Likewise.
3011         * elf/tst-protected1a.c: New file.
3012         * elf/tst-protected1b.c: Likewise.
3013         * elf/tst-protected1mod.h: Likewise.
3014         * elf/tst-protected1moda.c: Likewise.
3015         * elf/tst-protected1modb.c: Likewise.
3017 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3019         [BZ #17711]
3020         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3021         indicates it is called from do_lookup_x on relocation against
3022         protected data, skip the data definion in the executable from
3023         copy reloc.
3024         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3025         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3026         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3027         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3028         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3029         otherwise to 0.
3030         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3031         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3032         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3033         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3034         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3035         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3037 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3039         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3040         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3042 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3044         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3045         THREAD_SETMEM_NC.
3046         * sysdeps/x86_64/nptl/tls.h: Ditto.
3048 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3050         * dlfcn/tststatic.c (main): Converted to ...
3051         (do_test): ... this.
3052         (TEST_FUNCTION): New macro.
3053         Include test-skeleton.c.
3055 2015-03-26  Alan Modra  <amodra@gmail.com>
3057         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3058         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3059         zero for undefined weak.
3060         (elf_machine_plt_conflict): Similarly.
3062 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3064         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3065         atanh.
3066         * math/auto-libm-test-out: Regenerated.
3067         * sysdeps/i386/fpu/libm-test-ulps: Update.
3068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3070         * math/auto-libm-test-in: Add another test of asin.
3071         * math/auto-libm-test-out: Regenerated.
3072         * sysdeps/i386/fpu/libm-test-ulps: Update.
3073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3075         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3076         Remove macro.
3077         (LLL_EBX_REG): Likewise.
3078         (LLL_ENTER_KERNEL): Likewise.
3080         * math/auto-libm-test-in: Add more tests of asin.
3081         * math/auto-libm-test-out: Regenerated.
3082         * sysdeps/i386/fpu/libm-test-ulps: Update.
3083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3085         [BZ #18138]
3086         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3087         libc_do_syscall_args): New structure.
3088         (INTERNAL_SYSCALL_MAIN_0): New macro.
3089         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3090         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3091         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3092         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3093         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3094         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3095         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3096         Replace conditional definitions by conditional definitions of ....
3097         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3098         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3099         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3100         (libpthread-sysdep_routines): Add libc-do-syscall.
3101         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3102         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3103         to __NR_futex not 240.
3105 2015-03-25  Alan Modra  <amodra@gmail.com>
3107         * NEWS: Advertise TLS optimization.
3108         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3109         (DT_PPC_NUM): Increment.
3110         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3111         (CHECK_STATIC_TLS): Use here.
3112         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3113         TLS descriptors.
3114         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3115         * sysdeps/powerpc/dl-tls.c: New file.
3116         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3117         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3118         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3119         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3124 2015-03-25  Alan Modra  <amodra@gmail.com>
3126         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3127         for overlapping .opd entries" to "support...".
3128         * sysdeps/powerpc/powerpc64/configure: Regenerate
3130 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3132         * math/auto-libm-test-in: Add more tests of acos.
3133         * math/auto-libm-test-out: Regenerated.
3134         * sysdeps/i386/fpu/libm-test-ulps: Update.
3135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137         * math/auto-libm-test-in: Add more tests of expm1.
3138         * math/auto-libm-test-out: Regenerated.
3139         * sysdeps/i386/fpu/libm-test-ulps: Update.
3140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3142 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3144         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3145         * math/auto-libm-test-out: Regenerated.
3146         * sysdeps/i386/fpu/libm-test-ulps: Update.
3147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3149         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3152         * math/auto-libm-test-in: Add more tests of log2.
3153         * math/auto-libm-test-out: Regenerated.
3154         * sysdeps/i386/fpu/libm-test-ulps: Update.
3155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3157 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3159         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3160         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3161         _IO_IS_APPENDING bit in READ_WRITE instead.
3163 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3165         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3166         (__determine_cpumask_size): Replace extend_alloca with a
3167         variable-length array.  Do not treat res == 0 as an error.
3169 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3171         [BZ #18100]
3172         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3173         and integer overflow.
3174         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3175         (main): Add integer overflow tests.
3176         * manual/pattern.texi (Calling Wordexp): Document additional use
3177         for WRDE_SYNTAX.
3179 2015-03-23  Alan Modra  <amodra@gmail.com>
3181         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3182         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3183         and false branch of conditional.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3185         Likewise.
3187 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3189         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3190         libc-modules.h
3191         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3192         unused declaration of _hurd_intr_rpc_msg_in_trap.
3193         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3194         defined instead of whether it is non-zero.
3195         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3196         input constraint instead of both input and output constraint.  Use ecx
3197         clobber instead of %ecx.
3198         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3199         mutex_unlock): Use a statement expression instead of an expression list.
3200         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3201         type to vm_size_t instead of vm_address_t.
3202         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3203         defined instead of whether it is non-zero.
3204         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3205         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3206         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3207         comparisons with mapaddr.
3208         * nscd/nscd-client.h: Include <time.h>.
3209         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3210         9th parameter to __vm_region instead of int.
3211         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3212         * scripts/check-local-headers.sh (exclude): Add device/,
3213         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3214         cthreads.h.
3216 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3218         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3219         to account for alignment padding.
3220         * sysdeps/arm/memmove.S: Likewise.
3222 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3224         * sysdeps/unix/sysv/linux/generic/README: New file.
3226 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3228         [BZ #18138]
3229         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3230         (futex_abstimed_wait)
3231         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3232         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3233         of lll_futex_timed_wait.
3235 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3237         [BZ #17542]
3238         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3240 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3242         [BZ #17090]
3243         [BZ #17620]
3244         [BZ #17621]
3245         [BZ #17628]
3246         * NEWS: Update.
3247         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3248         entries with Static TLS too.  Skip entries past the end of the
3249         allocated DTV, from Alan Modra.
3250         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3251         Static TLS DTV entry set up from...
3252         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3253         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3254         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3255         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3256         for Static TLS.
3257         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3258         that the slot we find is associated with the given map before
3259         using its generation count.
3260         * nptl_db/db_info.c: Include ldsodefs.h.
3261         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3262         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3263         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3264         (link_map::l_tls_offset): New struct field.
3265         (dtv_t::counter): Likewise.
3266         (rtld_global): New struct.
3267         (_rtld_global): New rtld variable.
3268         (dl_tls_dtv_slotinfo_list): New rtld global field.
3269         (dtv_slotinfo_list): New struct.
3270         (dtv_slotinfo): Likewise.
3271         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3272         (td_lookup): Rename to...
3273         (td_mod_lookup): ... this.  Use new mod parameter instead of
3274         LIBPTHREAD_SO.
3275         * nptl_db/td_thr_tlsbase.c: Include link.h.
3276         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3277         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3278         addresses even if the DTV is out of date or missing them.
3279         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3280         index zero-length arrays.
3281         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3282         (td_lookup): Make it a macro implemented in terms of...
3283         (td_mod_lookup): ... this declaration.
3284         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3285         (DB_MAIN_VARIABLE): Likewise.
3287 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3289         [BZ #18134]
3290         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3292 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3294         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3296 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3298         [BZ #18128]
3299         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3300         (atomic_add, atomic_increment_and_test)
3301         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3303 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3305         * stdlib/setenv.c (__add_to_environ):
3306         Dump core quickly if setenv (..., NULL, ...) is called.
3308 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3310         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3311         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3312         all the necessary asm magic in one place.
3313         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3314         using those.
3316 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3318         [BZ #14906]
3319         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3320         traced file mtime. Use consistent log message.
3321         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3322         (register_traced_file): Call install_watches. Always set mtime.
3323         (invalidate_cache): Iterate over all trace files. Call install_watches.
3324         (inotify_check_files): Don't inline. Handle watching parent
3325         directories and configuration file movement in and out.
3326         (handle_inotify_events): New function.
3327         (main_loop_poll): Call handle_inotify_events.
3328         (main_loop_epoll): Likewise.
3329         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3330         (struct traced_file): Use array of inotify fds. Add parent directory,
3331         and basename.
3332         (struct database_dyn): Remove unused file_mtime.
3333         (init_traced_file): New inline function.
3334         (define_traced_file): New macro.
3335         * nss/nss_db/db-init.c: Use define_traced_file.
3336         (_nss_db_init): Use init_traced_file.
3337         * nss/nss_files/files-init.c: Use define_traced_file.
3338         (_nss_files_init): Use init_traced_file.
3340 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3342         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3343         [_LIBC]: Do not include <stdlib.h>.
3344         [!_LIBC] (abort): Remove declaration.
3345         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3346         _FP_STATIC_ASSERT instead of conditionally calling abort.
3347         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3348         (_FP_EXTEND_CNAN): Likewise.
3349         (FP_TRUNC): Likewise.
3350         (__FP_CLZ): Likewise.
3351         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3353 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3355         * manual/string.texi (XPG basename): Fix prototype.
3357 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3359         [BZ #18080]
3360         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3361         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3362         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3363         (__setcontext): Likewise.
3364         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3365         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3366         Call rt_sigprocmask syscall one time to set new signal mask
3367         and retrieve the current signal mask instead of two calls.
3368         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3369         (__swapcontext): Likewise.
3370         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3371         * stdlib/tst-setcontext2.c: New file.
3373 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3375         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3377 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3379         [BZ #18093]
3380         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3381         the wrong size.
3383 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3385         [BZ #18043]
3386         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3388 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3390         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3391         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3392         Remove define.
3393         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3394         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3395         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3396         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3397         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3398         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3399         define.
3400         * nptl_db/td_symbol_list.c (td_lookup): Remove
3401         HAVE_ASM_GLOBAL_DOT_NAME code.
3402         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3403         HAVE_ASM_GLOBAL_DOT_NAME check.
3404         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3405         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3406         (DOT_LABEL): Remove define.
3407         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3408         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3409         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3410         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3411         (__TLS_GET_ADDR): Likewise.
3412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3413         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3415 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3417         [BZ #18111]
3418         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3419         (_FPU_SETCW): Initialize cw from fpsr before storing.
3420         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3421         (fesetexceptflag): Rewrite using fpu_control.h.
3422         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3424 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3426         [BZ #18110]
3427         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3428         asms.
3429         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3431 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3433         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3434         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3435         abort.
3436         (_FP_FMA): Likewise.
3437         (_FP_DIV): Likewise.
3439 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3441         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3442         with 0 in that case.
3443         * Makefile (summarize-tests): New canned sequence, factored out of
3444         commands for targets tests and xtests.  Display summary lines that
3445         don't start with PASS: or XFAIL: rather than ones that do start with
3446         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3447         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3448         do start with ERROR: or FAIL:.
3449         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3450         (except for [$(build-shared) = yes]).
3451         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3452         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3453         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3454         * nptl/Makefile: Revert 2015-03-04 changes.
3455         [$(CXX) empty] (tests-unsupported): New variable.
3456         * debug/Makefile: Likewise.
3458         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3459         gnulib file.  Replace __attribute with __attribute__ throughout.
3461 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3463         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3465 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3467         [BZ #18104]
3468         * math/auto-libm-test-in: Add another test of pow.
3469         * math/auto-libm-test-out: Regenerated.
3471 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3473         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3474         $(config-cflags-nofma).
3476 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3478         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3479         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3480         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3481         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3482         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3483         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3484         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3485         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3486         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3487         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3488         Add comment on closing #endif.
3490 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3492         * posix/wordexp.c (CHAR_IN_SET): New macro.
3493         (parse_param): Use it.
3495 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3497         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3499 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3501         [BZ #18043]
3502         * posix/wordexp.c (parse_param): Fix buffer overflow.
3503         * posix/wordexp-test.c (test_case): Add test case.
3505 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3507         [BZ #18042]
3508         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3509         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3511 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3513         [BZ #18043]
3514         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3515         (do_bz18043): Delete.
3516         (at_page_end): New.
3517         (testit): Refactor to have words at the edge of unreadable page.
3519 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3521         [BZ #16734]
3522         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3523         Cleanup read-only streams as well.
3524         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3526 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3528         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3529         <bits/libc-lockP.h>
3531 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3533         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3534         on [__KERNEL__].
3535         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3536         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3537         * soft-fp/op-common.h (_FP_DECL): Likewise.
3539 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3541         * elf/ifuncdep2.c (global): Replace
3542         __attribute__((visibility("protected"))) with
3543         asm (".protected global").
3544         * elf/ifuncmod1.c (global): Likewise.
3545         * elf/ifuncmod5.c (global): Likewise.
3547 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3549         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3550         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3552 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3554         * manual/install.texi (Configuring and compiling):
3555         Document test-wrapper-env-only.
3556         * INSTALL: Regenerated.
3558 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3560         [BZ #18043]
3561         * posix/wordexp.c (parse_param): Fix buffer overflow.
3562         * posix/wordexp-test.c (do_bz18043): Add test case.
3564 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3566         * time/tst-strptime2.c (do_test): Ensure failing tests are
3567         reported correctly.
3568         * time/tst-strptime3.c (do_test): Likewise.
3570 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3572         Fix aio_error thread-safety.
3573         * sysdeps/pthread/aio_error.c: New file
3574         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3575         synchronization.
3577 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3579         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3580         (group_number, vfprintf): Use it.
3581         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3582         (JUMP, REF): Use it.
3583         (WORK_BUFFER_SIZE): New enum constant.
3584         (process_arg, vfprintf): Use it.
3586 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3588         * manual/errno.texi (Error Messages): Complete example function
3589         by adding missing #define.
3590         (program_invocation_name): Add statement indicating GNU
3591         extension and reference which header file declares the variable.
3592         (program_invocation_short_name): Likewise.
3594 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3596         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3597         compatibility note.
3599 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3601         * Makeconfig (test-wrapper-env-only): New variable.
3602         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3603         then use that with $(test-wrapper-env-only) rather than using
3604         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3606 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3608         [BZ #18082]
3609         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3610         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3611         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3612         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3613         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3614         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3615         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3616         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3617         Likewise.
3618         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3619         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3620         Likewise.
3621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3622         Likewise.
3623         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3624         Likewise.
3625         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3626         Likewise.
3627         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3628         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3629         Likewise.
3630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3631         Likewise.
3632         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3633         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3635 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3637         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3638         (ETH_ALEN): New macro.
3639         (struct ether_addr): Use it for length of ether_addr_octet.
3641         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3642         (setdb): Don't call __nss_configure_lookup for "rpc".
3643         (do_test): Don't call test_rpc.
3644         (output_rpcent, test_rpc): Functions moved ...
3645         * sunrpc/test-rpcent.c: ... to this new file.
3646         * sunrpc/Makefile (tests): Add it.
3648         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3649         __xpg_sigpause.
3650         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3651         * nptl/tst-signal6.c: Likewise.
3652         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3653         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3655         * configure.ac (libc_cv_cxx_link_ok): New check.
3656         Reset CXX to empty if it fails to link.
3657         * configure: Regenerated.
3658         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3659         bug-atexit3-lib only if $(CXX) is nonempty.
3660         * nptl/Makefile (tests): Likewise for tst-cancel24.
3661         (tests, tests-static): Likewise for tst-cancel24-static.
3662         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3663         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3664         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3665         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3667 2015-03-04  Andreas Schwab  <schwab@suse.de>
3669         [BZ #17631]
3670         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3671         for non-GCC compilers.
3672         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3673         Likewise.
3675 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3677         [BZ #17776]
3678         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3679         integer before bitwise and assembly operations.
3680         (feclearexcept): Likewise.
3681         * math/test-fenvinline.c: New file.
3682         * math/Makefile: Add test-fenvinline test.
3684 2015-03-03  Alan Modra  <amodra@gmail.com>
3686         [BZ #16512]
3687         * scripts/localplt.awk: Strip off symbol version.
3688         * NEWS: Mention bug fix.
3690 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3692         * sysdeps/pthread/timer_routines.c
3693         (timer_free_list, thread_free_list, thread_active_list): Make static.
3695 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3697         [BZ #17779]
3698         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3699         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3700         Undefine.
3701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3702         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3703         Likewise.
3704         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3705         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3706         Likewise.
3708 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3710         [BZ #18036]
3711         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3712         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3714 2015-03-02  Andreas Schwab  <schwab@suse.de>
3716         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3717         variable name.
3719 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3721         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3722         Return error status.
3724 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3726         [BZ #15969]
3727         * locale/findlocale.c (_nl_find_locale): Introduce const
3728         version of loc_name and drop unsafe type casts.
3730 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3732         * dlfcn/tststatic2.c (main): Converted to ...
3733         (do_test): ... this.
3734         (TEST_FUNCTION): New macro.
3735         Include test-skeleton.c.
3737 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3739         [BZ #17711]
3740         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3741         (tests-pie): Add vismain.
3742         (CFLAGS-vismain.c): New.
3743         * elf/vismain.c: Add comments for PIE requirement.
3745 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3747         [BZ #18046]
3748         [BZ #18047]
3749         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3750         0x1p-56L as threshold for just returning the argument.
3751         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3752         0x1p-32L as threshold for just returning the argument.
3753         * math/auto-libm-test-in: Add more tests of atanh.
3754         * math/auto-libm-test-out: Regenerated.
3755         * sysdeps/i386/fpu/libm-test-ulps: Update.
3756         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3758 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3760         * string/bcopy.c (bcopy): Call memmove for performance.
3762 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3764         * string/bzero.c (__bzero): Call memset for performance.
3766 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3768         [BZ #18068]
3769         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3770         to 00100000.
3772 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3774         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3776 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3778         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3779         (__kernel_standard): Use CSTR macro when setting exc.name.
3780         * sysdeps/ieee754/Makefile [$(subdir) = math]
3781         (CFLAGS-k_standard.c): Remove variable.
3783         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3784         setting p and q from "else if" to "else".
3785         (qzero): Likewise.
3786         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3787         (qone): Likewise.
3788         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3789         (qzerof): Likewise.
3790         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3791         (qonef): Likewise.
3792         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3793         (qzero): Likewise.
3794         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3795         (qone): Likewise.
3797         [BZ #18038]
3798         [BZ #18039]
3799         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3800         return pi/2 for arguments below 0x1p-113L.
3801         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3802         return pi/2 for arguments below 0x1p-106L.
3803         * math/auto-libm-test-in: Add more tests of acos.
3804         * math/auto-libm-test-out: Regenerated.
3806         [BZ #16351]
3807         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3808         (MO): New macro.
3809         (__ieee754_asin): Force underflow exception for results with small
3810         absolute value.
3811         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3812         (MO): New macro.
3813         (__ieee754_asinf): Force underflow exception for results with
3814         small absolute value.
3815         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3816         (__ieee754_asin): Force underflow exception for results with small
3817         absolute value.
3818         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3819         (__ieee754_asinf): Force underflow exception for results with
3820         small absolute value.
3821         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3822         (__ieee754_asinl): Force underflow exception for results with
3823         small absolute value.
3824         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3825         (__ieee754_asinl): Force underflow exception for results with
3826         small absolute value.
3827         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3828         (__ieee754_asinl): Force underflow exception for results with
3829         small absolute value.
3830         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3831         Include <math.h>.
3832         * math/auto-libm-test-in: Do not mark underflow exceptions as
3833         possibly missing for bug 16351.
3834         * math/auto-libm-test-out: Regenerated.
3836         [BZ #18030]
3837         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3838         of power of 2 down when low part has opposite sign.
3839         * math/libm-test.inc (logb_test_data): Add more tests.
3841 2015-02-26  Andreas Schwab  <schwab@suse.de>
3843         [BZ #18032]
3844         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3845         over collating symbol inside a bracket expression.  Minor cleanup.
3846         * posix/tst-fnmatch3.c (do_test): Add test case.
3848 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3850         [BZ #18029]
3851         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3852         Adjust exponent of power of 2 down when low part has opposite
3853         sign.
3854         * math/libm-test.inc (ilogb_test_data): Add more tests.
3856 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3858         [BZ #15969]
3859         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3860         the previous change.
3862         [BZ #15969]
3863         * locale/findlocale.c (_nl_find_locale): Retry archive search
3864         after alias expansion.
3866 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3868         * iconv/tst-iconv3.c (main): Converted to ...
3869         (do_test): ... this.
3870         (TEST_FUNCTION): New macro.
3871         Include test-skeleton.c.
3873         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3874         (convert): Make function static.
3875         (test_unalign): Likewise.  Add const to argument pointee types.
3876         (main): Replace with static function do_test.
3877         Print "Succeeded." only if RET is zero.
3878         (TEST_FUNCTION): New macro.
3879         Include test-skeleton.c.
3881         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3882         returns a null pointer.
3884 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3886         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3887         to __memcpy_ppc only for static builds.
3889 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3891         [BZ #18020]
3892         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3893         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3894         * math/auto-libm-test-in: Add more tests of asinh.
3895         * math/auto-libm-test-out: Regenerated.
3896         * sysdeps/i386/fpu/libm-test-ulps: Update.
3897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3899 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3901         [BZ #15850]
3902         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3903         and ip6_mtuinfo definitions here.
3904         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3905         in this define too.  Update comment.
3907 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3909         * elf/sprof.c (load_shobj): Tweak error message to match others.
3911 2015-02-24  Kevin Easton  <kevin@guarana.org>
3913         [BZ #16145] (partial fix)
3914         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3915         to reduce lock contention.
3917 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3919         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3920         (struct timex): Update time comment.
3921         (ADJ_SETOFFSET): Define.
3923 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3925         [BZ #18019]
3926         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3927         2**56 not 2**28 as threshold for log (2x) formula.
3928         * math/auto-libm-test-in: Add more tests of acosh.
3929         * math/auto-libm-test-out: Regenerated.
3930         * sysdeps/i386/fpu/libm-test-ulps: Update.
3931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3933 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3935         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3936         parenthesis around the buf assignment.
3937         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3939 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3941         [BZ #16783]
3942         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3943         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3944         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3945         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3946         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3947         * math/libm-test.inc (scalb_test_data): Add more tests.
3949 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3951         [BZ #17916]
3952         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3953         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3955 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3957         [BZ #17523]
3958         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3959         * io/bits/fcntl2.h (open): Use it.
3960         (openat): Likewise.
3961         * io/open.c (__libc_open): Likewise.
3962         * io/open64.c (__libc_open64): Likewise.
3963         * io/open64_2.c (__open64_2): Likewise.
3964         * io/open_2.c (__open_2): Likewise.
3965         * io/openat.c (__openat): Likewise.
3966         * io/openat64.c (__openat64): Likewise.
3967         * io/openat64_2.c (__openat64_2): Likewise.
3968         * io/openat_2.c (__openat_2): Likewise.
3969         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3970         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3971         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3972         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3973         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3974         (__open_nocancel): Likewise.
3975         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3976         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3977         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3979 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3981         [BZ #14841]
3982         * resolv/gethnamaddr.c (getanswer): Skip logging if
3983         RES_USE_DNSSEC is set.
3984         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3986 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3988         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3990 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3992         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3993         201304L, for Unicode 7.
3995 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3997         [BZ #17836]
3998         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3999         shared library.  Add gmon-start.os otherwise.
4000         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
4001         $(objpfx)gmon-start.os if builing shared library.
4002         ($(objpfx)g$(static-start-installed-name)): Likewise.
4004 2015-02-23  Andreas Schwab  <schwab@suse.de>
4006         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
4008 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
4010         [BZ #17269]
4011         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
4012         (enlarge_userbuf): Likewise.
4014 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4016         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4017         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4018         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4019         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4021 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4023         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4024         expression inside statement expression.
4026 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4028         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4029         <sysdeps/nptl/lowlevellock.h> and remove macros and
4030         functions that are now defined there.
4031         (SYS_futex): Remove.
4032         (lll_compare_and_swap): Remove.
4033         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4035 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4037         [BZ #17999]
4038         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4039         instead of scandirat.
4040         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4041         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4042         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4043         __scandirat.
4044         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4045         (__scandirat): Declare.  Use libc_hidden_proto.
4046         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4047         Remove variable.
4048         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4050 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4052         [BZ #15319]
4053         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4054         (MO): New macro.
4055         (__ieee754_atan2): For results with small absolute value, force
4056         underflow exception and remove excess range and precision from
4057         return value.
4058         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4059         (MO): New macro.
4060         (__ieee754_atan2f): For results with small absolute value, force
4061         underflow exception and remove excess range and precision from
4062         return value.
4063         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4064         (MO): New macro.
4065         (__atan): For results with small absolute value, force underflow
4066         exception and remove excess range and precision from return value.
4067         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4068         (MO): New macro.
4069         (__atanf): For results with small absolute value, force underflow
4070         exception and remove excess range and precision from return value.
4071         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4072         <math.h>.
4073         (__ieee754_atan2): Force underflow exception for results with
4074         small absolute value.
4075         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4076         <math_private.h>.
4077         (atan): Force underflow exception for results with small absolute
4078         value.
4079         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4080         (__atanf): Force underflow exception for results with small
4081         absolute value.
4082         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4083         <math.h>.
4084         (__atanl): Force underflow exception for results with small
4085         absolute value.
4086         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4087         (__atanl): Force underflow exception for results with small
4088         absolute value.
4089         * sysdeps/x86/fpu/bits/mathinline.h
4090         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4091         (__ieee754_atan2): Only define inline for long double.
4092         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4093         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4094         * math/auto-libm-test-in: Do not mark underflow exceptions as
4095         possibly missing for bug 15319.  Add more tests of atan2.
4096         * math/auto-libm-test-out: Regenerated.
4097         * math/libm-test.inc (casin_test_data): Do not mark underflow
4098         exceptions as possibly missing for bug 15319.
4099         (casinh_test_data): Likewise.
4100         * sysdeps/i386/fpu/libm-test-ulps: Update.
4102 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4104         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4105         * sysdeps/mips/bits/endian.h: Fix comments.
4107 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4109         [BZ #17996]
4110         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4111         (hdestroy_r): Likewise.
4112         (hsearch_r): Likewise.
4113         (__hcreate_r): Declare and use libc_hidden_proto.
4114         (__hdestroy_r): Likewise.
4115         (__hsearch_r): Likewise.
4116         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4117         (hcreate): Call __hcreate_r instead of hcreate_r.
4118         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4119         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4120         as weak alias of __hcreate_r.
4121         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4122         __hdestroy_r.
4123         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4124         __hsearch_r.
4125         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4126         Remove variable.
4127         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4128         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4129         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4130         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4132 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4134         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4135         arena_lock into a single arena_get.
4137 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4139         * dl-reloc.c: Inlucde libc-internal.h.
4140         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4141         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4142         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4143         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4144         (grow_heap): Likewise.
4145         * malloc/malloc.c: Include libc-internal.h.
4146         (do_check_malloc): Call powerof2.
4147         (sysmalloc): Use pagesize. Call ALIGN_UP.
4148         (systrim): Use pagesize.
4149         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4150         (__libc_valloc): Use pagesize.
4151         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4153 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4155         [BZ #17991]
4156         * include/sys/resource.h (__getrlimit64): Declare.  Use
4157         libc_hidden_proto.
4158         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4159         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4160         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4161         getrlimit64.
4162         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4163         __getrlimit64.
4164         [!getrlimit64] (getrlimit64): Define as weak alias of
4165         __getrlimit64.  Use libc_hidden_weak.
4166         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4167         using __getrlimit64 not __new_getrlimit64.
4168         (__GI_getrlimit64): Likewise.
4169         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4170         Likewise.
4171         (__GI_getrlimit64): Likewise.
4172         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4174         (getrlimit): Add __getrlimit64 alias.
4175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4176         Likewise.
4177         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4178         Remove variable.
4179         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4180         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4182 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4184         * libio/fileops.c: Add missing sys/mman.h
4185         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4187 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4189         * manual/math.texi (Errors in Math Functions): Clarify goals
4190         regarding inexact and underflow exceptions.
4192 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4194         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4195         * sysdeps/mips/memset.S: Ditto.
4197 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4199         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4201 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4203         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4204         (__v1longjmp): Remove versioned symbol.
4205         (__v1siglongjmp): Remove alias and versioned symbol.
4206         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4207         (__v2siglongjmp): Likewise.
4209 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4211         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4213 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4215         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4217 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4219         [BZ #17987]
4220         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4221         zero result does not depend on the sign resulting from
4222         subtraction.
4223         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4224         Likewise.
4225         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4226         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4227         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4228         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4229         * math/libm-test.inc (remquo_test_data): Add more tests.
4231 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4233         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4234         Problem reported by J William Piggott.
4236 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4238         [BZ #17978]
4239         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4240         products 4 * y and 2 * y where those would overflow.
4241         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4242         Likewise.
4243         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4244         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4245         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4246         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4247         * math/libm-test.inc (remquo_test_data): Add more tests.
4249         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4251         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4252         [defined _COMPILING_NEWLIB].
4253         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4254         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4256         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4257         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4259 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4261         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4262         acquired.
4264 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4266         [BZ #17792]
4267         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4268         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4269         HOST_STACK_END_ADDR): Likewise.
4271 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4273         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4274         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4275         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4277 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4279         * sysdeps/generic/c++-types.data: New file.
4280         * sysdeps/generic/ld.abilist: New file.
4281         * sysdeps/generic/libBrokenLocale.abilist: New file.
4282         * sysdeps/generic/libanl.abilist: New file.
4283         * sysdeps/generic/libc.abilist: New file.
4284         * sysdeps/generic/libcrypt.abilist: New file.
4285         * sysdeps/generic/libdl.abilist: New file.
4286         * sysdeps/generic/libm.abilist: New file.
4287         * sysdeps/generic/libpthread.abilist: New file.
4288         * sysdeps/generic/libresolv.abilist: New file.
4289         * sysdeps/generic/librt.abilist: New file.
4291 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4293         [BZ #17569]
4294         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4295         Compute absolute value of x as modified by fmod, not original
4296         value of x.
4297         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4298         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4299         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4300         RUN_TEST_ffI_f1_mod8.
4301         (remquo_test_data): Add more tests.
4303 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4305         * sysdeps/init_array/pt-crti.S: New file.
4307 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4309         [BZ #17967]
4310         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4311         __builtin_fmaf instead of relying on contraction of a * b + c.
4313 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4315         [BZ #17969]
4316         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4317         node.
4319 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4321         [BZ #17964]
4322         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4323         __builtin_fma instead of relying on contraction of a * b + c.
4325 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4327         * Makeconfig (ASFLAGS): Add -Werror=undef.
4328         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4329         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4330         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4332         * Makeconfig (after-link): New variable.
4333         (+link-pie, +link-pie-tests): Use it.
4334         (+link-static, +link-static-tests): Likewise.
4335         (+link, +link-tests): Likewise.
4336         * Makerules (build-module, build-module-asneeded): Likewise.
4337         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4338         Likewise.
4339         * elf/Makefile ($(objpfx)ld.so): Likewise.
4341 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4343         [BZ #17965]
4344         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4345         both struct timeval and struct timespec.
4347 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4349         [BZ #16560]
4350         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4351         and redefine.
4352         (__ieee754_exp2l): Do not multiply small fractional parts by
4353         M_LN2l.
4354         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4355         small argument.
4356         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4357         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4358         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4359         * math/auto-libm-test-in: Add more tests of exp2.
4360         * math/auto-libm-test-out: Regenerated.
4362 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4364         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4365         unaligned path.
4367 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4369         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4370         little endian.
4372 2015-02-12  Andreas Schwab  <schwab@suse.de>
4374         [BZ #15790]
4375         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4376         Filter out elision flags from value returned in kind.
4377         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4378         * nptl/tst-pthread-mutexattr.c: New file.
4380 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4382         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4383         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4384         into gnu-gnu, and update comment to refer to abi-tags.
4386 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4388         [BZ #15467]
4389         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4390         (__sincos): Set errno to EDOM for infinite argument.
4391         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4392         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4393         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4394         (__sincosl): Set errno to EDOM for infinite argument.
4395         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4396         (__sincosl): Set errno to EDOM for infinite argument.
4397         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4398         (__sincosl): Set errno to EDOM for infinite argument.
4399         * math/libm-test.inc (sincos_test_data): Test errno setting.
4401 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4403         * string/strxfrm_l.c: Remove #define STRCMP.
4404         * string/strcoll_l.c: Remove #define STRLEN.
4405         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4406         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4408 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4410         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4411         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4412         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4413         * sysdeps/mips/mips64/Makefile: ... here.
4414         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4415         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4416         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4417         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4418         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4419         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4420         * sysdeps/mips/mips64/n64/Implies: Likewise.
4422 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4424         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4425         <sys/time.h>, <string.h>, and <errno.h>.
4426         (dest_offset, dest_address, value, zero): Remove unused variables.
4427         (ldouble): Remove typedef.
4428         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4429         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4430         1).  Fix code style.
4431         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4432         (check): Function removed.
4433         (CHECK): New macro.
4434         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4435         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4436         Don't call set_sigaction_FP and remove_sigaction_FP here.
4437         (ldouble_test): Just use 'long double' as macro argument, no need for
4438         the 'ldouble' typedef.
4439         (do_test): Set up SIGFPE handler at start, using plain signal rather
4440         than sigaction.  Fix code style.
4442 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4444         [BZ #17949]
4445         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4446         jump label.
4448 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4450         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4451         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4453         * sysdeps/powerpc/configure.ac: Remove file.
4454         * sysdeps/powerpc/configure: Likewise.
4456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4457         [sysdep_routines]: Remove wordcopy-power6 object.
4458         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4459         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4460         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4461         (__memmove_ppc32): Likewise.
4462         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4463         file.
4464         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4465         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4466         Remove preprocessor.
4468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4469         [sysdep_routines]: Remove wide chars objects.
4470         [wcsmbs]: New rule for wide char objects.
4472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4473         Remove wordcopy-power6 obejct.
4474         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4475         Use local call for wordcopy and memcpy symbols.
4476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4478         implementation for loader.
4479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4481         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4482         Remove wordcopy-power7 object.
4483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4484         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4485         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4486         (_wordcopy_fwd_dest_aligned): Likewise.
4487         (_wordcopy_bwd_aligned): Likewise.
4488         (_wordcopy_bwd_dest_aligned): Likewise.
4490         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4491         Rewrite to call __memmove_ppc instead of include default
4492         implementation.
4494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4495         Remove wide chars objects.
4496         [wcsmbs]: New rule for wide char objects.
4498 2015-02-09  Andreas Schwab  <schwab@suse.de>
4500         [BZ #17912]
4501         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4502         in terms of __O_DIRECTORY.
4504 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4506         * time/getdate.c: Include <stdbool.h>.
4507         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4508         call PTR_MANGLE.
4509         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4510         PTR_DEMANGLE.
4512 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4514         Add ersatz _Static_assert on older C hosts
4515         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4516         pre-C11 C platform that is not known to support _Static_assert.
4518 2015-02-07  Richard Braun  <rbraun@sceen.net>
4520         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4521         sigstate.
4522         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4524 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4526         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4527         priority against unexistent AIO_PRIO_DELTA_MAX.
4528         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4529         instead of int.
4530         * misc/fchflags.c (fchflags): Likewise.
4531         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4532         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4533         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4534         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4535         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4536         Declare macros.
4537         [__USE_MISC] (chflags, fchflags): Declare functions.
4538         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4539         EINVAL when nfds is greater than FD_SETSIZE.
4540         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4541         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4542         45.
4543         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4544         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4545         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4546         MACH_RCV_TIMED_OUT.
4547         * hurd/hurd/signal.h (_hurd_self_sigstate,
4548         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4549         Explicit casts from void *.
4550         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4551         * abi-tags: Rename gnu-gnu os into gnu.
4553         [BZ #4719]
4554         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4555         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4556         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4557         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4558         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4559         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4561         [BZ #17944]
4562         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4563         duplicates ADDR->sun_path with sockaddr LEN limitation.
4564         * sysdeps/mach/hurd/connect.c: Include <string.h>
4565         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4566         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4567         * sysdeps/mach/hurd/sendto.c: Likewise.
4568         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4569         implementing it by hand.
4571 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4573         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4574         Use sfi_breg on ldr.
4575         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4576         Likewise.
4578         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4579         it's defined.
4580         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4581         Test SIGSETXID only if it's defined.
4583         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4585         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4586         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4588         * nptl/tst-align2.c: Moved ...
4589         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4590         * nptl/Makefile (tests): Remove tst-align2.
4591         * sysdeps/unix/sysv/linux/Makefile
4592         [$(subdir) = nptl] (tests): Add tst-align-clone.
4593         * nptl/tst-getpid1.c: Moved ...
4594         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4595         * nptl/tst-getpid2.c: Moved ...
4596         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4597         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4598         * sysdeps/unix/sysv/linux/Makefile
4599         [$(subdir) = nptl] (tests): ... here.
4600         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4601         * sysdeps/unix/sysv/linux/Makefile
4602         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4604         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4605         Drop trailing \n from perror argument.  Use return rather than exit.
4607         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4608         on [SA_SIGINFO].
4609         * nptl/tst-cancel21.c (do_test): Likewise.
4610         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4611         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4612         [!SA_SIGINFO]: Make it a stub test.
4614         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4615         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4617         * posix/tst-getlogin.c: Move to ...
4618         * login/tst-getlogin.c: ... here.
4619         * posix/Makefile (tests): Move tst-getlogin to ...
4620         * login/Makefile (tests): ... here.
4622         * libio/tst-atime.c (do_test): Move local variables SV and E
4623         inside [ST_NOATIME] conditional.
4625         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4627         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4629         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4630         (wait_code): New function replaces macro.
4631         Call nanosleep rather than syscall.
4633         * nptl/pt-system.c: Rewritten.  Put everything under
4634         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4635         Use IFUNC to redirect when possible.
4637         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4638         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4639         Use IFUNC to redirect when possible.
4641         * nptl/pt-fork.c: Rewritten.  Put everything under
4642         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4643         Use IFUNC to redirect when possible.
4644         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4646         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4647         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4648         unconditionally nowadays.  This included the only reference to
4649         __vdso_clock_gettime that appears outside libc proper.
4650         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4651         Remove version set (containing only __vdso_clock_gettime).
4652         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4653         Add attribute_hidden.
4654         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4655         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4656         libc_hidden_data_def.
4657         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4658         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4660         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4661         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4662         setrpcent, and getrpcport to ...
4663         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4664         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4665         getrpcbynumber_r, and getrpcent_r to ...
4666         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4667         * inet/getrpcbyname.c: Moved ...
4668         * sunrpc/getrpcbyname.c: ... here.
4669         * inet/getrpcbyname_r.c: Moved ...
4670         * sunrpc/getrpcbyname_r.c: ... here.
4671         * inet/getrpcbynumber.c: Moved ...
4672         * sunrpc/getrpcbynumber.c: ... here.
4673         * inet/getrpcbynumber_r.c: Moved ...
4674         * sunrpc/getrpcbynumber_r.c: ... here.
4675         * inet/getrpcent.c: Moved ...
4676         * sunrpc/getrpcent.c: ... here.
4677         * inet/getrpcent_r.c: Moved ...
4678         * sunrpc/getrpcent_r.c: ... here.
4679         * inet/Makefile (routines): Move those to ...
4680         * sunrpc/Makefile (routines): ... here.
4681         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4682         the $(subdirs) list.
4683         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4684         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4685         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4686         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4688         * elf/Makefile (routines): Include $(all-dl-routines), not just
4689         $(dl-routines).
4690         (rtld-routines): Likewise.  Use = rather than :=.
4691         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4692         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4693         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4694         * sysdeps/arm/Makefile: Likewise.
4695         * sysdeps/i386/Makefile: Likewise.
4696         * sysdeps/x86_64/Makefile: Likewise.
4697         * sysdeps/hppa/Makefile [$(subdir) = elf]
4698         (sysdep_routines, sysdep-rtld-routines): Don't add
4699         $(sysdep-dl-routines) to these.
4700         * sysdeps/ia64/Makefile: Likewise.
4701         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4702         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4703         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4704         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4705         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4706         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4707         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4708         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4709         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4710         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4711         these; sysdep-dl-routines alone is enough.
4713 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4715         [BZ #17932]
4716         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4717         where multiplication results in zero and third argument is finite
4718         and nonzero.
4719         * math/auto-libm-test-in: Add more tests of fma.
4720         * math/auto-libm-test-out: Regenerated.
4722         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4723         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4724         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4725         (_FP_CMP_EQ): Likewise.
4726         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4728         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4729         extra argument CHECK_NAN.  Redefine as wrapper around
4730         _FP_EXTEND_CNAN.
4732 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4734         * version.h (RELEASE): Set to "stable".
4735         (VERSION): Set to "2.21"
4736         * include/features.h (__GLIBC_MINOR__): Set to 21.
4738         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4740 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4741             Paul Eggert  <eggert@cs.ucla.edu>
4743         [BZ #16618]
4744         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4745         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4746         size in bytes. Store needed elements in wpmax. Use needed size
4747         in bytes for extend_alloca.
4749 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4751         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4752         binutls 2.25, and texinfo 5.2.
4753         * INSTALL: Regenerate.
4754         * sysdeps/nios2/configure: Regenerate.
4755         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4756         * manual/contrib.texi: Update.
4757         * po/be.po: Update.
4758         * po/bg.po: Update.
4759         * po/ca.po: Update.
4760         * po/cs.po: Update.
4761         * po/da.po: Update.
4762         * po/de.po: Update.
4763         * po/el.po: Update.
4764         * po/eo.po: Update.
4765         * po/es.po: Update.
4766         * po/fi.po: Update.
4767         * po/fr.po: Update.
4768         * po/gl.po: Update.
4769         * po/hr.po: Update.
4770         * po/hu.po: Update.
4771         * po/ia.po: Update.
4772         * po/id.po: Update.
4773         * po/it.po: Update.
4774         * po/ja.po: Update.
4775         * po/ko.po: Update.
4776         * po/lt.po: Update.
4777         * po/nb.po: Update.
4778         * po/nl.po: Update.
4779         * po/pl.po: Update.
4780         * po/pt_BR.po: Update.
4781         * po/ru.po: Update.
4782         * po/rw.po: Update.
4783         * po/sk.po: Update.
4784         * po/sl.po: Update.
4785         * po/sv.po: Update.
4786         * po/tr.po: Update.
4787         * po/uk.po: Update.
4788         * po/vi.po: Update.
4789         * po/zh_CN.po: Update.
4790         * po/zh_TW.po: Update.
4792         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4793         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4794         * sysdeps/hppa/dl-irel.h: Remove #warning.
4795         * sysdeps/hppa/entry.h: Provide prototype for
4796         __canonicalize_funcptr_for_compare and cast argument.
4797         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4798         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4799         * sysdeps/hppa/sotruss-lib.c: New file.
4800         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4801         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4802         (atomic_compare_and_exchange_bool_acq): Likewise.
4803         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4804         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4806         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4807         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4808         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4810 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4812         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4813         called function in non-PIC case.
4815 2015-01-31  David S. Miller  <davem@davemloft.net>
4817         * sysdeps/sparc/sparc32/bits/atomic.h
4818         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4819         unlock not after it.
4820         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4821         volatile register usage warnings from the compiler.
4823         * sysdeps/sparc/nptl/sem_init.c: Delete.
4824         * sysdeps/sparc/nptl/sem_post.c: Delete.
4825         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4826         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4827         * sysdeps/sparc/sparc32/sem_init.c: New file.
4828         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4829         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4830         padding explicitly initialized.
4831         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4832         padding for in-semaphore spinlock.
4833         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4834         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4835         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4836         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4837         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4838         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4839         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4840         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4841         version.
4842         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4843         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4845 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4847         [BZ #17801]
4848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4849         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4850         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4851         New.
4852         (index_AVX_Fast_Unaligned_Load): Likewise.
4853         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4854         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4855         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4856         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4857         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4858         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4859         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4860         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4861         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4863 2015-01-29  Andreas Schwab  <schwab@suse.de>
4865         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4867 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4869         [BZ #17892]
4870         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4872 2015-01-28  Martin Sebor  <msebor@redhat.com>
4874         * math/README.libm-test: Clarify. Add "How to read the test output."
4876 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4878         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4879         Define to 0.
4881 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4883         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4884         (__HAVE_64B_ATOMICS): Define to 0.
4886 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4888         [BZ #17885]
4889         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4890         value to set as new flag.
4892         [BZ #16576]
4893         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4894         and use _ARCH_PPCSQ instead.
4895         (__ieee754_sqrt): Likewise.
4896         (__ieee754_sqrtf): Likewise.
4897         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4898         _ARCH_PPCSQ is defined.
4899         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4900         fsqrt instruction.
4901         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4902         _ARCH_PPCSQ is defined.
4903         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4904         fsqrts instruction.
4905         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4907 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4909         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4910         bug (GCC BZ #64739).
4912 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4914         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4915         Mark _retval as used.
4916         (lll_futex_wake_unlock): Likewise.
4917         (lll_futex_timed_wait_requeue_pi): Likewise.
4919         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4920         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4921         register variables.
4923         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4924         libm_hidden_def.
4926         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4927         (__bswap_64): Mark as __always_inline.
4929 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4931         [BZ #15378]
4932         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4933         when none of the search directories exist.
4935 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4937         [BZ #17869]
4938         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4939         power8 in .machine directive.
4941         [BZ #17868]
4942         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4943         set dependency from opd value.
4945 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4948         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4949         architecture.
4951 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4953         [BZ #17870]
4954         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4955         with uint64_t.
4956         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4957         (uint64_t) 1.
4958         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4959         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4960         Replace 1UL with (uint64_t) 1.
4961         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4962         int with uint64_t.
4964 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4966         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4967         (if_freenameindex): Likewise.
4969         * resource/getrlimit64.c: Add missing libc_hidden_def.
4971 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4973         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4974         __label__.
4975         (_FP_FMA): Likewise.
4976         (_FP_TO_INT_ROUND): Likewise.
4977         (_FP_FROM_INT): Likewise.
4979 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4981         [BZ #16418]
4982         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4983         Make code racy and cancel safe.
4985 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4987         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4988         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4989         attribution.
4991         * pwd/tst-getpw.c: Rewrite.
4993         [BZ #17702]
4994         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4995         (modules-names): Add moddummy1 and moddummy2.
4996         ($(objpfx)tst-rec-dlopen): Define.
4997         * dlfcn/moddummy1.c: New file.
4998         * dlfcn/moddummy2.c: New file.
4999         * dlfcn/tst-rec-dlopen.c: New file.
5000         * elf/dl-cache.c (_dl_load_cache_lookup):
5001         Return char*. Copy result with alloca/strcpy/strdup.
5002         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
5003         returns char*. Free cached. If not saving realname
5004         free cached.
5005         * elf/dl-open.c (dl_open_worker): Do not assert that
5006         _r_debug->r_state is RT_CONSISTENT.
5007         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
5008         returns char*.
5010 2015-01-21  Torvald Riegel  <triegel@redhat.com>
5011             Carlos O'Donell  <carlos@redhat.com>
5013         [BZ #12674]
5014         * nptl/sem_waitcommon.c: New file.
5015         * nptl/sem_wait.c: Include sem_waitcommon.c.
5016         (__sem_wait_cleanup, do_futex_wait): Remove.
5017         (__new_sem_wait): Adapt.
5018         (__new_sem_trywait): New function.
5019         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5020         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5021         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5022         (sem_timedwait): Adapt.
5023         * nptl/sem_post.c (__new_sem_post): Adapt.
5024         (futex_wake): New function.
5025         (__old_sem_post): Add release MO fence.
5026         * nptl/sem_open.c (sem_open): Adapt.
5027         * nptl/sem_init.c (__new_sem_init): Adapt.
5028         (futex_private_if_supported): New function.
5029         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5030         (__old_sem_getvalue): Add using previous code.
5031         * sysdeps/nptl/internaltypes.h: Adapt.
5032         * nptl/tst-sem13.c (do_test): Adapt.
5033         * nptl/tst-sem11.c (main): Adapt.
5034         * nptl/sem_trywait.c: Remove.
5035         * nptl/DESIGN-sem.txt: Remove.
5036         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5037         (gen-as-const-headers): Remove structsem.sym.
5038         * nptl/structsem.sym: Remove.
5039         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5040         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5041         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5042         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5043         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5044         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5045         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5046         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5047         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5048         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5049         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5050         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5051         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5052         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5053         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5054         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5055         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5056         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5057         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5058         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5059         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5060         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5062 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5064         * INSTALL: Regenerated.
5066         * po/libc.pot: Regenerated.
5068 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5069             Sandra Loosemore  <sandra@codesourcery.com>
5070             Andrew Jenner  <andrew@codesourcery.com>
5071             Joseph Myers  <joseph@codesourcery.com>
5072             Nathan Sidwell  <nathan@codesourcery.com>
5074         * NEWS: Mention new Nios II port.
5075         * sysdeps/nios2/Implies: New file.
5076         * sysdeps/nios2/Makefile: New file.
5077         * sysdeps/nios2/Subdirs: New file.
5078         * sysdeps/nios2/Versions: New file.
5079         * sysdeps/nios2/__longjmp.S: New file.
5080         * sysdeps/nios2/abort-instr.h: New file.
5081         * sysdeps/nios2/backtrace.c: New file.
5082         * sysdeps/nios2/bits/endian.h: New file.
5083         * sysdeps/nios2/bits/fenv.h: New file.
5084         * sysdeps/nios2/bits/link.h: New file.
5085         * sysdeps/nios2/bits/setjmp.h: New file.
5086         * sysdeps/nios2/bsd-_setjmp.S: New file.
5087         * sysdeps/nios2/bsd-setjmp.S: New file.
5088         * sysdeps/nios2/configure: New generated file.
5089         * sysdeps/nios2/configure.ac: New file.
5090         * sysdeps/nios2/crti.S: New file.
5091         * sysdeps/nios2/crtn.S: New file.
5092         * sysdeps/nios2/dl-init.c: New file.
5093         * sysdeps/nios2/dl-machine.h: New file.
5094         * sysdeps/nios2/dl-sysdep.h: New file.
5095         * sysdeps/nios2/dl-tls.h: New file.
5096         * sysdeps/nios2/dl-trampoline.S: New file.
5097         * sysdeps/nios2/gccframe.h: New file.
5098         * sysdeps/nios2/gmp-mparam.h: New file.
5099         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5100         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5101         * sysdeps/nios2/ldsodefs.h: New file.
5102         * sysdeps/nios2/libc-tls.c: New file.
5103         * sysdeps/nios2/libm-test-ulps: New file.
5104         * sysdeps/nios2/machine-gmon.h: New file.
5105         * sysdeps/nios2/math-tests.h: New file.
5106         * sysdeps/nios2/math_private.h: New file.
5107         * sysdeps/nios2/memusage.h: New file.
5108         * sysdeps/nios2/nptl/Makefile: New file.
5109         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5110         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5111         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5112         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5113         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5114         * sysdeps/nios2/nptl/tls.h: New file.
5115         * sysdeps/nios2/preconfigure: New file.
5116         * sysdeps/nios2/s_fma.c: New file.
5117         * sysdeps/nios2/s_fmaf.c: New file.
5118         * sysdeps/nios2/setjmp.S: New file.
5119         * sysdeps/nios2/sfp-machine.h: New file.
5120         * sysdeps/nios2/sotruss-lib.c: New file.
5121         * sysdeps/nios2/stackguard-macros.h: New file.
5122         * sysdeps/nios2/stackinfo.h: New file.
5123         * sysdeps/nios2/start.S: New file.
5124         * sysdeps/nios2/sysdep.h: New file.
5125         * sysdeps/nios2/tls-macros.h: New file.
5126         * sysdeps/nios2/tst-audit.h: New file.
5127         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5128         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5129         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5130         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5131         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5132         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5133         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5134         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5135         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5136         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5137         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5138         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5139         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5140         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5141         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5142         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5143         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5144         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5145         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5146         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5147         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5148         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5149         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5150         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5151         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5152         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5153         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5154         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5155         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5156         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5157         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5158         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5159         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5160         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5161         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5162         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5163         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5164         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5165         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5166         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5167         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5168         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5169         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5170         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5172 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5174         [BZ #17844]
5175         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5176         (getutent): Use weak_alias in non SHARED case
5177         and default_symbol_version in SHARED case.
5178         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5179         (getutent_r, pututline): Likewise.
5180         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5181         (getutid): Likewise.
5182         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5183         (getutid_r): Likewise.
5184         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5185         (getutline): Likewise.
5186         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5187         (getutline_r): Likewise.
5188         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5189         (updwtmp): Likewise.
5191 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5193         [BZ #17848]
5194         * sysdeps/s390/s390-32/memcmp.S
5195         (memcmp_g5): Rename to __memcmp_g5.
5196         * sysdeps/s390/s390-32/memcpy.S
5197         (memcpy_g5): Rename to __memcpy_g5.
5198         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5199         (memcpy_mvcle) Rename to __memcpy_mvcle.
5200         * sysdeps/s390/s390-32/memset.S
5201         (memset_g5): Rename to __memset_g5.
5202         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5203         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5204         and use prefixed functions.
5205         * sysdeps/s390/s390-32/multiarch/memcmp.S
5206         (memcmp_z196): Rename to __memcmp_z196.
5207         (memcmp_z10): Rename to __memcmp_z10.
5208         (memcmp): Set alias to __memcmp_g5.
5209         (bcmp): Set alias to __memcmp_g5.
5210         * sysdeps/s390/s390-32/multiarch/memcpy.S
5211         (memcpy_z196): Rename to __memcpy_z196.
5212         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5213         (memcpy_z10): Rename to __memcpy_z10.
5214         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5215         (memcpy): Set alias to __memcpy_g5.
5216         * sysdeps/s390/s390-32/multiarch/memset.S
5217         (memset_z196): Rename to __memset_z196.
5218         Jump to __memset_mvcle instead of memset_mvcle.
5219         (memset_z10): Rename to __memset_z10.
5220         Jump to __memset_mvcle instead of memset_mvcle.
5221         (memset_mvcle) Rename to __memset_mvcle.
5222         (memset): Set alias to __memset_g5.
5223         * sysdeps/s390/s390-64/memcmp.S
5224         (memcmp_z900): Rename to __memcmp_z900.
5225         * sysdeps/s390/s390-64/memcpy.S
5226         (memcpy_z900): Rename to __memcpy_z900.
5227         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5228         (memcpy_mvcle) Rename to __memcpy_mvcle.
5229         * sysdeps/s390/s390-64/memset.S
5230         (memset_z900): Rename to __memset_z900.
5231         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5232         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5233         and use prefixed functions.
5234         * sysdeps/s390/s390-64/multiarch/memcmp.S
5235         (memcmp_z196): Rename to __memcmp_z196.
5236         (memcmp_z10): Rename to __memcmp_z10.
5237         (memcmp): Set alias to __memcmp_z900.
5238         (bcmp): Set alias to __memcmp_z900.
5239         * sysdeps/s390/s390-64/multiarch/memcpy.S
5240         (memcpy_z196): Rename to __memcpy_z196.
5241         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5242         (memcpy_z10): Rename to __memcpy_z10.
5243         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5244         (memcpy): Set alias to __memcpy_z900.
5245         * sysdeps/s390/s390-64/multiarch/memset.S
5246         (memset_z196): Rename to __memset_z196.
5247         Jump to __memset_mvcle instead of memset_mvcle.
5248         (memset_z10): Rename to __memset_z10.
5249         Jump to __memset_mvcle instead of memset_mvcle.
5250         (memset_mvcle) Rename to __memset_mvcle.
5251         (memset): Set alias to __memset_z900.
5253 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5255         [BZ #17748]
5256         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5257         __fesetenv instead of fesetenv.
5259 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5261         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5262         macro.
5264 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5266         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5267         regression on LE.
5269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5270         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5271         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5272         strncmp-power8 object.
5273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5274         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5275         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5276         * NEWS: Update.
5278 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5279             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5281         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5282         trailing byte check.
5284 2015-01-13  David S. Miller  <davem@davemloft.net>
5286         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5288 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5290         * login/logout.c (logout): Use memset rather than bzero.
5291         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5292         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5293         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5294         (_gethtbyaddr): Likewise.
5295         * locale/programs/simple-hash.c (bcopy): Macro removed.
5297 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5299         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5300         Add strcmp-power8 object.
5301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5302         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5303         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5304         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5305         __strcmp_power8 implementation.
5306         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5307         * NEWS: Update.
5309         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5310         Add strncpy-power8 and stpncpy-power8 objects.
5311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5312         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5313         implementations.
5314         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5315         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5316         __stpncpy_power8 implementation.
5317         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5318         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5319         __strncpy_power8 implementation.
5320         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5321         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5322         * NEWS: Update.
5324         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5325         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5326         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5328         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5329         strncat-power8 object.
5330         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5331         __strcat_power8 implementation.
5332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5333         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5334         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5335         optimized strcat for power8.
5337         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5338         strcpy-power8 and stpcpy-power8 objects.
5339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5340         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5341         implementations.
5342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5343         multiarch stpcpy implementation for POWER8.
5344         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5345         multiarch strcpy implementation for POWER8.
5346         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5347         __strcpy_power8 function.
5348         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5349         stpcpy for POWER8.
5350         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5351         strcpy for POWER8.
5352         * NEWS: Update.
5354 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5356         [BZ #16009]
5357         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5358         weights and rules. Use do_xfrm_cached if data fits in cache,
5359         do_xfrm otherwise.  Moved former main loop to...
5360         * (do_xfrm_cached): New function.
5361         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5362         find_idx, find_position and stack_push.
5363         * (find_idx): New function.
5364         * (find_position): Likewise.
5365         * localedata/sort-test.sh: Added test run for do_xfrm.
5366         * localedata/xfrm-test.c (main): Added command line option
5367         -nocache to run the test with strings that are too large for
5368         the STRXFRM cache.
5370 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5372         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5373         variable to lll_futex_wake call, not the value itself.
5375 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #17803]
5378         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5379         twom64.  Adjust value to 0x1p-64L.
5380         (__scalblnl): Only return standard underflowing result for K <=
5381         -64 not K <= -63; adjust exponent for underflowing result by 64
5382         not 63.
5383         * math/libm-test.inc (scalbn_test_data): Add more tests.
5384         (scalbln_test_data): Likewise.
5386         [BZ #17834]
5387         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5388         0x1p63L.
5389         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5390         not HX.
5391         * math/libm-test.inc (scalbn_test_data): Add more tests.
5392         (scalbln_test_data): Likewise.
5394 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5395             Stefani Seibold  <stefani@seibold.net>
5397         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5398         (sysdep_routines): Add dl-vdso here, ...
5399         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5400         (sysdep_routines): ... not here.
5401         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5402         fallback when vDSO is not presented.
5403         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5404         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5405         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5406         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5407         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5408         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5409         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5410         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5411         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5413         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5414         fallback configurable symbol when vDSO is not available.
5415         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5416         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5417         be able to redefine fallback symbol when vDSO is not available.
5418         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5419         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5421 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5423         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5424         (TLS_INIT_TP): Add tm_capable initialization.
5425         (TLS_DEFINE_INIT_TP): Likewise.
5426         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5427         TCB.
5428         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5429         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5430         calculation.
5431         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5432         transactoion is lock elision is built and TCB tm_capable is set.
5433         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5435         (INTERNAL_SYSCALL_NCS): Likewise.
5436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5437         (INTERNAL_SYSCALL_NCS): Likewise.
5438         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5440         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5441         for powerpc.
5442         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5443         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5444         and remove it for 32 bits case.
5445         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5446         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5447         initialization.
5448         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5449         Disable lock elision with rdlocks if elision is not available.
5451         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5452         (sysdep_routines): Add lock elision objects.
5453         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5454         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5455         [pthread_mutex_t] (__elision): Add field.
5456         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5457         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5458         elision definitions for powerpc.
5459         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5460         implementation of lock elision for powerpc.
5461         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5462         implementation of timed lock elision for powerpc.
5463         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5464         implementation of trylock with lock elision for powerpc.
5465         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5466         implementaion of unlock for lock elision for powerpc.
5467         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5468         automatic enable lock elision for mutexes.
5469         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5470         transaction execution definitions for powerpc.
5471         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5472         definitions.
5473         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5474         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5475         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5476         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5477         * NEWS: Update.
5479 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5481         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5482         for #include of <shm-directory.h>.
5484 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5486         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5487         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5489 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5491         [BZ #17791]
5492         * NEWS: Mention bug fix.
5493         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5494         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5495         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5497 2015-01-09  Torvald Riegel <triegel@redhat.com>
5499         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5501 2015-01-09  Torvald Riegel <triegel@redhat.com>
5503         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5505 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5507         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5508         pointer and cast to uintptr_t.
5510 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5512         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5513         removed.
5514         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5516 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5518         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5519         of 0.
5521 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5523         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5524         <nptl/pthreadP.h> instead.
5525         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5527         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5528         already defined.
5529         [__SIGRTMIN] (init): Function removed.
5530         [__SIGRTMIN] (initialized): Variable removed.
5531         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5532         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5533         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5534         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5535         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5536         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5537         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5538         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5539         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5540         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5541         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5542         * sysdeps/nptl/allocrtsig.c: New file.
5543         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5544         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5545         * sysdeps/generic/testrtsig.h: File removed.
5547         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5548         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5550         * nptl/nptl-init.c (pthread_functions): Conditionalize
5551         .ptr__nptl_setxid initialization on [SIGSETXID].
5553         * sysdeps/nptl/sys/procfs.h: New file.
5554         * nptl_db/Makefile (headers): Add it.
5555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5557         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5558         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5559         * nptl/pthread_attr_setaffinity.c: Include it.
5560         * nptl/pthread_setattr_default_np.c: Likewise.
5561         * nptl/check-cpuset.h: New file.
5563 2015-01-08  Richard Henderson  <rth@redhat.com>
5565         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5566         (CFLAGS-tst-execstack-prog.c): Likewise.
5567         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5569 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5570             Sandra Loosemore  <sandra@codesourcery.com>
5571             Andrew Jenner  <andrew@codesourcery.com>
5572             Joseph Myers  <joseph@codesourcery.com>
5573             Nathan Sidwell  <nathan@codesourcery.com>
5575         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5576         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5577         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5578         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5579         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5580         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5581         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5582         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5583         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5584         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5585         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5586         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5587         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5588         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5589         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5590         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5591         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5593 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5595         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5596         timespec struct member in syscall macro.
5597         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5598         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5599         first timeval struct member in syscall macro.
5600         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5602 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5604         [BZ #17748]
5605         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5606         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5607         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5608         __feupdateenv and define as weak alias of __feupdateenv.  Use
5609         libm_hidden_weak.
5610         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5611         libm_hidden_def.
5612         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5613         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5614         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5615         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5616         libm_hidden_def.
5617         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5618         __feupdateenv and define as weak alias of __feupdateenv.  Use
5619         libm_hidden_weak.
5620         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5621         libm_hidden_def.
5622         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5623         __feupdateenv and define as weak alias of __feupdateenv.  Use
5624         libm_hidden_weak.
5625         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5626         libm_hidden_def.
5627         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5628         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5629         (__feupdateenv): Likewise.
5630         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5631         __feupdateenv and define as weak alias of __feupdateenv.  Use
5632         libm_hidden_weak.
5633         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5634         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5635         libm_hidden_def.
5636         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5637         function.
5638         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5639         libm_hidden_def.
5640         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5641         __feupdateenv instead of feupdateenv.
5642         (default_libc_feupdateenv_test): Likewise.
5643         (libc_feresetround_ctx): Likewise.
5645 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5647         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5648         prototype.
5650 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5652         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5653         COLL_SYM in a couple of places to avoid uninitialized variable
5654         wanings on tilegx gcc 4.8.2.
5656 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5658         * sysdeps/aarch64/strcpy.S: New file.
5659         * sysdeps/aarch64/stpcpy.S: New file.
5660         * NEWS: Updated.
5662 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5664         * sysdeps/aarch64/strrchr.S: New file.
5665         * NEWS: Updated.
5667 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5669         [BZ #17658]
5670         * stdlib/setenv.c: Fix memory leak when setting large,
5671         duplicate string.
5673 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5675         [BZ #17273]
5676         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5677         and tabs from buffer before parsing fstab entry.
5678         * misc/tst-mntent.c (main): Add test for mount entry with
5679         trailing spaces and tabs.
5681 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5683         [BZ #17748]
5684         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5685         * math/fesetround.c (fesetround): Rename to __fesetround and
5686         define as weak alias of __fesetround.  Use libm_hidden_weak.
5687         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5688         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5689         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5690         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5691         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5692         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5693         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5694         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5695         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5696         __fesetround_inline.
5697         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5698         __fesetround_inline instead of __fesetround.
5699         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5700         __fesetround and define as weak alias of __fesetround.  Use
5701         libm_hidden_weak.  Call __fesetround_inline instead of
5702         __fesetround.
5703         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5704         __fesetround and define as weak alias of __fesetround.  Use
5705         libm_hidden_weak.
5706         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5707         Likewise.
5708         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5709         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5710         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5711         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5712         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5713         __fesetround and define as weak alias of __fesetround.  Use
5714         libm_hidden_weak.
5715         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5716         __fesetround instead of fesetround.
5717         (default_libc_feholdexcept_setround): Likewise.
5718         (libc_feholdsetround_ctx): Likewise.
5719         (libc_feholdsetround_noex_ctx): Likewise.
5721         [BZ #17748]
5722         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5723         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5724         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5725         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5726         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5727         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5728         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5729         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5730         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5731         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5732         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5733         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5734         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5735         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5736         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5737         libm_hidden_def.
5738         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5739         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5740         Likewise.
5741         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5742         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5743         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5744         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5745         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5746         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5747         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5748         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5749         __fesetenv instead of fesetenv.
5750         (libc_feresetround_noex_ctx): Likewise.
5751         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5752         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5753         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5754         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5755         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5756         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5757         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5758         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5759         (__feupdateenv): Likewise.
5760         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5761         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5762         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5763         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5765 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5767         [BZ #17806]
5768         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5769         addresses have been freed.
5771 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5773         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5774         and nservall.
5776 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5778         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5779         Clean up check_pf allocation pattern. addresses
5781 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5783         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5784         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5785         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5786         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5787         * nptl/pthread_join.c (pthread_join): Likewise.
5788         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5789         * sysdeps/posix/waitid.c (__waitid): Likewise.
5790         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5791         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5792         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5793         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5794         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5795         Likewise.
5796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5797         (__libc_pread64): Likewise.
5798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5799         (__libc_pwrite): Likewise.
5800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5801         (__libc_pwrite64): Likewsie.
5802         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5803         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5804         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5805         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5806         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5807         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5808         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5810         Likewise.
5811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5812         (__libc_pread64): Likewise.
5813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5816         (__libc_pwrite64): Likewise.
5817         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5818         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5819         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5820         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5821         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5822         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5823         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5824         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5825         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5826         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5827         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5828         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5829         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5830         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5831         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5832         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5833         Likewise.
5835 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5837         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5838         (CFLAGS-test-double.c): Likewise.
5839         (CFLAGS-test-ldouble.c): Likewise.
5840         (CPPFLAGS-test-ifloat.c): Likewise.
5841         (CPPFLAGS-test-idouble.c): Likewise.
5842         (CPPFLAGS-test-ildoubl.c): Likewise.
5843         (CFLAGS-test-test-fenv.c): Remove variable.
5844         (CFLAGS-test-misc.c): Likewise.
5846 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5848         [BZ #17797]
5849         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5850         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5851         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5852         CLOCKS_PER_SEC == 1000000.
5853         * time/clocktest.c (main): Replace %ld with %jd and cast to
5854         intmax_t.
5856 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5858         * sysdeps/generic/unwind-resume.h: New file.
5859         * sysdeps/gnu/unwind-resume.c: Include it.
5860         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5861         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5862         argument list.
5863         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5864         global rather than static.
5865         (_Unwind_Resume): Update user.
5866         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5867         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5868         rather than static.  Add __attribute__ ((cold)).
5869         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5870         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5871         * sysdeps/arm/arm-unwind-resume.S: New file.
5872         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5873         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5874         * sysdeps/arm/Makefile [$(subdir) = csu]
5875         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5876         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5877         Add rt-arm-unwind-resume.
5878         [$(subdir) = nptl]
5879         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5880         Add pt-arm-unwind-resume.
5881         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5882         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5884 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5886         [BZ #17748]
5887         * include/fenv.h (__feholdexcept): Declare.  Use
5888         libm_hidden_proto.
5889         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5890         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5891         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5892         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5893         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5894         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5895         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5896         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5897         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5898         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5899         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5900         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5901         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5902         (feholdexcept): Likewise.
5903         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5904         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5905         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5906         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5907         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5908         __feholdexcept instead of feholdexcept.
5909         (default_libc_feholdexcept_setround): Likewise.
5911 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5913         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5914         to avoid using stl/str to align destination.
5916 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5918         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5920 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5922         [BZ #17796]
5923         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5924         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5925         Define as weak alias not strong alias.
5927 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5929         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5930         bltzal with addiupc.
5931         (RTLD_START): Ditto.
5933 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5935         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5936         for __vdso_* functions in declarations.
5937         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5938         definitions.
5939         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5940         INTERNAL_VSYSCALL): Use struct return types to check for error.
5942         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5943         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5944         function with cast from llround().
5945         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5946         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5947         Define.
5949 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5951         [BZ #17793]
5952         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5953         Define as weak alias not strong alias.
5955         [BZ #17635]
5956         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5957         ...
5958         * ctype/ctype-extn.c: ... here.
5959         (__isblank_l): Move to ...
5960         * ctype/ctype-c99_l.c: ... here.  New file.
5961         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5962         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5963         Remove variable.
5964         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5965         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5966         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5967         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5968         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5970         [BZ #17777]
5971         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5972         (posix_fadvise64): Define as weak alias not strong alias.
5973         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5974         (posix_fallocate64): Likewise.
5975         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5976         Remove variable.
5977         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5978         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5979         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5980         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5981         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5983 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5985         [BZ #16191]
5986         * NEWS: Mention bug fix.
5987         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5988         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5989         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5990         (HOST_STACK_END_ADDR): Likewise.
5992 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5994         [BZ #17748]
5995         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5996         * math/fegetround.c (fegetround): Rename to __fegetround and
5997         define as weak alias of __fegetround.  Use libm_hidden_weak.
5998         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5999         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
6000         * sysdeps/arm/fegetround.c (fegetround): Likewise.
6001         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
6002         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6003         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
6004         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
6005         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
6006         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6007         Undefine after rather than before function definition; use
6008         parentheses around function name in definition.
6009         (__fegetround): Also undefine macro after function definition.
6010         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
6011         __fegetround and define as weak alias of __fegetround.  Use
6012         libm_hidden_weak.  Do not undefine as macro.
6013         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6014         Likewise.
6015         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6016         __fegetround and define as weak alias of __fegetround.  Use
6017         libm_hidden_weak.
6018         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6019         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6020         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6021         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6022         __fegetround and define as weak alias of __fegetround.  Use
6023         libm_hidden_weak.
6024         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6025         __fegetround instead of fegetround.
6027         [BZ #17782]
6028         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6029         Condition macro definition on [__USE_MISC].
6031         [BZ #17781]
6032         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6033         (struct sigaction): Change type of sa_flags field to int.
6035         [BZ #17780]
6036         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6037         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6038         __glibc_reserved0.
6040         * nptl/version.c (banner): Use single year in copyright notice.
6042         * NEWS: Update copyright dates.
6043         * catgets/gencat.c (print_version): Likewise.
6044         * csu/version.c (banner): Likewise.
6045         * debug/catchsegv.sh: Likewise.
6046         * debug/pcprofiledump.c (print_version): Likewise.
6047         * debug/xtrace.sh (do_version): Likewise.
6048         * elf/ldconfig.c (print_version): Likewise.
6049         * elf/ldd.bash.in: Likewise.
6050         * elf/pldd.c (print_version): Likewise.
6051         * elf/sotruss.sh: Likewise.
6052         * elf/sprof.c (print_version): Likewise.
6053         * iconv/iconv_prog.c (print_version): Likewise.
6054         * iconv/iconvconfig.c (print_version): Likewise.
6055         * locale/programs/locale.c (print_version): Likewise.
6056         * locale/programs/localedef.c (print_version): Likewise.
6057         * login/programs/pt_chown.c (print_version): Likewise.
6058         * malloc/memusage.sh (do_version): Likewise.
6059         * malloc/memusagestat.c (print_version): Likewise.
6060         * malloc/mtrace.pl: Likewise.
6061         * manual/libc.texinfo: Likewise.
6062         * nptl/version.c (banner): Likewise.
6063         * nscd/nscd.c (print_version): Likewise.
6064         * nss/getent.c (print_version): Likewise.
6065         * nss/makedb.c (print_version): Likewise.
6066         * posix/getconf.c (main): Likewise.
6067         * scripts/test-installation.pl: Likewise.
6068         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6070 2015-01-02  Will Newton  <will.newton@linaro.org>
6072         * sysdeps/arm/armv7/configure: Removed.
6073         * sysdeps/arm/armv7/configure.ac: Likewise.
6075 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6077         * All files with FSF copyright notices: Update copyright dates
6078         using scripts/update-copyrights.
6079         * intl/plural.c: Regenerated.
6080         * locale/programs/charmap-kw.h: Likewise.
6081         * locale/programs/locfile-kw.h: Likewise.
6083 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6085         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6087 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6089         [BZ #17748]
6090         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6091         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6092         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6093         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6094         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6095         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6096         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6097         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6098         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6099         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6100         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6101         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6102         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6103         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6104         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6105         libm_hidden_def.
6106         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6108         Likewise.
6109         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6110         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6111         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6112         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6113         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6114         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6115         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6116         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6117         __fegetenv instead of fegetenv.
6118         (libc_feholdsetround_noex_ctx): Likewise.
6120 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6122         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6123         (Elf_MIPS_ABIFlags_v0): New structure.
6124         (EF_MIPS_FP64): Define.
6125         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6126         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6127         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6128         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6129         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6130         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6131         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6132         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6133         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6134         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6135         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6136         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6137         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6138         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6139         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6140         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6141         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6142         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6143         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6144         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6145         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6146         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6147         field.
6148         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6149         EF_MIPS_FP64.
6150         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6151         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6152         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6153         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6154         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6155         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6156         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6157         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6158         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6159         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6160         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6161         record the current FP ABI extension.
6162         (mips-mode-switch): Define to show if kernel headers support mode
6163         switching.
6164         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6165         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6166         supported SYSV ABI version to 3.
6167         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6168         feature.
6170 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6171             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6173         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6174         path.
6175         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6177 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6179         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6180         __fegetround and redefine to call __fegetround.  Remove condition
6181         on [!__NO_MATH_INLINES].
6182         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6183         function.
6184         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6185         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6186         Remove macro.
6187         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6188         instead of <fenv_libc.h>.
6189         (__llrintl): Call fegetround instead of __fegetround.
6190         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6191         instead of <fenv_libc.h>.
6192         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6193         (__lrintl): Call fegetround instead of __fegetround.
6194         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6195         instead of <fenv_libc.h>.
6196         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6197         (__rintl): Call fegetround instead of __fegetround.
6199 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6201         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6202         arrays.
6204 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6206         [BZ #17775]
6207         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6208         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6209         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6211 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6213         * sysdeps/i386/tls-macros.h: Include <features.h>.
6214         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6215         (TLS_IE): Likewise.
6216         (TLS_LD): Likewise.
6217         (TLS_GD): Likewise.
6218         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6219         define for GCC >= 5.0.
6221 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6223         * math/test-fenv.c (test_single_exception, set_single_exc,
6224         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6225         feexcp_mask_test, feenable_test, fe_single_test): Add
6226         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6227         case where they are not used.
6228         * math/libm-test.inc: Likewise.
6229         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6230         unused in the absence of FP rounding/exception support.
6231         * stdio-common/tst-printf-round.c: Likewise.
6232         * stdlib/tst-strtod-round.c: Likewise.
6233         * stdlib/tst-strtod-underflow.c: Likewise.
6235 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6237         [BZ #17723]
6238         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6239         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6240         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6241         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6242         libm_hidden_weak.
6243         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6244         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6245         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6246         libm_hidden_def.
6247         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6248         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6249         libm_hidden_weak.
6250         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6251         Likewise.
6252         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6253         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6254         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6255         libm_hidden_weak.
6256         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6257         libm_hidden_def.
6258         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6259         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6260         (__feraiseexcept): Likewise.
6261         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6262         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6263         libm_hidden_weak.
6264         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6265         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6266         libm_hidden_def.
6267         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6268         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6269         Use libm_hidden_def.
6270         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6271         libm_hidden_def.
6272         (feraiseexcept): Define as weak not strong alias.  Use
6273         libm_hidden_weak.
6274         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6275         New inline function.  Factored out of ...
6276         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6277         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6278         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6279         feraiseexcept.
6280         * math/w_acos.c (__acos): Likewise.
6281         * math/w_asin.c (__asin): Likewise.
6282         * math/w_ilogb.c (__ilogb): Likewise.
6283         * math/w_j0.c (y0): Likewise.
6284         * math/w_j1.c (y1): Likewise.
6285         * math/w_jn.c (yn): Likewise.
6286         * math/w_log.c (__log): Likewise.
6287         * math/w_log10.c (__log10): Likewise.
6288         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6289         * sysdeps/aarch64/fpu/math_private.h
6290         (libc_feupdateenv_test_aarch64): Likewise.
6291         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6292         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6293         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6294         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6295         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6296         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6297         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6298         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6299         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6300         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6302 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6304         [BZ #17732]
6305         * io/test-utime.c (main): Replace %ld with %jd and cast to
6306         intmax_t.
6307         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6308         * nptl/tst-mutex5.c: Include <stdint.h>.
6309         (do_test): Replace %ld with %jd and cast to intmax_t.
6310         * posix/tst-regex.c (run_test): Likewise.
6311         (run_test_backwards): Likewise.
6312         * rt/tst-clock.c: Include <stdint.h>.
6313         (clock_test): Replace %ld with %jd and cast to intmax_t.
6314         * rt/tst-cpuclock1.c: Include <stdint.h>.
6315         (do_test): Replace %lu with %ju and cast to uintmax_t.
6316         * rt/tst-cpuclock2.c: Include <stdint.h>.
6317         (do_test): Replace %lu with %ju and cast to uintmax_t.
6318         * rt/tst-mqueue1.c: Include <stdint.h>.
6319         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6320         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6321         intmax_t.
6322         * rt/tst-mqueue4.c (do_test): Likewise.
6323         * rt/tst-timer4.c: Include <stdint.h>.
6324         (check_ts): Replace %ld with %jd and cast to intmax_t.
6325         (do_test): Likewise.
6326         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6327         and cast to intmax_t.
6328         * sysdeps/pthread/tst-timer.c (main): Likewise.
6329         * time/clocktest.c (main): Likewise.
6330         * time/tst-posixtz.c (do_test): Likewise.
6331         * timezone/tst-timezone.c (main): Likewise.
6333 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6334             H.J. Lu  <hongjiu.lu@intel.com>
6336         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6337         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6338         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6339         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6340         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6341         version if bit_Fast_Unaligned_Load is set.
6342         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6343         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6344         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6345         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6346         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6347         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6349         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6350         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6351         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6352         to 4.
6353         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6354         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6355         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6356         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6358 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6360         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6361         instead of #if to avoid a Wundef warning.
6362         * stdlib/tst-limits.c (do_test): Likewise.
6364         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6365         parallel other exception macros.
6366         (fegetenv): Convert from macro to extern inline so that it applies
6367         retroactively to inline functions already seen by the compiler.
6368         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6370         * posix/Makefile (before-compile): Use $(objpfx) for
6371         posix-conf-vars-def.h.
6373 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6375         * posix/getconf.c (main): Use size_t for type of I.
6376         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6377         NSPEC.
6379         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6380         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6381         * posix/posix-envs.def: Likewise.
6382         * sysdeps/posix/sysconf.c: Likewise.
6383         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6384         (specs): Remove array.
6385         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6386         array.
6388         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6389         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6390         (__sysconf): Use CONF_IS_* macros.
6392         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6393         ($(objpfx)posix-conf-vars-def.h): New target.
6394         * posix/posix-conf-vars.list: New file.
6395         * posix/posix-conf-vars.h: New file.
6396         * posix/confstr.c: Include posix-conf-vars.h.
6397         (confstr): Use CONF_IS_* macros.
6398         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6399         CONF_IS_* macros.
6400         * scripts/gen-posix-conf-vars.awk: New file.
6402 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6404         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6405         fegetround): Add no-op macros to avoid linknamespace issues.
6407         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6408         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6410         * sysdeps/unix/sysv/linux/tile/sysdep.h
6411         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6412         assembly-specific section to avoid a redefinition warning.
6414         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6415         long before casting to pointer to avoid a cast warning.
6417 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6419         * sysdeps/tile/tilegx/Implies: New file.
6421 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6423         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6425 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6427         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6429 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6431         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6432         not define.
6433         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6434         <kernel-features.h>.
6435         (__utimes) [__NR_utimes]: Make code unconditional.
6436         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6437         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6438         (__ASSUME_UTIMES): Do not undefine.
6439         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6440         (__ASSUME_UTIMES): Likewise.
6441         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6442         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6443         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6444         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6446 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6448         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6450 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6452         [BZ #17747]
6453         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6454         alias to weak alias for j0l, y0l.
6455         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6456         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6458         [BZ #17746]
6459         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6460         conversion.
6462 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6464         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6465         to zero if not already defined.
6467 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6469         [BZ #17724]
6470         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6471         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6472         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6473         (char *) casts added.
6474         * sysdeps/ieee754/k_standardf.c: New file.
6475         * sysdeps/ieee754/k_standardl.c: Likewise.
6476         * math/Makefile (libm-support): Remove k_standard.
6477         (libm-calls): Add k_standard.
6479 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6481         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6482         Optimize to avoid an unnecessary FPCR read.
6484 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6486         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6487         Optimize to reduce FPCR/FPSR accesses.
6489 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6491         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6492         Call libc_fetestexcept_aarch64.
6494 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6496         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6497         Call libc_fesetround_aarch64.
6499 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6501         [BZ #17733]
6502         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6503         (__bind): Do not define as weak alias.
6504         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6505         define.
6506         (__getsockname): Do not define as weak alias.
6508 2014-12-22  Will Newton  <will.newton@linaro.org>
6510         * manual/install.texi: Document that we require bison 2.7
6511         or above.
6512         * INSTALL: Regenerate.
6513         * configure.ac: Use AC_CHECK_PROG_VER instead of
6514         AC_PATH_PROG when checking for bison and check for
6515         version 2.7 or above.
6516         * configure: Regenerate.
6518 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6520         [BZ #17745]
6521         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6522         * sysdeps/tile/ffsll.c (ffsll): To here.
6524         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6526 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6528         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6529         if not defined.
6530         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6531         definition.
6532         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6533         hidden ___tls_get_addr.
6534         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6535         hidden __tls_get_addr.
6536         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6537         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6538         Likewise.
6540 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6542         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6543         _dl_init call.
6545 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6547         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6548         from "call _dl_init@PLT".
6549         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6551 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6553         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6554         guarantees.
6556 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6558         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6560 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6562         [BZ #17744]
6563         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6564         strnlen.
6566 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6568         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6569         of multu on MIPSr6.
6570         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6571         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6572         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6573         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6574         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6576 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6578         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6579         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6580         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6581         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6582         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6583         mips32r6/mips64r6.
6584         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6586 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6588         * string/strncat.c (STRNCAT): Simplify implementation.
6590 2014-12-19  David S. Miller  <davem@davemloft.net>
6592         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6593         access the quad as both a long double and as a series of 4 words.
6595         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6596         link_map->l_info array access.
6598 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6600         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6602         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6603         * math/atest-exp2.c (TIMEOUT): Likewise.
6604         * math/atest-sincos.c (TIMEOUT): Likewise.
6606 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6608         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6609         -Wno-error with -fno-builtin-lround.
6611 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6613         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6614         Contains futex constants and functions moved over from ...
6615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6616         <lowlevellock-futex.h>.
6617         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6618         (lll_timedwait_tid): Add comments and parentheses around macro
6619         arguments.
6621 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6623         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6624         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6625         (__lll_private_flag): Remove.
6626         (lll_futex_wait): Likewise.
6627         (lll_futex_timed_wait): Likewise.
6628         (lll_futex_wake): Likewise.
6629         (lll_futex_requeue): Likewise.
6630         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6631         (__lll_timedwait_tid): Spell out argument names.
6632         (lll_timedwait_tid): Add comments and parentheses around macro
6633         arguments.
6634         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6635         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6637 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6639         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6640         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6641         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6642         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6643         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6644         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6645         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6646         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6647         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6648         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6650         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6652         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6653         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6654         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6655         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6656         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6657         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6659 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6661         * sysdeps/x86_64/x32/Makefile: New file.
6663 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6665         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6666         1L with (mp_limb_t) 1.
6668 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6670         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6671         * nptl/libc_pthread_init.c: ... here.
6672         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6673         * nptl/register-atfork.c: ... here.
6675         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6676         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6677         Use assert_perror to check its return value.
6678         (__gai_create_helper_thread): Likewise.
6680         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6682         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6684 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6686         [BZ #17725]
6687         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6688         __profil_counter.
6689         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6690         Likewise.
6691         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6692         Likewise.
6693         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6694         Likewise.
6695         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6696         (profil_counter): Likewise.
6697         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6698         (profil_counter): Likewise.
6699         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6702         Likewise.
6703         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6704         (profil_counter): Likewise.
6705         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6706         Likewise.
6707         [!__profil_counter] (profil_counter): Define as weak alias of
6708         __profil_counter.
6709         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6710         (profil_counter): Rename to __profil_counter.
6711         [!__profil_counter] (profil_counter): Define as weak alias of
6712         __profil_counter.
6713         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6714         (profil_counter): Rename to __profil_counter.
6715         [!__profil_counter] (profil_counter): Define as weak alias of
6716         __profil_counter.
6717         * sysdeps/posix/profil.c: Update comment referring to
6718         profil_counter.
6719         (__profil): Use __profil_counter instead of profil_counter.
6720         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6721         __profil_counter.  Use __profil_counter_ushort and
6722         __profil_counter_uint in definitions.
6723         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6724         instead of profil_counter_uint and profil_counter_ushort.
6726         [BZ #17722]
6727         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6728         define as weak alias of __inet_makeaddr.
6729         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6730         as weak alias of __inet_addr.
6731         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6732         as weak alias of __inet_pton.  Use libc_hidden_weak.
6733         * include/arpa/inet.h (__inet_pton): Declare.  Use
6734         libc_hidden_proto.
6735         (inet_makeaddr): Don't use libc_hidden_proto.
6736         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6737         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6738         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6739         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6740         Remove variable.
6741         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6742         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6744 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6746         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6748 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6750         * stdio-common/bug-vfprintf-nargs.c (do_test):
6751         Cast value to intptr_t to avoid format warning
6752         for usage with PRIdPTR printing macro.
6754 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6756         * libio/tst-widetext.c (do_test):
6757         Use format type %td instead of %Zd for ptrdiff_t
6758         in order to avoid format warning.
6760 2014-12-17  Andreas Schwab  <schwab@suse.de>
6762         * nscd/mem.c (gc): Add size_t cast to match printf format.
6764 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6766         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6767         (init): Apply PTR_MANGLE to pointers before storing them.
6768         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6769         before using them.
6771 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6773         [BZ #17719]
6774         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6775         define as weak alias of __memrchr.
6776         (__memrchr): Do not define as strong alias of memrchr.
6777         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6778         Remove variable.
6779         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6780         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6781         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6783         [BZ #17717]
6784         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6785         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6786         (if_indextoname): Rename to __if_indextoname and define as weak
6787         alias of __if_indextoname.  Use libc_hidden_weak.
6788         (if_freenameindex): Rename to __if_freenameindex and define as
6789         weak alias of __if_freenameindex.
6790         (if_nameindex): Rename to __if_nameindex and define as weak alias
6791         of __if_nameindex.
6792         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6793         __if_nametoindex and define as weak alias of __if_nametoindex.
6794         Use libc_hidden_weak.
6795         (if_freenameindex): Rename to __if_freenameindex and define as
6796         weak alias of __if_freenameindex.
6797         (if_nameindex): Rename to __if_nameindex and define as weak alias
6798         of __if_nameindex.
6799         (if_indextoname): Rename to __if_indextoname and define as weak
6800         alias of __if_indextoname.  Use libc_hidden_weak.
6801         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6802         __if_nametoindex and define as weak alias of __if_nametoindex.
6803         Use libc_hidden_weak.
6804         (if_freenameindex): Rename to __if_freenameindex and define as
6805         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6806         (if_nameindex_netlink): Use __if_freenameindex instead of
6807         if_freenameindex.
6808         (if_nameindex): Rename to __if_nameindex and define as weak alias
6809         of __if_nameindex.  Use libc_hidden_weak.
6810         (if_indextoname): Rename to __if_indextoname and define as weak
6811         alias of __if_indextoname.  Use libc_hidden_weak.
6812         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6813         libc_hidden_proto.
6814         [!_ISOMAC] (__if_freenameindex): Likewise.
6815         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6816         if_nametoindex.
6817         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6818         variable.
6819         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6820         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6821         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6822         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6823         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6824         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6825         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6827         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6828         Remove variable.
6829         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6830         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6832 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6834         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6835         subscript above bounds'
6837         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6838         bounds.
6840 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6842         * libio/tst-fopenloc.c: Use test-skeleton.c.
6844         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6845         (entry): Rename to ITEM.
6846         (do_test, comp): Adjust.
6848         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6850 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6852         * string/tester.c: Include <libc-internal.h>.
6853         (test_memset): Ignore -Wmemset-transposed-args.
6855 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6857         * misc/tst-mntent2.c (do_test): Fix warning.
6859 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6861         * elf/tst-unique4lib.cc(a): Mark as used.
6863 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6865         [BZ #17630]
6866         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6867         names.
6869 2014-12-16  Allan McRae  <allan@archlinux.org>
6871         * stdio-common/Makefile (tests): Re-add bug26.
6873 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6875         [BZ #17657]
6876         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6877         static array.
6879 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6881         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6882         (__lll_lock_wait): Likewise.
6883         (__lll_timedlock_wait): Likewise.
6884         (__lll_timedwait_tid): Likewise.
6885         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6886         (__lll_robust_timedlock_wait): Likewise.
6887         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6888         (lll_cond_trylock): Likewise.
6889         (__lll_lock): Likewise.
6890         (__lll_robust_lock): Likewise.
6891         (__lll_cond_lock): Likewise.
6892         (lll_robust_cond_lock): Likewise.
6893         (__lll_timedlock): Likewise.
6894         (__lll_robust_timedlock): Likewise.
6895         (__lll_unlock): Likewise.
6896         (__lll_robust_unlock): Likewise.
6897         (lll_wait_tid): Likewise.
6898         (lll_timedwait_tid): Likewise.
6900 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6902         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6904 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6906         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6908 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6910         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6911         * stdio-common/tst-sprintf.c: Likewise.
6913 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6915         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6917 2014-12-15  Jeff Law  <law@redhat.com>
6919         [BZ #16617]
6920         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6921         on the heap.  (CVE-2012-3406)
6922         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6923         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6924         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6926 2014-12-15  Will Newton  <will.newton@linaro.org>
6928         * manual/install.texi: Bump required version of texinfo
6929         to 4.7 from 4.5.
6930         * INSTALL: Regenerated.
6931         * configure.ac: Check for makeinfo version 4.7 and above.
6932         * configure: Regenerated.
6934 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6936         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6937         PREFIX, string constant to insert between directory and name.
6938         * sysdeps/posix/shm_open.c: Update caller.
6939         * sysdeps/posix/shm_unlink.c: Likewise.
6940         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6941         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6942         (SEM_SHM_PREFIX): New macro.
6943         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6944         [$(have-thread-library) = no].
6945         * nptl/Makefile (libpthread-routines): Add shm-directory.
6946         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6947         * sysdeps/nptl/shm-directory.h: New file.
6948         * sysdeps/posix/shm-directory.c
6949         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6950         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6951         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6952         INTERNAL_SYSCALL.
6953         (__where_is_shmfs): Function removed.
6954         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6955         Variables removed.
6956         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6957         Use SHM_GET_NAME.
6958         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6960         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6961         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6962         unconditional for use inside libpthread.
6963         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6965 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6967         * nptl/pthread_getaffinity.c: New file.
6968         * nptl/pthread_setaffinity.c: New file.
6969         * nptl/pthread_getname.c: New file.
6970         * nptl/pthread_setname.c: New file.
6972         * nptl/pthread_create.c (START_THREAD_DEFN)
6973         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6975 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6976             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6978         * resolv/res_send.c (send_vc): Disable warning resplen may
6979         be used uninitialized.
6981 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6983         * nptl/tst-mutex6.c
6984         (ATTR_NULL): New define checks ATTR against NULL.
6985         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6986         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6988 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6990         [BZ #17581]
6991         * malloc/hooks.c
6992         (mem2mem_check): Revert my previous change.
6993         (malloc_check_get_size): Revert my previous change.
6994         (mem2chunk_check): Revert my previous change.
6996 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6998         * sysdeps/posix/shm-directory.c: New file.
6999         * sysdeps/posix/shm-directory.h: New file.
7000         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
7001         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
7002         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
7003         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
7004         Transmute EPERM to EACCES.
7005         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
7006         from ...
7007         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
7008         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
7010 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7012         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7013         pointer and cast to uintptr_t.
7014         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7015         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7016         Add cast to avoid warning.
7017         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7019 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7021         * nptl/semaphore.h: Move to ...
7022         * sysdeps/pthread/semaphore.h: ... here.
7023         * Makefile (installed-headers): Change nptl/semaphore.h to
7024         sysdeps/pthread/semaphore.h.
7026 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7028         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7029         generated error format strings.
7031         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7032         -Wformat-extra-args warnings for scanf formats.
7033         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7034         test of zero-length format (duh).
7035         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7036         corner-case scanf format test.
7037         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7038         generated fprintf format string.
7039         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7040         corner-case sprintf format tests.
7041         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7042         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7043         -Wformat-extra-args warnings throughout.
7044         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7045         (CFLAGS-scanf4.c): Likewise.
7046         (CFLAGS-scanf7.c): Likewise.
7047         (CFLAGS-tst-sprintf.c): Likewise.
7048         (CFLAGS-tst-printf.c): Likewise.
7049         (CFLAGS-tst-printfsz.c): Likewise.
7051 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7053         * include/cpio.h: New file.
7054         * include/fmtmsg.h: Likewise.
7056         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7057         corresponding format argument to size_t.
7058         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7059         arguments.
7060         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7061         corresponding format argument to size_t.
7062         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7063         arguments.
7064         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7065         corresponding format argument to size_t.
7066         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7067         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7068         (CFLAGS-tst-mbswcs2.c): Likewise.
7069         (CFLAGS-tst-mbswcs3.c): Likewise.
7070         (CFLAGS-tst-mbswcs4.c): Likewise.
7071         (CFLAGS-tst-mbswcs5.c): Likewise.
7072         (CFLAGS-tst-trans.c): Likewise
7074 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7076         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7077         rather than assuming they won't contain any '%'s.
7079 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7081         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7082         inhibit_loop_to_libcall to avoid recursive calls.
7083         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7084         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7086 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7088         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7089         prototype.
7091 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7093         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7094         integer value instead of boolean.
7096 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7098         * malloc/malloc.c: Fix powerof2 check.
7100 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7102         * locale/programs/locfile.h (maybe_swap_uint32):
7103         Remove inline and add unused attribute.
7105 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7107         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7108         Truncating assembler expression to a .long expression.
7110 2014-12-11  Andreas Schwab  <schwab@suse.de>
7112         * elf/rtld.c (struct map_args): Constify str member.
7113         (do_preload): Constify fname argument.
7115 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7117         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7118         constants definition.
7120 2014-12-11  Andreas Schwab  <schwab@suse.de>
7122         [BZ #16657]
7123         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7124         FORCE_ELISION instead of DO_ELISION.
7125         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7126         Remove.
7127         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7128         Likewise.
7130         * iconvdata/gconv-modules: Remove duplicate entry.
7132 2014-12-11  Will Newton  <will.newton@linaro.org>
7134         Merge gettext 0.19.3 into intl/.
7136         This involves a number of cosmetic changes to comments
7137         and ANSI function definitions and prototypes throughout
7138         all the files. The gettext copyright header is used but
7139         with the date ranges taken from the glibc copy.
7141         * NEWS: Add gettext merge to 2.21.
7142         * intl/bindtextdom.c: Switch to gettext copyright.
7143         Use ANSI definitions and prototypes.
7144         Use gl_* locking primitives rather than __libc_* ones.
7145         Use __builtin_expect rather than __glibc_likely/unlikely.
7146         * intl/dcgettext.c: Switch to gettext copyright.
7147         Use ANSI definitions and prototypes.
7148         * intl/dcigettext.c: Switch to gettext copyright.
7149         Use ANSI definitions and prototypes.
7150         (INTDIV0_RAISES_SIGFPE): New define.
7151         Use gl_* locking primitives rather than __libc_* ones.
7152         Include eval-plural.h instead of plural-eval.c.
7153         Use __builtin_expect rather than __glibc_likely/unlikely.
7154         * intl/dcngettext.c: Switch to gettext copyright.
7155         Use ANSI definitions and prototypes.
7156         * intl/dgettext.c: Likewise.
7157         * intl/dngettext.c: Likewise.
7158         * intl/plural-eval.c: Renamed to...
7159         * intl/eval-plural.h: ...this.
7160         * intl/explodename.c: Switch to gettext copyright.
7161         Use ANSI definitions and prototypes.
7162         (_nl_explode_name): Use strchr instead of __rawmemchr.
7163         * intl/finddomain.c: Switch to gettext copyright.
7164         Use ANSI definitions and prototypes.
7165         Use gl_* locking primitives rather than __libc_* ones.
7166         (_nl_find_domain): Use malloc rather than alloca for
7167         allocation of temporary locale name.
7168         * intl/gettext.c: Switch to gettext copyright.
7169         Use ANSI definitions and prototypes.
7170         * intl/gettextP.h: Switch to gettext copyright.
7171         Use ANSI definitions and prototypes.
7172         Use gl_* locking primitives rather than __libc_* ones.
7173         * intl/gmo.h: Switch to gettext copyright.
7174         (struct sysdep_string): Move struct segment_pair outside of
7175         struct definition.
7176         * intl/hash-string.c: Use ANSI definitions and prototypes.
7177         * intl/hash-string.h: Switch to gettext copyright.
7178         Use ANSI definitions and prototypes.
7179         * intl/l10nflist.c: Switch to gettext copyright.
7180         Use ANSI definitions and prototypes.
7181         (_nl_normalize_codeset): Avoid integer overflow.
7182         * intl/loadinfo.h: Switch to gettext copyright.
7183         Use ANSI definitions and prototypes.
7184         (LIBINTL_DLL_EXPORTED): New define.
7185         (PATH_SEPARATOR): New define.
7186         * intl/loadmsgcat.c: Switch to gettext copyright.
7187         * intl/localealias.c: Switch to gettext copyright.
7188         Use ANSI definitions and prototypes.
7189         (_nl_expand_alias): Use PATH_SEPARATOR.
7190         * intl/ngettext.c: Switch to gettext copyright.
7191         Use ANSI definitions and prototypes.
7192         * intl/plural-exp.c: Likewise.
7193         * intl/plural-exp.h: Switch to gettext copyright.
7194         Use ANSI definitions and prototypes.
7195         (struct expression): Move definition of enum operator outside
7196         of struct definition.
7197         * intl/plural.c: Regenerate.
7198         * intl/plural.y: Switch to gettext copyright.
7199         Use ANSI definitions and prototypes.
7200         Port to bison 3.0.
7201         * intl/textdomain.c: Switch to gettext copyright.
7202         Use ANSI definitions and prototypes.
7203         Use gl_* locking primitives rather than __libc_* ones.
7205 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7207         * debug/warning-nop.c: Add used atrribute.
7209 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7211         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7213         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7214         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7215         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7217 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7218             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7220         [BZ #17634]
7221         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7222         Undefine after defining function.  Define as weak alias of
7223         __wcschr.  Use libc_hidden_weak.
7224         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7225         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7226         (libc_hidden_def): Also define __GI___wcschr alias.
7227         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7228         __wcschr and define as weak alias of __wcschr.
7229         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7230         __wcschr.
7231         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7232         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7233         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7234         libc_hidden_weak.  Do not use libc_hidden_def.
7235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7236         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7237         __GI___wcschr alias.
7238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7239         [IS_IN (libc)] (wcschr): Define as macro expanding to
7240         __redirect_wcschr.
7241         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7242         [IS_IN (libc)] (__wcschr_power6): Likewise.
7243         [IS_IN (libc)] (__wcschr_power7): Likewise.
7244         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7245         instead of wcschr.
7246         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7247         __libc_wcschr.
7248         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7249         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7250         __wcschr and define as weak alias of __wcschr.  Use
7251         libc_hidden_builtin_def.
7252         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7253         as weak alias of __wcschr.  Use libc_hidden_weak.
7254         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7255         wcschr.
7256         * time/era.c (_nl_init_era_entries): Likewise.
7257         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7258         variable.
7259         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7260         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7262 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7264         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7265         format for long int variable.
7267 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7269         [BZ #10672]
7270         * manual/search.texi: (Array Sort Function): Remove claim how to make
7271         qsort stable.
7273 2014-12-10  Andreas Schwab  <schwab@suse.de>
7275         [BZ #12847]
7276         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7277         user-controlled locks.
7279 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7281         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7282         register.
7284 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7286         * configure.ac (--disable-werror): New configure option.
7287         (enable_werror): New AC_SUBST.
7288         * configure: Regenerated.
7289         * config.make.in (enable-werror): New variable.
7290         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7291         -Wno-error=undef.
7292         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7293         * manual/install.texi (Configuring and compiling): Document
7294         --disable-werror.
7295         * INSTALL: Regenerated.
7296         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7297         (CFLAGS-tst-chk2.c): Likewise.
7298         (CFLAGS-tst-chk3.c): Likewise.
7299         (CFLAGS-tst-chk4.cc): Likewise.
7300         (CFLAGS-tst-chk5.cc): Likewise.
7301         (CFLAGS-tst-chk6.cc): Likewise.
7302         (CFLAGS-tst-lfschk1.c): Likewise.
7303         (CFLAGS-tst-lfschk2.c): Likewise.
7304         (CFLAGS-tst-lfschk3.c): Likewise.
7305         (CFLAGS-tst-lfschk4.cc): Likewise.
7306         (CFLAGS-tst-lfschk5.cc): Likewise.
7307         (CFLAGS-tst-lfschk6.cc): Likewise.
7309         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7310         (main): Disable -Wdeprecated-declarations around calls to
7311         register_printf_function.
7313         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7314         (do_test): Disable -Wdiv-by-zero around some calls to
7315         fwrite_unlocked and fread_unlocked.
7317         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7318         (DIAG_POP_NEEDS_COMMENT): Likewise.
7319         (_DIAG_STR1): Likewise.
7320         (_DIAG_STR): Likewise.
7321         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7322         * stdio-common/bug21.c: Include <libc-internal.h>.
7323         (do_test): Disable -Wformat around call to sscanf.
7324         * stdio-common/scanf14.c: Include <libc-internal.h>.
7325         (main): Disable -Wformat around some calls to scanf functions.
7327 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7329         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7331 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7333         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7334         stack variable alignment.
7336 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #17682]
7339         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7340         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7341         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7342         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7343         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7344         __getrlimit instead of getrlimit.
7345         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7346         __gettimeofday instead of gettimeofday.
7347         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7348         Likewise.
7349         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7350         Likewise.
7351         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7352         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7353         Remove variable.
7354         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7355         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7357 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7359         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7360         for wide-character tests.
7362 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7364         * io/openat64.c: #include <libc-internal.h>
7365         (__openat64): Prototypify.  Use ignore_value on MODE.
7366         * io/openat.c: Likewise.
7367         * misc/reboot.c: #include <libc-internal.h>
7368         (reboot): Prototypify.  Use ignore_value on HOWTO.
7369         * misc/ptrace.c: #include <libc-internal.h>
7370         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7372 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7374         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7375         XPG4, UNIX98 and XOPEN2K.
7376         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7377         Remove variable.
7378         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7380 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7382         * libio/fileops.c: Use ISO C style for function definitions.
7383         * libio/iofopen.c: Likewise.
7384         * libio/wfileops.c: Likewise.
7386         [BZ #17653]
7387         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7388         offset on EOF.
7389         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7390         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7391         (fgets_func): Function pointer to fgets and fgetws.
7392         (do_ftell_test): Add test to verify ftell value after read
7393         EOF.
7394         (do_test): Set fgets_func.
7396         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7397         O_TRUNC flag for w and w+ modes.
7398         (do_rewind_test): Likewise.
7399         (do_ftell_test): Likewise.
7400         (do_write_test): Likewise.
7402         [BZ #17647]
7403         * libio/fileops.c (do_ftell): Seek only when there are
7404         unflushed writes.
7405         * libio/wfileops.c (do_ftell_wide): Likewise.
7406         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7407         test case.
7408         (do_one_test): Call it.
7410 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7412         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7413         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7414         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7415         Remove variable.
7416         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7417         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7418         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7420 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7422         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7423         Remove variable.
7424         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7426         [BZ #17668]
7427         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7428         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7429         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7430         __freeifaddrs.  Use libc_hidden_weak.
7431         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7432         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7433         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7434         __freeifaddrs.  Use libc_hidden_weak.
7435         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7436         __getifaddrs and define as weak alias of __getifaddrs.  Use
7437         libc_hidden_weak.
7438         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7439         __freeifaddrs.  Use libc_hidden_weak.
7440         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7441         Remove variable.
7442         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7443         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7445 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7447         [BZ #17601]
7448         * sysdeps/mips/start.S (__start): Use indirect jump to call
7449         __libc_start_main.
7451 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7453         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7455         * nptl/tst-mutex1.c: Include <stdbool.h>.
7456         [!ATTR] (ATTR_NULL): New macro.
7457         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7458         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7459         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7461         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7462         to char *.
7464         [BZ #17665]
7465         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7466         Change conditional to [__USE_MISC].
7468         [BZ #17664]
7469         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7470         fgets_unlocked.
7471         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7472         __fgets_unlocked.
7473         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7474         fgets_unlocked.
7475         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7476         Remove variable.
7477         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7478         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7479         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7480         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7481         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7482         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7483         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7484         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7485         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7487         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7489 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7491         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7492         Remove strpbrk objects.
7493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7494         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7495         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7496         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7497         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7498         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7500         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7501         Remove strcspn objects.
7502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7503         (__libc_ifunc_impl_list): Remove strcspn implementation.
7504         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7505         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7506         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7507         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7509         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7510         Remove strspn objetcs.
7511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7512         (__libc_ifunc_impl_list): Remove strspn implementation.
7513         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7514         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7515         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7516         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7518 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7520         [BZ #17581]
7521         * malloc/hooks.c
7522         (mem2mem_check): Add a terminator to the chain of checking blocks.
7523         (malloc_check_get_size): Use it here.
7524         (mem2chunk_check): Ditto.
7526 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7528         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7529         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7531 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7533         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7535         * nptl/nptl-init.c: Include libc-internal.h.
7536         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7538         * elf/ldconfig.c (search_dir): Expand comment.
7540 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7542         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7543         variable.
7544         (linknamespace-symlist-stdlibs-tests): Likewise.
7545         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7546         instead of $(objpfx)symlist-stdlibs.
7547         (linknamespace-libs-isoc): New variable.
7548         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7549         (linknamespace-libs-ISO): New variable.
7550         (linknamespace-libs-ISO99): Likewise.
7551         (linknamespace-libs-ISO11): Likewise.
7552         (linknamespace-libs-XPG3): Likewise.
7553         (linknamespace-libs-XPG4): Likewise.
7554         (linknamespace-libs-POSIX): Likewise.
7555         (linknamespace-libs-UNIX98): Likewise.
7556         (linknamespace-libs-XOPEN2K): Likewise.
7557         (linknamespace-libs-POSIX2008): Likewise.
7558         (linknamespace-libs-XOPEN2K8): Likewise.
7559         ($(objpfx)symlist-stdlibs): Replace by
7560         $(linknamespace-symlist-stdlibs-tests).  Use
7561         $(linknamespace-libs-$*) as set of libraries.
7562         ($(linknamespace-header-tests)): Update dependencies.  Use
7563         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7564         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7565         * conform/linknamespace.pl: Remove comment about considering
7566         definitions of symbols from irrelevant libraries.
7568 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7570         [BZ #13862]
7571         * elf/dl-tls.c: Include <atomic.h>.
7572         (oom): Remove #ifdef SHARED/#endif.
7573         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7574         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7575         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7576         big enough.
7577         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7578         * nptl/Makefile (tests): Add tst-stack4.
7579         (modules-names): Add tst-stack4mod.
7580         ($(objpfx)tst-stack4): New.
7581         (tst-stack4mod.sos): Likewise.
7582         ($(objpfx)tst-stack4.out): Likewise.
7583         ($(tst-stack4mod.sos)): Likewise.
7584         (clean): Likewise.
7585         * nptl/tst-stack4.c: New file.
7586         * nptl/tst-stack4mod.c: Likewise.
7588 2014-11-27  J. Brown  <jb999@gmx.de>
7590         * sysdeps/x86/bits/string.h: Add recent CPUs.
7592 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7594         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7595         sigblock.
7597         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7598         feof.
7600         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7601         variable.
7603 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7605         * nscd/connections.c: Include libc-internal.h because of macro
7606         usage ignore_value.
7608 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7610         * string/bits/string3.h (__warn_memset_zero_len): Don't
7611         declare for gcc newer than 5.0.
7612         (memset): Don't test for zero-length __LEN for gcc newer than
7613         5.0.
7615 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7617         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7618         size_t for %zu format.
7620         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7621         difference, not %ju.
7623 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7625         * include/libc-internal.h (ignore_value): New macro.
7626         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7627         with ignore_value.
7629         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7630         definition.
7632         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7633         pthread_cleanup_push to void *.
7635         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7636         Undefine.
7638         [BZ #16619]
7639         [BZ #16740]
7640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7641         instead of 1L << 52.
7643         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7644         * libio/bug-rewind2.c (do_test): Likewise.
7646         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7647         * debug/test-strcpy_chk-ifunc.c: Likewise.
7648         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7649         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7650         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7651         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7652         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7653         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7654         * Rules [$(multi-arch) = no] (tests): Do not filter out
7655         $(tests-ifunc).
7656         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7657         * debug/Makefile (tests-ifunc): Remove variable.
7658         (tests): Do not add $(tests-ifunc).
7659         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7660         (tests): Do not add $(tests-ifunc).
7661         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7662         [TEST_IFUNC]: Remove conditionals.
7663         * string/test-string.h (TEST_IFUNC): Remove macro.
7664         [TEST_IFUNC]: Remove conditionals.
7666         * string/test-strchr.c [!WIDE] (L): New macro.
7667         [WIDE] (L): Likewise.
7668         (check1): Use CHAR instead of char.  Use L on string and character
7669         constants.
7671 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7673         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7674         tests.
7675         * sysdeps/powerpc/bits/atomic.h
7676         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7677         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7678         (atomic_exchange_and_add_acq): Likewise.
7679         (atomic_exchange_and_add_rel): Likewise.
7680         * sysdeps/powerpc/powerpc32/bits/atomic.h
7681         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7682         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7683         * sysdeps/powerpc/powerpc64/bits/atomic.h
7684         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7685         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7687 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7689         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7690         Change synchronization of __sched_fifo_min_prio and
7691         __sched_fifo_max_prio.
7692         * nptl/pthread_mutexattr_getprioceiling.c
7693         (pthread_mutexattr_getprioceiling): Likewise.
7694         * nptl/pthread_mutexattr_setprioceiling.c
7695         (pthread_mutexattr_setprioceiling): Likewise.
7696         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7697         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7698         Likewise.
7700 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7702         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7703         void.
7705 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7707         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7708         third argument const.
7710 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7712         fnmatch: work around GCC compiler warning bug with uninit var
7713         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7714         This works around a bug with x86-64 GCC 4.9.2 and earlier
7715         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7716         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7717         used uninitialized in this function [-Wmaybe-uninitialized]".
7719 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7721         * posix/bug-regex31.c (main): Return RES not 0.
7723 2014-11-25  Anton Blanchard <anton@samba.org>
7725         * sysdeps/powerpc/bits/atomic.h
7726         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7728 2014-11-24  Sterling Augustine  <saugustine@google.com>
7730         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7732 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7734         [BZ #17608]
7735         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7737 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7739         [BZ #17633]
7740         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7741         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7742         variable.
7743         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7744         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7746 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7748         * string/strncpy.c (strncpy): Improve performance by using memset.
7750 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7752         * string/strcpy.c (strcpy):
7753         Improve performance by using strlen and memcpy.
7755 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7757         * string/strcoll_l.c (get_next_seq): __always_inline.
7758         * string/strcoll_l.c (do_compare): __always_inline.
7760 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7762         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7763         defined.
7764         * include/mqueue.h: Likewise.
7765         * include/stdlib.h: Likewise.
7767         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7768         (get_null_defines): Adjust.
7769         * sunrpc/Makefile: Adjust comment.
7770         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7771         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7772         (CFLAGS-interp.c): Likewise.
7773         (CFLAGS-ldconfig.c): Likewise.
7774         (CPPFLAGS-.os): Likewise.
7775         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7776         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7777         * extra-modules.mk (extra-modules.mk): Likewise.
7778         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7779         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7780         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7781         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7782         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7783         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7784         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7785         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7786         * iconvdata/Makefile (CPPFLAGS): Likewise.
7787         (cpp-srcs-left): Add libof for all iconvdata routines.
7788         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7789         * include/assert.h: Likewise.
7790         * include/ctype.h: Likewise.
7791         * include/errno.h: Likewise.
7792         * include/libc-symbols.h: Likewise.
7793         * include/math.h: Likewise.
7794         * include/netdb.h: Likewise.
7795         * include/resolv.h: Likewise.
7796         * include/stdio.h: Likewise.
7797         * include/stdlib.h: Likewise.
7798         * include/string.h: Likewise.
7799         * include/sys/stat.h: Likewise.
7800         * include/wctype.h: Likewise.
7801         * intl/l10nflist.c: Likewise.
7802         * libidn/idn-stub.c: Likewise.
7803         * libio/libioP.h: Likewise.
7804         * nptl/libc_multiple_threads.c: Likewise.
7805         * nptl/pthreadP.h: Likewise.
7806         * posix/regex_internal.h: Likewise.
7807         * resolv/res_hconf.c: Likewise.
7808         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7809         * sysdeps/arm/memmove.S: Likewise.
7810         * sysdeps/arm/sysdep.h: Likewise.
7811         * sysdeps/generic/_itoa.h: Likewise.
7812         * sysdeps/generic/symbol-hacks.h: Likewise.
7813         * sysdeps/gnu/errlist.awk: Likewise.
7814         * sysdeps/gnu/errlist.c: Likewise.
7815         * sysdeps/i386/i586/memcpy.S: Likewise.
7816         * sysdeps/i386/i586/memset.S: Likewise.
7817         * sysdeps/i386/i686/memcpy.S: Likewise.
7818         * sysdeps/i386/i686/memmove.S: Likewise.
7819         * sysdeps/i386/i686/mempcpy.S: Likewise.
7820         * sysdeps/i386/i686/memset.S: Likewise.
7821         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7822         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7823         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7824         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7825         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7826         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7827         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7828         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7829         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7830         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7831         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7832         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7833         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7834         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7835         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7836         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7837         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7838         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7839         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7840         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7841         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7842         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7843         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7844         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7845         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7846         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7847         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7848         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7849         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7850         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7851         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7852         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7854         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7855         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7856         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7857         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7858         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7859         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7861         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7862         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7863         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7864         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7865         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7866         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7867         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7868         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7869         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7870         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7871         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7872         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7873         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7874         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7875         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7876         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7877         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7878         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7879         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7880         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7881         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7882         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7883         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7884         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7885         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7886         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7887         * sysdeps/posix/closedir.c: Likewise.
7888         * sysdeps/posix/opendir.c: Likewise.
7889         * sysdeps/posix/readdir.c: Likewise.
7890         * sysdeps/posix/rewinddir.c: Likewise.
7891         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7892         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7893         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7894         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7895         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7896         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7897         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7902         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7903         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7904         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7905         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7906         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7907         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7908         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7909         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7911         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7912         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7913         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7914         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7918         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7919         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7926         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7927         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7928         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7929         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7930         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7931         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7932         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7933         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7934         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7935         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7936         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7937         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7938         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7939         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7940         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7941         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7942         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7945         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7946         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7947         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7948         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7949         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7950         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7951         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7952         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7953         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7954         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7955         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7956         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7957         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7958         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7959         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7960         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7961         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7962         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7963         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7964         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7965         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7966         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7967         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7968         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7969         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7970         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7971         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7972         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7973         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7974         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7975         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7976         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7977         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7978         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7979         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7980         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7981         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7982         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7983         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7985         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7986         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7987         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7988         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7989         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7990         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7991         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7992         * sysdeps/unix/alpha/sysdep.S: Likewise.
7993         * sysdeps/unix/alpha/sysdep.h: Likewise.
7994         * sysdeps/unix/make-syscalls.sh: Likewise.
7995         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7997         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7998         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7999         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8000         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8001         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
8002         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8003         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8004         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
8005         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8006         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8007         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8008         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8009         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8010         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8011         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8012         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8013         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8014         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8015         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8016         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8017         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8018         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8019         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8020         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8024         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8025         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8027         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8029         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8030         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8033         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8034         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8036         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8037         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8038         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8040         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8042         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8043         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8045         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8046         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8047         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8048         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8049         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8051         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8052         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8053         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8054         * sysdeps/x86_64/memcpy.S: Likewise.
8055         * sysdeps/x86_64/memmove.c: Likewise.
8056         * sysdeps/x86_64/memset.S: Likewise.
8057         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8058         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8059         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8060         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8061         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8062         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8063         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8064         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8065         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8066         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8067         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8068         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8069         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8070         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8071         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8072         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8073         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8074         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8075         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8076         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8077         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8078         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8079         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8080         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8081         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8082         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8083         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8084         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8085         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8086         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8087         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8088         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8089         * sysdeps/x86_64/strcmp.S: Likewise.
8091         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8093         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8094         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8095         * elf/rtld-Rules: Likewise.
8096         * elf/setup-vdso.h: Likewise.
8097         * include/assert.h: Likewise.
8098         * include/bits/stdlib-float.h: Likewise.
8099         * include/errno.h: Likewise.
8100         * include/sys/stat.h: Likewise.
8101         * include/unistd.h: Likewise.
8102         * sysdeps/aarch64/setjmp.S: Likewise.
8103         * sysdeps/alpha/setjmp.S: Likewise.
8104         * sysdeps/arm/__longjmp.S: Likewise.
8105         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8106         * sysdeps/arm/setjmp.S: Likewise.
8107         * sysdeps/arm/sysdep.h: Likewise.
8108         * sysdeps/generic/_itoa.h: Likewise.
8109         * sysdeps/generic/dl-sysdep.h: Likewise.
8110         * sysdeps/generic/ldsodefs.h: Likewise.
8111         * sysdeps/i386/dl-tls.h: Likewise.
8112         * sysdeps/i386/setjmp.S: Likewise.
8113         * sysdeps/m68k/setjmp.c: Likewise.
8114         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8115         * sysdeps/mach/hurd/opendir.c: Likewise.
8116         * sysdeps/posix/getcwd.c: Likewise.
8117         * sysdeps/posix/opendir.c: Likewise.
8118         * sysdeps/posix/profil.c: Likewise.
8119         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8120         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8122         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8123         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8124         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8126         * sysdeps/s390/dl-tls.h: Likewise.
8127         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8128         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8129         * sysdeps/sh/sh3/setjmp.S: Likewise.
8130         * sysdeps/sh/sh4/setjmp.S: Likewise.
8131         * sysdeps/unix/alpha/sysdep.h: Likewise.
8132         * sysdeps/unix/arm/sysdep.S: Likewise.
8133         * sysdeps/unix/i386/sysdep.S: Likewise.
8134         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8135         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8136         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8137         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8138         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8139         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8140         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8141         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8142         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8143         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8144         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8145         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8146         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8149         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8152         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8153         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8154         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8156         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8157         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8158         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8159         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8161         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8162         * sysdeps/x86_64/setjmp.S: Likewise.
8164         * include/math.h: Use IS_IN instead of IS_IN_libm.
8165         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8166         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8167         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8168         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8169         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8170         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8171         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8172         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8173         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8174         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8175         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8176         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8177         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8178         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8179         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8180         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8181         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8182         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8183         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8184         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8185         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8186         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8187         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8188         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8189         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8190         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8191         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8192         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8193         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8194         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8195         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8196         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8197         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8199         Likewise.
8200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8201         Likewise.
8202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8203         Likewise.
8204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8205         Likewise.
8206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8207         Likewise.
8208         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8209         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8210         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8211         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8212         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8213         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8219         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8220         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8221         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8222         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8223         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8224         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8225         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8226         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8227         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8228         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8229         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8231         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8232         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8234         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8236         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8237         * nptl/pthreadP.h: Likewise.
8238         * nptl_db/structs.def: Likewise.
8239         * sysdeps/arm/sysdep.h: Likewise.
8240         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8241         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8242         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8243         * sysdeps/unix/alpha/sysdep.h: Likewise.
8244         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8246         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8247         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8248         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8249         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8250         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8251         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8252         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8253         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8254         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8255         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8256         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8257         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8260         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8262         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8263         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8265         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8266         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8267         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8268         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8269         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8271         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8272         * nptl/pthreadP.h: Likewise.
8273         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8274         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8275         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8276         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8277         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8278         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8279         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8280         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8281         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8282         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8283         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8284         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8288         Likewise.
8289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8291         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8292         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8293         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8294         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8295         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8296         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8298         * dlfcn/dladdr.c: Use IS_IN.
8299         * dlfcn/dladdr1.c: Likewise.
8300         * dlfcn/dlclose.c: Likewise.
8301         * dlfcn/dlerror.c: Likewise.
8302         * dlfcn/dlinfo.c: Likewise.
8303         * dlfcn/dlmopen.c: Likewise.
8304         * dlfcn/dlopen.c: Likewise.
8305         * dlfcn/dlsym.c: Likewise.
8306         * dlfcn/dlvsym.c: Likewise.
8308         * include/ifaddrs.h: Use IS_IN.
8309         * inet/check_pf.c: Likewise.
8310         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8311         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8313         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8314         IS_IN_ldconfig.
8315         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8316         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8318         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8319         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8320         IS_IN (libc).
8322         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8324         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8325         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8326         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8327         * include/libc-symbols.h (IS_IN_LIB): New macro.
8328         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8329         * include/netdb.h: Likewise.
8330         * include/stap-probe.h: Remove all uses of IN_LIB.
8332         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8333         instead of IN_MODULE.
8334         * include/libc-symbols.h (IN_MODULE): Define using
8335         MODULE_NAME.
8336         (PASTE_NAME, PASTE_NAME1): New macros.
8337         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8338         of IN_LIB.
8339         (STAP_PROBE_ASM): Likewise.
8341 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8343         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8344         __mach_init in dlopened libc.
8346 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8348         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8349         * sysdeps/arm/preconfigure: Regenerate.
8351 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8353         * nptl/pthread_create.c (__pthread_create_2_1): Set
8354         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8355         when copying values from IATTR into PD.
8357 2014-11-21  Will Newton  <will.newton@linaro.org>
8358             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8360         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8361         Refactor inline-asm.  Also add comment.
8363         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8364         ElfW macro instead of hardcoded Elf64 types.
8365         (la_aarch64_gnu_pltenter): Likewise.
8366         * sysdeps/aarch64/dl-machine.h
8367         (elf_machine_runtime_setup): Use ElfW(Addr).
8369         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8370         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8371         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8372         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8373         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8374         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8375         (R_AARCH64_TLS_DTPMOD): This.
8376         (R_AARCH64_TLS_DTPREL64): Rename to ...
8377         (R_AARCH64_TLS_DTPREL): This.
8378         (R_AARCH64_TLS_TPREL64): Rename to ...
8379         (R_AARCH64_TLS_TPREL): This.
8380         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8381         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8382         R_AARCH64_TLS_TPREL64.
8383         (elf_machine_rela): Likewise.
8385 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8387         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8388         by setting it to 0.  64b atomics are not supported currently.
8390 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8392         [BZ #16469]
8393         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8394         search domain names.
8396 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8398         [BZ #16469]
8399         * NEWS: Update.
8400         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8401         trailing dot.
8402         * posix/tst-getaddrinfo5.c: New.
8403         * posix/Makefile (tests): Add it.
8405 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8407         [BZ #14498]
8408         * NEWS: Fixed.
8409         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8410         after parsing line but before break_if_match.
8411         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8412         if there is a protocol mismatch.
8414 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8416         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8417         because the potential race is on the user-supplied stream.
8419 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8421         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8422         string literal if not passed a buffer.
8423         * manual/job.texi (ctermid): Update reasoning, note deviation
8424         from posix, suggest mtasurace when not passed a buffer, for
8425         future non-preliminary safety notes.
8427 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8429         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8430         of not passing it a buffer.
8431         Reported by Peng Haitao.
8433 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8435         * manual/Makefile ($(objpfx)stamp-summary): Require
8436         check-safety.sh to pass.
8437         * manual/check-safety.sh: Wish for verification that every
8438         @deftypefn and @deftypefun is followed by a @safety remark.
8440 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8442         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8444         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8445         PTHREAD_CANCEL_ASYNCHRONOUS.
8446         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8447         send SIGCANCEL.
8449         * nptl/default-sched.h: New file.
8450         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8451         * nptl/pthread_create.c: Include it.
8452         (__pthread_create_2_1): Use collect_default_sched instead of making
8453         Linux syscalls here directly.
8455 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8457         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8458         __pthread_once): Use C11 atomics.
8460 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8462         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8464 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8466         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8467         atomic_thread_fence_acquire, atomic_thread_fence_release,
8468         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8469         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8470         atomic_compare_exchange_weak_relaxed,
8471         atomic_compare_exchange_weak_acquire,
8472         atomic_compare_exchange_weak_release,
8473         atomic_exchange_acquire, atomic_exchange_release,
8474         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8475         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8476         atomic_fetch_and_acquire,
8477         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8479 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8481         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8482         USE_ATOMIC_COMPILER_BUILTINS): Define.
8483         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8484         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8485         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8486         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8487         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8488         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8489         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8490         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8491         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8492         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8493         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8494         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8495         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8496         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8497         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8498         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8499         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8500         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8501         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8502         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8503         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8505         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8507         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8509         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8511         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8513         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8515         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8517         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8518         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8519         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8521         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8524 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8526         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8527         the sched_priority value here.  It was already checked when the user
8528         called pthread_attr_setschedparam.
8530         * nptl/tst-bad-schedattr.c: New file.
8531         * nptl/Makefile (tests): Add it.
8533 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8534             Florian Weimer  <fweimer@redhat.com>
8535             Joseph Myers  <joseph@codesourcery.com>
8536             Adam Conrad  <adconrad@0c3.net>
8537             Andreas Schwab  <schwab@suse.de>
8538             Brooks  <bmoses@google.com>
8540         [BZ #17625]
8541         * wordexp-test.c (__dso_handle): Add prototype.
8542         (__register_atfork): Likewise.
8543         (__app_register_atfork): New function.
8544         (registered_forks): New global.
8545         (register_fork): New function.
8546         (test_case): Add 3 new tests for WRDE_CMDSUB.
8547         (main): Call __app_register_atfork.
8548         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8549         fork count is non-zero fail the test.
8550         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8551         is set.
8552         (parse_dollars): Remove check for WRDE_NOCMD.
8553         (parse_dquote): Likewise.
8555 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8557         * Makeconfig (built-modules): List non-library modules to be
8558         built.
8559         (module-cppflags): Include libc-modules.h for
8560         everything except shlib-versions.v.i.
8561         (CPPFLAGS): Use it.
8562         (before-compile): Add libc-modules.h.
8563         ($(common-objpfx)libc-modules.h,
8564         $(common-objpfx)libc-modules.stmp): New targets.
8565         (common-generated): Add libc-modules.h and libc-modules.stmp.
8566         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8567         * include/libc-symbols.h: Don't include libc-modules.h.
8568         * include/libc-modules.h: Remove file.
8569         * scripts/gen-libc-modules.awk: New script to generate
8570         libc-modules.h.
8571         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8572         Depend on libc-modules.stmp.
8574         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8576         * Makeconfig (in-module): Get value of libof set for the
8577         translation unit.
8578         (CPPFLAGS): Use $(in-module).
8579         * Makerules: Don't suffix routine names for nonlib.
8580         * include/libc-modules.h: New file.
8581         * include/libc-symbols.h: Include libc-modules.h
8582         (IS_IN): New macro to replace IS_IN_* macros.
8583         * elf/Makefile: Set libof-* for each routine.
8584         * elf/rtld-Rules: Likewise.
8585         * extra-modules.mk: Likewise.
8586         * iconv/Makefile: Likewise.
8587         * iconvdata/Makefile: Likewise.
8588         * locale/Makefile: Likewise.
8589         * malloc/Makefile: Likewise.
8590         * nss/Makefile: Likewise.
8591         * sysdeps/gnu/Makefile: Likewise.
8592         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8593         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8594         * sysdeps/s390/s390-64/Makefile: Likewise.
8595         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8596         CPPFLAGS for nscd instead of nonlib.
8598 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8600         * nptl/createthread.c: New file.
8602         * nptl/createthread.c: Moved ...
8603         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8605         * nptl/createthread.c: Add proper top-line comment.
8606         (do_clone): Folded into ...
8607         (create_thread): ... here.  Take new arguments STOPPED_START and
8608         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8609         increment __nptl_threads, do event-reporting logic, do
8610         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8611         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8612         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8613         just send SIGCANCEL.
8614         * nptl/pthread_create.c: Forward-declare create_thread before
8615         including createthread.c.
8616         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8617         declaration, and new macro START_THREAD_SELF to replace argument.
8618         Remove return statement.
8619         (report_thread_creation): New function.
8620         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8621         synchronization logic, and __nptl_nthreads increment here, around
8622         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8623         PD->parent_cancelhandling here, before create_thread.  When
8624         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8625         __deallocate_stack, and ENOMEM translation here.
8627 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8629         [BZ #17616]
8630         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8631         (mptwo): Rename to __mptwo.
8632         (__inv): Use __mptwo instead of mptwo.
8633         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8634         (mptwo): Rename to __mptwo.
8635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8636         of mpone and __mptwo instead of mptwo.
8637         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8638         instead of mpone.
8639         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8640         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8641         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8642         of mpone and __mptwo instead of mptwo.
8643         (__mpranred): Use __mpone instead of mpone.
8644         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8645         variable.
8646         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8647         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8648         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8649         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8650         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8651         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8652         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8653         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8654         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8655         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8656         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8657         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8658         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8659         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8660         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8661         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8662         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8663         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8664         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8666 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8668         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8669         replace BSD Handler xref with BSD Signal Handling.
8671 2014-11-17  Richard Henderson  <rth@redhat.com>
8673         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8674         (_FP_PACK_RAW_2): Remove.
8675         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8676         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8677         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8678         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8679         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8680         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8681         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8682         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8683         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8684         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8685         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8686         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8687         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8688         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8689         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8690         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8692 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8694         * signal/signal.h [__USE_MISC]
8695         (struct sigvec): Remove type.
8696         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8697         (sigvec): Remove declaration.
8698         * sysdeps/posix/sigvec.c: Moved ...
8699         * signal/sigvec.c: ... here, replacing old file.
8700         (struct sigvec): New type, copied from old signal.h definition.
8701         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8702         (__sigvec): Convert definition to prototype.
8703         (sigvec): Replace weak_alias with compat_symbol.
8704         * signal/Versions (libc: GLIBC_2.21): New version set.
8705         * include/signal.h: Remove __sigvec declaration.
8706         * sysdeps/unix/bsd/sigvec.c: Remove file.
8707         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8708         * manual/signal.texi (BSD Handler): Remove subsection.
8709         Move siginterrupt up to ...
8710         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8711         (Blocking in BSD): Fold subsection into its parent.
8712         * NEWS: Mention sigvec removal.
8714 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8716         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8717         (DLA_FMS): Make definition conditional only on [__FMA4__].
8718         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8719         definition.
8721         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8722         Make definition conditional only on [PROF].
8723         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8724         definition.
8725         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8726         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8728         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8729         !__GNUC__].
8730         * include/signal.h (__sigpause): Move declaration above call to
8731         libc_hidden_proto.
8732         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8733         variable.
8734         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8735         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8737 2014-11-14  David S. Miller  <davem@davemloft.net>
8739         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8740         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8742 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8744         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8745         * configure: Regenerated.
8746         * manual/install.texi (Tools for Compilation): Document a
8747         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8748         compiler verified to work.
8749         * INSTALL: Regenerated.
8751         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8752         redeclare with asm name.
8753         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8754         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8755         including <string.h>.
8756         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8757         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8758         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8759         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8760         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8761         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8762         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8764 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8766         * stdlib/strtol.c (__strtol): Use prototype definition.
8768         [BZ #17594]
8769         * stdlib/strtol.c (SYM__): New macro.
8770         (SYM__1): Likewise.
8771         (__strtol): Likewise.
8772         (strtol): Rename to __strtol and define as weak alias of
8773         __strtol.  Use libc_hidden_weak.
8775 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8777         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8778         Use numbered labels in inline assembly.
8780 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8782         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8783         Add setjmp LIBC_PROBE.
8784         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8785         Likewise.
8786         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8787         Add longjmp, longjmp_target LIBC_PROBE.
8788         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8789         Likewise.
8791 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8793         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8794         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8795         to get rid of unused variable warning.
8797 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8799         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8800         Check for unwind_backtrace ==  NULL only in SHARED case.
8801         (__backchain_backtrace): Compile only in SHARED case.
8802         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8803         Likewise.
8804         (__backchain_backtrace): Declare as static.
8806 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8808         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8809         (__libc_multiple_threads_ptr): Variable moved ...
8810         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8812 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8814         * conform/GlibcConform.pm: New file.
8815         * conform/conformtest.pl: Use GlibcConform module.
8816         * conform/linknamespace.pl: New file.
8817         * conform/list-header-symbols.pl: Likewise.
8818         * conform/Makefile (linknamespace-symlists-base): New variable.
8819         (linknamespace-symlists-tests): Likewise.
8820         (linknamespace-header-base): Likewise.
8821         (linknamespace-header-tests): Likewise.
8822         (tests-special): Add new tests.
8823         ($(linknamespace-symlists-tests)): New rule.
8824         (linknamespace-libs): New variable.
8825         ($(objpfx)symlist-stdlibs): New rule.
8826         ($(linknamespace-header-tests)): Likewise.
8827         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8828         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8829         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8830         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8831         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8832         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8833         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8834         (test-xfail-ISO/math.h/linknamespace): Likewise.
8835         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8836         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8837         (test-xfail-ISO/time.h/linknamespace): Likewise.
8838         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8839         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8840         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8841         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8842         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8843         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8844         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8845         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8846         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8847         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8848         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8849         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8850         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8851         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8852         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8853         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8854         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8855         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8856         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8857         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8858         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8859         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8860         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8861         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8862         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8863         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8864         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8865         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8866         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8867         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8868         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8869         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8870         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8871         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8872         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8873         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8874         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8875         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8876         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8877         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8878         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8879         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8880         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8881         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8882         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8883         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8884         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8885         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8886         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8887         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8888         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8889         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8890         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8891         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8892         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8893         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8894         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8895         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8896         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8897         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8898         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8899         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8900         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8901         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8902         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8903         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8904         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8905         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8906         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8907         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8908         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8909         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8910         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8911         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8912         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8913         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8914         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8915         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8916         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8917         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8918         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8919         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8920         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8921         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8922         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8923         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8924         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8925         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8926         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8927         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8928         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8929         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8930         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8931         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8932         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8933         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8934         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8935         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8936         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8937         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8938         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8939         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8940         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8941         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8942         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8943         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8944         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8945         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8946         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8947         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8948         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8949         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8950         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8951         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8952         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8953         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8954         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8955         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8956         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8957         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8958         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8959         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8960         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8961         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8962         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8963         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8964         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8965         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8966         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8967         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8968         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8969         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8970         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8971         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8972         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8973         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8974         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8975         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8976         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8977         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8978         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8979         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8980         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8981         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8982         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8983         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8984         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8985         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8986         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8987         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8989         [BZ #17589]
8990         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8991         of fgets_unlocked.
8993         [BZ #17585]
8994         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8995         (memmem): Rename to __memmem and define as weak alias of
8996         __memmem.  Use libc_hidden_weak.
8997         (__memmem): Use libc_hidden_def.
8998         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8999         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
9000         memmem.
9002         [BZ #17582]
9003         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
9004         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
9005         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
9006         and define as weak alias of __fgets_unlocked.  Use
9007         libc_hidden_weak.
9008         (__fgets_unlocked): Use libc_hidden_def.
9009         * include/stdio.h (__fgets_unlocked): Declare.  Use
9010         libc_hidden_proto.
9011         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
9012         __fgets_unlocked instead of fgets_unlocked.
9013         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9014         (GET_NPROCS_CONF_PARSER): Likewise.
9015         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9016         (GET_NPROCS_CONF_PARSER): Likewise.
9018         [BZ #17574]
9019         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9020         weak alias of __wmemset.  Use libc_hidden_weak.
9021         (__wmemset): Use libc_hidden_def.
9022         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9023         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9024         of wmemset.
9026         [BZ #17573]
9027         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9028         with asm name __mempcpy.
9029         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9031         [BZ #17572]
9032         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9033         and define as weak alias of __rawmemchr.
9034         (__rawmemchr): Do not define as strong alias of rawmemchr.
9036         [BZ #17571]
9037         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9038         alias of __qsort_r.
9039         (qsort): Call __qsort_r instead of qsort_r.
9040         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9041         (__qsort_r): Declare.  Call libc_hidden_proto.
9042         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9043         instead of qsort_r.
9044         * nscd/gai.c (__qsort_r): Define to qsort_r.
9045         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9046         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9047         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9049         [BZ #17570]
9050         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9051         define as weak alias of __malloc_info.
9053         [BZ #17584]
9054         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9055         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9056         (__rewinddir): Use libc_hidden_def.
9057         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9058         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9059         (__rewinddir): Use libc_hidden_def.
9060         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9061         weak alias of __rewinddir.  Don't use libc_hidden_def.
9062         (__rewinddir): Use libc_hidden_def.
9063         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9064         (__rewinddir): Use libc_hidden_proto.
9065         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9066         rewinddir.
9067         (__getcwd): Use __rewinddir instead of rewinddir.
9069         [BZ #17583]
9070         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9071         alias of __fileno.  Use libc_hidden_weak.
9072         (__fileno): Use libc_hidden_def.
9073         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9074         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9075         alias of __ftello.
9076         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9077         __ftello.
9078         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9079         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9080         libc_hidden_def.
9081         (fread_unlocked): Don't use libc_hidden_ver.
9082         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9083         and define as weak alias of __fread_unlocked.  Don't use
9084         libc_hidden_def.
9085         (__fread_unlocked): Use libc_hidden_def.
9086         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9087         (ftello): Don't use libc_hidden_proto.
9088         (__ftello): Declare.  Use libc_hidden_proto.
9089         (fread_unlocked): Don't use libc_hidden_proto.
9090         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9091         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9092         and __ftello instead of fileno, fread_unlocked and ftello.
9094 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9096         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9097         GOT12.
9098         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9099         Likewise.
9100         (_dl_start_user): Likewise.
9101         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9103 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9104             Siddhesh Poyarekar  <siddhesh@redhat.com>
9106         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9107         Move argv and envp down instead of moving argc up.
9108         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9110 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9112         [BZ #17506]
9113         * test-skeleton.c (main): Return successful if one of
9114         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9115         * string/tst-strcoll-overflow.c: Define expected status.
9117 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9119         [BZ #17475]
9120         * locale/iso-639.def: Define Bhili and Tulu language codes.
9122 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9124         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9126 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9128         [BZ #17555]
9129         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9131 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9133         * configure.ac: Updated check of minimal required version to
9134         2.22.
9135         * manual/install.texi (Tools for Compilation): Updated version
9136         number.
9137         * configure: Regenerated.
9138         * INSTALL: Likewise.
9140 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9142         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9143         __tls_get_addr.
9145 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9147         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9148         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9149         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9150         libc_hidden_weak.
9151         (waitpid): Define as alias of __waitpid.
9152         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9153         __waitpid.
9154         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9155         libc_hidden_weak.
9156         (waitpid): Define as alias of __waitpid.
9157         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9158         __libc_waitpid alias.
9159         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9160         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9161         Likewise.
9162         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9163         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9164         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9165         alias.
9166         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9167         __waitpid.
9168         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9169         libc_hidden_weak.
9170         (waitpid): Define as alias of __waitpid.
9172 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9174         * manual/llio.texi: Add comment that write safety has been
9175         fixed in Linux.
9177         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9178         (localplt-build-dso): Add elf/ld.so.
9179         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9180         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9181         and free for ld.so.
9182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9183         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9185         Likewise.
9186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9187         Likewise.
9188         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9189         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9190         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9191         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9192         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9193         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9194         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9195         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9196         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9197         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9198         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9200 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9202         [BZ #14132]
9203         * include/libc-symbols.h (INTUSE): Remove macro.
9204         (INTDEF): Likewise.
9205         (INTVARDEF): Likewise.
9206         (_INTVARDEF): Likewise.
9207         (INTDEF2): Likewise.
9208         (INTVARDEF2): Likewise.
9209         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9210         rtld_hidden_def instead of INTVARDEF.
9211         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9212         (_dl_starting_up_internal): Remove declaration.
9213         (_dl_starting_up): Use rtld_hidden_proto.
9214         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9215         declaration.
9216         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9217         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9218         _dl_starting_up.
9219         * elf/dl-writev.h (_dl_writev): Likewise.
9220         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9221         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9222         _dl_starting_up_internal.
9224 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9226         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9227         test-skeleton.c.
9229 2014-11-05  Will Newton  <will.newton@linaro.org>
9231         * benchtests/Makefile: (bench-malloc): Add malloc thread
9232         scalability benchmark.
9233         * benchtests/bench-malloc-threads.c: New file.
9235 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9237         * sysdeps/aarch64/strchrnul.S: New file.
9239 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9241         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9242         definition.
9243         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9244         Likwise.
9245         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9246         Likewise.
9247         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9248         Likewise.
9249         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9250         Likewise.
9251         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9252         Likewise.
9254 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9256         * catgets/test-gencat.c: Use test-skeleton.c.
9257         * catgets/tst-catgets.c: Likewise.
9258         * csu/tst-empty.c: Likewise.
9259         * elf/tst-audit2.c: Likewise.
9260         * elf/tst-global1.c: Likewise.
9261         * elf/tst-pathopt.c: Likewise.
9262         * elf/tst-piemod1.c: Likewise.
9263         * elf/tst-tls10.c: Likewise.
9264         * elf/tst-tls11.c: Likewise.
9265         * elf/tst-tls12.c: Likewise.
9266         * gnulib/tst-gcc.c: Likewise.
9267         * iconvdata/tst-e2big.c: Likewise.
9268         * iconvdata/tst-loading.c: Likewise.
9269         * iconv/tst-iconv1.c: Likewise.
9270         * iconv/tst-iconv2.c: Likewise.
9271         * inet/test-inet6_opt.c: Likewise.
9272         * inet/tst-gethnm.c: Likewise.
9273         * inet/tst-network.c: Likewise.
9274         * inet/tst-ntoa.c: Likewise.
9275         * intl/tst-codeset.c: Likewise.
9276         * intl/tst-gettext2.c: Likewise.
9277         * intl/tst-gettext3.c: Likewise.
9278         * intl/tst-ngettext.c: Likewise.
9279         * intl/tst-translit.c: Likewise.
9280         * io/test-stat.c: Likewise.
9281         * libio/test-fmemopen.c: Likewise.
9282         * libio/tst-freopen.c: Likewise.
9283         * libio/tst-sscanf.c: Likewise.
9284         * libio/tst-ungetwc1.c: Likewise.
9285         * libio/tst-ungetwc2.c: Likewise.
9286         * libio/tst-widetext.c: Likewise.
9287         * localedata/tst-ctype.c: Likewise.
9288         * localedata/tst-digits.c: Likewise.
9289         * localedata/tst-leaks.c: Likewise.
9290         * localedata/tst-mbswcs1.c: Likewise.
9291         * localedata/tst-mbswcs2.c: Likewise.
9292         * localedata/tst-mbswcs3.c: Likewise.
9293         * localedata/tst-mbswcs4.c: Likewise.
9294         * localedata/tst-mbswcs5.c: Likewise.
9295         * localedata/tst-setlocale.c: Likewise.
9296         * localedata/tst-trans.c: Likewise.
9297         * localedata/tst-wctype.c: Likewise.
9298         * localedata/tst-xlocale1.c: Likewise.
9299         * login/tst-grantpt.c: Likewise.
9300         * malloc/tst-calloc.c: Likewise.
9301         * malloc/tst-malloc.c: Likewise.
9302         * malloc/tst-mallocstate.c: Likewise.
9303         * malloc/tst-mcheck.c: Likewise.
9304         * malloc/tst-mtrace.c: Likewise.
9305         * malloc/tst-obstack.c: Likewise.
9306         * math/atest-exp2.c: Likewise.
9307         * math/atest-exp.c: Likewise.
9308         * math/atest-sincos.c: Likewise.
9309         * math/test-matherr.c: Likewise.
9310         * math/test-misc.c: Likewise.
9311         * math/test-powl.c: Likewise.
9312         * math/tst-definitions.c: Likewise.
9313         * misc/tst-dirname.c: Likewise.
9314         * misc/tst-efgcvt.c: Likewise.
9315         * misc/tst-fdset.c: Likewise.
9316         * misc/tst-hsearch.c: Likewise.
9317         * misc/tst-mntent2.c: Likewise.
9318         * nptl/tst-sem7.c: Likewise.
9319         * nptl/tst-sem8.c: Likewise.
9320         * nptl/tst-sem9.c: Likewise.
9321         * nss/test-netdb.c: Likewise.
9322         * posix/tst-fnmatch.c: Likewise.
9323         * posix/tst-getlogin.c: Likewise.
9324         * posix/tst-gnuglob.c: Likewise.
9325         * posix/tst-mmap.c: Likewise.
9326         * pwd/tst-getpw.c: Likewise.
9327         * resolv/tst-inet_ntop.c: Likewise.
9328         * rt/tst-timer.c: Likewise.
9329         * stdio-common/test-fseek.c: Likewise.
9330         * stdio-common/test-popen.c: Likewise.
9331         * stdio-common/test-vfprintf.c: Likewise.
9332         * stdio-common/tst-cookie.c: Likewise.
9333         * stdio-common/tst-fileno.c: Likewise.
9334         * stdio-common/tst-gets.c: Likewise.
9335         * stdio-common/tst-obprintf.c: Likewise.
9336         * stdio-common/tst-perror.c: Likewise.
9337         * stdio-common/tst-sprintf2.c: Likewise.
9338         * stdio-common/tst-sprintf3.c: Likewise.
9339         * stdio-common/tst-sprintf.c: Likewise.
9340         * stdio-common/tst-swprintf.c: Likewise.
9341         * stdio-common/tst-tmpnam.c: Likewise.
9342         * stdio-common/tst-unbputc.c: Likewise.
9343         * stdio-common/tst-wc-printf.c: Likewise.
9344         * stdlib/tst-environ.c: Likewise.
9345         * stdlib/tst-fmtmsg.c: Likewise.
9346         * stdlib/tst-limits.c: Likewise.
9347         * stdlib/tst-rand48-2.c: Likewise.
9348         * stdlib/tst-rand48.c: Likewise.
9349         * stdlib/tst-random2.c: Likewise.
9350         * stdlib/tst-random.c: Likewise.
9351         * stdlib/tst-strtol.c: Likewise.
9352         * stdlib/tst-strtoll.c: Likewise.
9353         * stdlib/tst-tls-atexit.c: Likewise.
9354         * stdlib/tst-xpg-basename.c: Likewise.
9355         * string/test-ffs.c: Likewise.
9356         * string/tst-bswap.c: Likewise.
9357         * string/tst-inlcall.c: Likewise.
9358         * string/tst-strtok.c: Likewise.
9359         * string/tst-strxfrm.c: Likewise.
9360         * sysdeps/x86_64/tst-audit10.c: Likewise.
9361         * sysdeps/x86_64/tst-audit3.c: Likewise.
9362         * sysdeps/x86_64/tst-audit4.c: Likewise.
9363         * sysdeps/x86_64/tst-audit5.c: Likewise.
9364         * time/tst-ftime_l.c: Likewise.
9365         * time/tst-getdate.c: Likewise.
9366         * time/tst-mktime3.c: Likewise.
9367         * time/tst-mktime.c: Likewise.
9368         * time/tst-posixtz.c: Likewise.
9369         * time/tst-strptime2.c: Likewise.
9370         * time/tst-strptime3.c: Likewise.
9371         * wcsmbs/tst-btowc.c: Likewise.
9372         * wcsmbs/tst-mbrtowc.c: Likewise.
9373         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9374         * wcsmbs/tst-wchar-h.c: Likewise.
9375         * wcsmbs/tst-wcpncpy.c: Likewise.
9376         * wcsmbs/tst-wcrtomb.c: Likewise.
9377         * wcsmbs/tst-wcsnlen.c: Likewise.
9378         * wcsmbs/tst-wcstof.c: Likewise.
9380 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9382         [BZ #14132]
9383         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9384         INTDEF.
9385         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9386         declaration.
9387         (_dl_mcount): Use rtld_hidden_proto.
9388         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9389         _dl_mcount.
9390         * elf/rtld.c (_rtld_global_ro): Likewise.
9392         [BZ #14132]
9393         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9394         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9395         of _dl_init_internal.
9396         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9397         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9398         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9399         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9400         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9401         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9402         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9403         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9404         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9405         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9406         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9407         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9408         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9409         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9410         * sysdeps/tile/dl-start.S (_start): Likewise.
9411         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9412         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9414         [BZ #14132]
9415         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9416         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9417         (rtld_progname): Make macro definition unconditional.
9418         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9419         INTDEF.
9420         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9421         (dl_main): Likewise.
9422         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9423         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9424         instead of _dl_argv_internal.
9425         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9426         __GI__dl_argv instead of INTUSE(_dl_argv).
9427         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9428         __GI__dl_argv instead of _dl_argv_internal.
9430         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9431         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9432         macro.
9433         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9434         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9435         New macro.
9436         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9437         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9438         macro.
9439         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9440         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9442 2014-11-04  Andreas Schwab  <schwab@suse.de>
9444         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9446 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9448         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9449         mtvsrd instruction in binary form.
9451 2014-11-03  Andreas Schwab  <schwab@suse.de>
9453         [BZ #17522]
9454         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9455         for less than MB_LEN_MAX use a local buffer of that size.
9456         * libio/tst-fputws.c: New file.
9457         * libio/Makefile (tests): Add tst-fputws.
9459 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9461         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9462         the size of the fpu_fr.fpu_dregs[] array.
9464 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9466         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9467         (__nanosleep): Do not define as alias.
9468         (nanosleep): Define as alias of __nanosleep.
9469         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9470         __libc_nanosleep name.
9472 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9474         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9475         install.texi in comment.
9477 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9479         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9480         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9481         ... add here and use lwsync or sync ...
9482         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9483         ... and add here using lwsync.
9485 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9487         * elf/dl-machine-reject-phdr.h: New file.
9488         * elf/dl-load.c: #include that.
9489         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9490         if that returned true.
9492 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9494         [BZ #17496]
9495         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9496         gen-as-const-headers chunk.  Add a big scare comment after the last
9497         safe place to touch before-compile.
9499 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9501         * manual/install.texi (Tools for Compilation): Update autoconf
9502         version requirements.
9503         * INSTALL: Regenerated.
9505         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9506         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9507         (__libc_pselect): Likewise.
9509         [BZ #14138]
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9515 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9517         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9518         correct barrier instruction.
9519         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9520         Likewise.
9521         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9522         Likewise.
9524 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9526         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9527         after defining inlines.  Instead, just use parens to defeat macro
9528         expansion of __isctype in its declaration.
9530 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9532         * include/sys/uio.h (__libc_readv): Remove declaration.
9533         (__libc_writev): Likewise.
9534         * misc/readv.c (__libc_readv): Rename to __readv.
9535         (__readv): Do not define as alias.
9536         (readv): Define as alias of __readv.
9537         * misc/writev.c (__libc_writev): Rename to __writev.
9538         (__writev): Do not define as alias.
9539         (writev): Define as alias of __writev.
9540         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9541         (__readv): Do not define as alias.
9542         (readv): Define unconditionally as alias of __readv.
9543         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9544         (__writev): Do not define as alias.
9545         (writev): Define unconditionally as alias of __writev.
9546         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9547         name.
9548         (writev): Do not define __libc_writev name.
9550 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9552         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9553         (convert_charseq): New function, broken out of ...
9554         (use_from_charmap): ... here.  Call it.
9555         (use_to_charmap): Use convert_charseq and free instead of duplicating
9556         its code with a variable-length stack struct.
9558 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9560         * include/fcntl.h (__libc_creat): Remove declaration.
9561         * io/creat.c (__libc_creat): Rename to creat.
9562         (creat): Do not define as alias.
9563         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9564         of creat instead of __libc_creat.
9565         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9566         to creat.
9567         (creat): Do not define as alias.
9568         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9569         __libc_creat.
9570         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9571         __libc_creat name.
9572         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9573         Likewise.
9575 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9577         * manual/llio.texi: Add comments discussing why write() may be
9578         considered MT-unsafe on Linux.
9580 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9582         * dl-load.c (local_strdup): Remove.
9583         (expand_dynamic_string_token): Use __strdup.
9584         (decompose_rpath): Likewise.
9585         (_dl_map_object): Likewise.
9587 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9589         [BZ #14132]
9590         * sysdeps/generic/unwind-dw2-fde.c
9591         (__register_frame_info_bases_internal): Do not declare.
9592         (__register_frame_info_table_bases_internal): Likewise.
9593         (__deregister_frame_info_bases_internal): Likewise.
9594         (__register_frame_info_bases): Declare and use hidden_proto before
9595         definition.  Use hidden_def instead of INTDEF.
9596         (__register_frame_info_table_bases): Likewise.
9597         (__deregister_frame_info_bases): Likewise.
9598         (__register_frame_info): Do not use INTUSE.
9599         (__register_frame): Likewise.
9600         (__register_frame_info_table): Likewise.
9601         (__register_frame_table): Likewise.
9602         (__deregister_frame_info): Likewise.
9603         (__deregister_frame): Likewise.
9605 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9607         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9608         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9609         not undefine.
9610         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9611         Likewise.
9612         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9613         Likewise.
9615 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9617         [BZ #14138]
9618         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9619         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9620         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9621         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9622         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9623         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9624         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9625         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9626         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9627         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9628         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9629         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9630         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9631         syscall.
9632         (setfsuid): Likewise.
9633         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9634         (setfsuid): Likewise.
9635         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9636         (setfsuid): Likewise.
9637         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9638         Likewise.
9639         (setfsuid): Likewise.
9640         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9641         (setfsuid): Likewise.
9642         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9643         Likewise.
9644         (setfsuid): Likewise.
9646 2014-10-27  Andreas Schwab  <schwab@suse.de>
9648         [BZ #17501]
9649         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9650         check for Slow_SSE4_2 feature bit.
9651         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9652         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9653         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9654         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9656 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9658         * configure.ac: Validate compiler version with a empirical test of
9659         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9660         $CC -v output.
9661         * configure: Regenerated.
9663         * inet/htons.c (htons): Prototypify.
9664         * inet/htonl.c (htonl): Likewise.
9666 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9668         * string/strncat.c (strncat): Improve performance by using strlen.
9670 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9672         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9674 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9676         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9677         Call libc_fetestexcept_aarch64.
9679 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9681         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9682         Call libc_feholdexcept_aarch64.
9684 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9686         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9687         Call get_rounding_mode.
9689 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9691         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9692         Simplify logic.
9694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9696         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9697         Simplify logic.
9699 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9701         [BZ #14138]
9702         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9703         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9704         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9705         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9706         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9707         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9708         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9709         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9710         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9711         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9712         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9713         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9714         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9715         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9716         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9717         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9718         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9719         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9720         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9721         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9722         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9723         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9724         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9725         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9726         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9727         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9728         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9729         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9730         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9731         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9732         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9733         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9734         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9735         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9736         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9737         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9738         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9739         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9740         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9741         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9742         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9743         syscall.
9744         (geteuid): Likewise.
9745         (getgid): Likewise.
9746         (getuid): Likewise.
9747         (getresgid): Likewise.
9748         (getresuid): Likewise.
9749         (getgroups): Likewise.
9750         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9751         (geteuid): Likewise.
9752         (getgid): Likewise.
9753         (getuid): Likewise.
9754         (getresgid): Likewise.
9755         (getresuid): Likewise.
9756         (getgroups): Likewise.
9757         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9758         (geteuid): Likewise.
9759         (getgid): Likewise.
9760         (getuid): Likewise.
9761         (getresgid): Likewise.
9762         (getresuid): Likewise.
9763         (getgroups): Likewise.
9764         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9765         Likewise.
9766         (geteuid): Likewise.
9767         (getgid): Likewise.
9768         (getuid): Likewise.
9769         (getresgid): Likewise.
9770         (getresuid): Likewise.
9771         (getgroups): Likewise.
9772         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9773         (geteuid): Likewise.
9774         (getgid): Likewise.
9775         (getuid): Likewise.
9776         (getresgid): Likewise.
9777         (getresuid): Likewise.
9778         (getgroups): Likewise.
9779         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9780         Likewise.
9781         (geteuid): Likewise.
9782         (getgid): Likewise.
9783         (getuid): Likewise.
9784         (getgroups): Likewise.
9786         [BZ #14138]
9787         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9788         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9789         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9790         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9791         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9792         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9793         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9794         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9795         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9796         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9797         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9798         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9799         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9800         __chown.
9801         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9802         (lchown): Likewise.
9803         (fchown): Likewise.
9804         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9805         Likewise.
9806         (lchown): Likewise.
9807         (fchown): Likewise.
9808         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9809         (lchown): Likewise.
9810         (fchown): Likewise.
9811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9812         Likewise.
9813         (lchown): Likewise.
9814         (fchown): Likewise.
9816 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9818         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9819         Simplify logic.
9821 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9823         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9824         Cleanup logic.
9826 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9828         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9829         Remove unused include.
9831 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9833         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9834         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9835         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9836         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9838 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9839             Helge Deller <deller@gmx.de>
9841         [BZ #17508]
9842         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9843         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9844         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9846 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9848         [BZ #14132]
9849         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9850         Remove macro definition.
9851         (__ashrdi3_v_glibc20): Likewise.
9852         (__lshrdi3_v_glibc20): Likewise.
9853         (__cmpdi2_v_glibc20): Likewise.
9854         (__ucmpdi2_v_glibc20): Likewise.
9855         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9856         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9857         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9858         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9859         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9860         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9862 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9864         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9865         old GNU extension [0] syntax.
9866         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9867         alloca rather than an array member with variable length.
9868         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9869         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9870         (parse_opt): ... here.  Likewise use alloca there.
9871         Validate the -i argument before checking for rootness.
9872         (send_shutdown): New function, broken out of ...
9873         (parse_opt): ... here.
9875 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9877         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9878         macro to get at the _rt_local_ro field.
9879         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9880         ([PIC] case) or _dl_hwcap ([!PIC] case).
9881         * sysdeps/arm/setjmp.S: Likewise.
9883         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9884         * sysdeps/arm/configure.ac: New check to define it.
9885         * sysdeps/arm/configure: Regenerated.
9886         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9887         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9888         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9889         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9890         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9891         Use move/movt pair instead of a load.
9892         (LDST_GLOBAL): Macro removed.
9893         (LDR_GLOBAL): New macro replaces it.
9894         (LDR_HIDDEN): New macro.
9895         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9896         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9898         * setjmp/tst-setjmp-static.c: New file.
9899         * setjmp/Makefile (tests): Add it.
9900         (tests-static): New variable.
9902 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9904         [BZ #17485]
9905         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9907 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9909         [BZ #14132]
9910         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9912 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9914         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9916 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9918         * io/fts.c (dirent_not_directory): New function.
9919         (fts_build): Call it.
9921 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9923         * nptl/version.c (__nptl_main): Use normal __write rather than
9924         INTERNAL_SYSCALL.
9925         (banner): Update copyright years.
9927         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9928         gettimeofday.
9929         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9930         * nptl/pthread_cond_timedwait.c: Likewise.
9931         * nptl/pthread_mutex_timedlock.c: Likewise.
9932         * nptl/sem_timedwait.c: Likewise.
9934         * sysdeps/nptl/bits/libc-lock.h
9935         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9936         (__libc_lock_init_recursive): Return void, not 0.
9937         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9938         (__libc_rwlock_init): Likewise.
9939         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9941 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9943         [BZ #15215]
9944         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9945         (__pthread_once_slow): ... here.
9946         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9947         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9949 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9951         [BZ #15215]
9952         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9953         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9954         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9955         * nptl/pthread_once.c (__pthread_once): Likewise.
9956         Update comments.
9958 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9960         [BZ #14138]
9961         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9962         name.
9963         (writev): Use __libc_writev as strong name.
9964         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9965         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9967 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9969         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9971         * sysdeps/i386/nptl/tls.h
9972         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9973         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9974         New macros.
9975         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9976         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9977         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9978         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9979         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9980         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9982         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9983         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9984         on [__NR_futex].
9985         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9986         broken out of ...
9987         (__pthread_mutex_init): ... here.  Call it.
9988         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9989         Conditionalize PI cases on [__NR_futex].
9990         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9991         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9992         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9994         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9995         conditional on [SIGSETXID].
9996         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9997         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9998         is defined.  Likewise for SIGSETXID.
9999         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
10000         Conditionalize definitions on [SIGSETXID].
10001         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
10002         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
10003         unblocking on [SIGCANCEL].
10005         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
10006         [__NR_set_robust_list].
10008 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10010         * string/strcoll_l.c (get_next_seq): Fix up formatting.
10011         (do_compare): Likewise.
10013 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10015         [BZ #15884]
10016         * string/strcoll_l.c: Don't include stdio.h.
10017         (coll_seq): Remove members idxarr and rulearr.
10018         (get_next_seq_cached): Remove function.
10019         (get_next_seq): Likewise.
10020         (get_next_seq_nocache): Rename to get_next_seq.
10021         (do_compare): Remove function.
10022         (do_compare_nocache): Rename to do_compare.
10023         (STRCOLL): Remove weight and rules cache.
10025 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10027         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10028         * sysdeps/arm/sfp-machine.h: ... to here.
10029         * sysdeps/arm/Implies: Remove arm/soft-fp.
10031 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10033         * conform/data/sys/utsname.h-data (*_t): Allow.
10034         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10035         [POSIX] (WEXITED): Do not expect constant.
10036         [POSIX] (WSTOPPED): Likewise.
10037         [POSIX] (WNOHANG): Likewise.
10038         [POSIX] (WNOWAIT): Likewise.
10039         [POSIX] (siginfo_t): Do not expect type or elements.
10040         [POSIX] (pid_t): Do not expect type.
10041         [POSIX] (signal.h): Do not allow header.
10042         [POSIX] (sys/resource.h): Likewise.
10043         [POSIX] (si_*): Do not allow pattern.
10044         [POSIX] (W*): Likewise.
10045         [POSIX] (P_*): Likewise.
10046         [POSIX] (BUS_*): Likewise.
10047         [POSIX] (CLD_*): Likewise.
10048         [POSIX] (FPE_*): Likewise.
10049         [POSIX] (ILL_*): Likewise.
10050         [POSIX] (POLL_*): Likewise.
10051         [POSIX] (SEGV_*): Likewise.
10052         [POSIX] (SI_*): Likewise.
10053         [POSIX] (TRAP_*): Likewise.
10054         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10055         variable.
10057 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10059         [BZ #12926]
10060         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10061         infinite loop when __recvmsg returns 0.
10063 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10065         * CANCEL-FCT-WAIVE: Remove file.
10066         * CANCEL-FILE-WAIVE: Likewise.
10068         [BZ #14132]
10069         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10070         instead of INTVARDEF.
10071         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10072         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10073         rtld_hidden_data_def instead of INTVARDEF.
10074         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10075         * elf/dl-deps.c (expand_dst): Likewise.
10076         * elf/dl-load.c (_dl_dst_count): Likewise.
10077         (_dl_dst_substitute): Likewise.
10078         (decompose_rpath): Likewise.
10079         (_dl_init_paths): Likewise.
10080         (open_path): Likewise.
10081         (_dl_map_object): Likewise.
10082         * elf/rtld.c (dl_main): Likewise.
10083         (process_dl_audit): Likewise.
10084         (process_envvars): Likewise.
10085         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10086         Remove declaration.
10087         (__libc_enable_secure): Use rtld_hidden_proto.
10089 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10091         * elf/dl-load.c
10092         (add_path): New function broken out of _dl_rtld_di_serinfo.
10093         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10095 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10097         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10098         parentheses around macro arguments.
10099         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10100         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10101         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10102         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10103         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10104         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10109         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10110         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10111         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10112         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10113         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10114         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10115         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10116         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10117         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10118         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10119         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10121         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10126         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10127         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10128         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10129         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10130         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10131         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10132         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10133         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10134         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10135         Likewise.
10136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10137         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10138         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10141         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10143         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10144         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10145         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10146         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10147         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10148         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10157         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10158         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10160         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10162         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10163         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10164         (_FP_FRAC_SRS_1): Likewise.
10165         (_FP_FRAC_CLZ_1): Likewise.
10166         (_FP_MUL_MEAT_1_imm): Likewise.
10167         (_FP_MUL_MEAT_1_wide): Likewise.
10168         (_FP_MUL_MEAT_1_hard): Likewise.
10169         (_FP_SQRT_MEAT_1): Likewise.
10170         (_FP_FRAC_ASSEMBLE_1): Likewise.
10171         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10172         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10173         (__FP_CLZ_2): Likewise.
10174         (_FP_MUL_MEAT_2_wide): Likewise.
10175         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10176         (_FP_MUL_MEAT_2_gmp): Likewise.
10177         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10178         (_FP_SQRT_MEAT_2): Likewise.
10179         (_FP_FRAC_ASSEMBLE_2): Likewise.
10180         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10181         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10182         (_FP_FRAC_CLZ_4): Likewise.
10183         (_FP_MUL_MEAT_4_wide): Likewise.
10184         (_FP_MUL_MEAT_4_gmp): Likewise.
10185         (_FP_SQRT_MEAT_4): Likewise.
10186         (_FP_FRAC_ASSEMBLE_4): Likewise.
10187         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10188         * soft-fp/op-common.h (_FP_CMP): Likewise.
10189         (_FP_CMP_EQ): Likewise.
10190         (_FP_CMP_UNORD): Likewise.
10191         (_FP_TO_INT): Likewise.
10192         (_FP_FROM_INT): Likewise.
10193         [!__FP_CLZ] (__FP_CLZ): Likewise.
10194         (_FP_DIV_HELP_imm): Likewise.
10195         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10196         Likewise.
10197         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10198         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10199         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10200         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10202         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10204         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10206         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10207         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10208         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10209         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10210         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10211         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10212         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10213         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10214         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10215         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10217         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10224         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10225         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10226         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10227         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10228         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10229         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10230         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10231         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10232         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10233         (FP_UNPACK_RAW_SP): Likewise.
10234         (FP_PACK_RAW_S): Likewise.
10235         (FP_PACK_RAW_SP): Likewise.
10236         (FP_UNPACK_S): Likewise.
10237         (FP_UNPACK_SP): Likewise.
10238         (FP_UNPACK_SEMIRAW_S): Likewise.
10239         (FP_UNPACK_SEMIRAW_SP): Likewise.
10240         (FP_PACK_S): Likewise.
10241         (FP_PACK_SP): Likewise.
10242         (FP_PACK_SEMIRAW_S): Likewise.
10243         (FP_PACK_SEMIRAW_SP): Likewise.
10244         (_FP_SQRT_MEAT_S): Likewise.
10245         (FP_CMP_S): Likewise.
10246         (FP_CMP_EQ_S): Likewise.
10247         (FP_CMP_UNORD_S): Likewise.
10248         (FP_TO_INT_S): Likewise.
10249         (FP_FROM_INT_S): Likewise.
10251         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10253         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10254         (FP_EX_INVALID_IMZ): Likewise.
10255         (FP_EX_INVALID_IMZ_FMA): Likewise.
10256         (FP_EX_INVALID_ISI): Likewise.
10257         (FP_EX_INVALID_ZDZ): Likewise.
10258         (FP_EX_INVALID_IDI): Likewise.
10259         (FP_EX_INVALID_SQRT): Likewise.
10260         (FP_EX_INVALID_CVI): Likewise.
10261         (FP_EX_INVALID_VC): Likewise.
10262         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10263         "invalid" exceptions.
10264         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10265         (_FP_ADD_INTERNAL): Likewise.
10266         (_FP_MUL): Likewise.
10267         (_FP_FMA): Likewise.
10268         (_FP_DIV): Likewise.
10269         (_FP_CMP_CHECK_NAN): Likewise.
10270         (_FP_SQRT): Likewise.
10271         (_FP_TO_INT): Likewise.
10272         (FP_EXTEND): Likewise.
10274 2014-10-09  Allan McRae  <allan@archlinux.org>
10276         * po/fr.po: Update French translation from translation project.
10278 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10280         [BZ #14132]
10281         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10282         of INTDEF.
10283         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10284         (__cxa_atexit): Use libc_hidden_proto.
10285         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10287         [BZ #14132]
10288         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10289         declaration.
10290         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10291         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10292         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10293         [!_ISOMAC] (__iswctype_internal): Likewise.
10294         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10295         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10296         alias.
10297         (fcntl): Remove __fcntl_internal alias.
10298         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10299         __connect_internal alias.
10300         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10301         Likewise.
10303         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10304         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10305         FP_DENORM_ZERO.
10306         (_FP_CHECK_FLUSH_ZERO): New macro.
10307         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10308         (_FP_CMP): Likewise.
10309         (_FP_CMP_EQ): Likewise.
10310         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10311         FP_DENORM_ZERO.
10312         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10313         (FP_TRUNC): Likewise.
10315         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10316         treated as invalid conversion, not as normal exponent.
10318         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10319         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10320         (_FP_CMP_EQ): Likewise.
10321         (_FP_CMP_UNORD): Likewise.
10322         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10323         (FP_CMP_EQ_D): Likewise.
10324         (FP_CMP_UNORD_D): Likewise.
10325         * soft-fp/extended.h (FP_CMP_E): Likewise.
10326         (FP_CMP_EQ_E): Likewise.
10327         (FP_CMP_UNORD_E): Likewise.
10328         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10329         (FP_CMP_EQ_Q): Likewise.
10330         (FP_CMP_UNORD_Q): Likewise.
10331         * soft-fp/single.h (FP_CMP_S): Likewise.
10332         (FP_CMP_EQ_S): Likewise.
10333         (FP_CMP_UNORD_S): Likewise.
10334         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10335         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10336         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10337         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10338         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10339         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10340         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10341         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10342         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10343         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10344         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10345         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10346         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10347         to FP_CMP_Q.
10348         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10349         FP_CMP_Q.
10350         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10351         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10352         FP_CMP_EQ_Q.
10353         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10354         FP_CMP_Q.
10355         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10356         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10357         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10358         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10359         FP_CMP_EQ_Q.
10360         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10361         FP_CMP_Q.
10362         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10363         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10364         FP_CMP_EQ_Q.
10365         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10366         FP_CMP_Q.
10367         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10368         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10369         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10370         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10371         FP_CMP_EQ_Q.
10373         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10374         a subnormal result, set the underflow exception if trapping on
10375         underflow is enabled.
10376         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10377         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10378         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10379         redefine to 0.
10380         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10381         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10382         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10383         * soft-fp/extendxftf2.c (__extendxftf2): Use
10384         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10386         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10387         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10388         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10389         FP_HANDLE_EXCEPTIONS.
10390         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10391         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10392         FP_HANDLE_EXCEPTIONS.
10393         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10394         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10395         FP_HANDLE_EXCEPTIONS.
10396         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10397         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10398         FP_HANDLE_EXCEPTIONS.
10400 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10402         [BZ #14132]
10403         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10404         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10405         use INTUSE.
10406         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10407         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10408         Remove alias.
10409         (__adjtimex): Define using libc_hidden_ver.
10410         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10411         Remove declaration.
10412         (ntp_gettime): Call __adjtimex directly.
10413         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10414         Remove declaration.
10415         (ntp_gettimex): Call __adjtimex directly.
10416         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10417         __adjtimex_internal alias.
10419 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10421         [BZ #17460]
10422         * nscd/nscd.c (more_help): Rewrite list of tables collection
10423         using xstrdup and asprintf.
10425         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10427 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10428             Roland McGrath  <roland@hack.frob.com>
10430         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10431         (do_lookup_unique): ... local function 'enter' here; update callers.
10433 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10435         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10436         compat_symbol calls on [SHARED].
10437         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10438         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10439         Remove.
10440         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10441         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10442         (oldsetrlimit): Remove.
10443         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10445         (lchown): New syscall entry.
10446         (oldsetrlimit): Remove.
10447         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10448         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10449         (oldsetrlimit): Remove.
10450         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10452         [BZ #14138]
10453         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10454         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10455         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10456         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10457         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10458         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10459         (fchown): Likewise.
10460         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10461         (fchown): Likewise.
10462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10463         Likewise.
10465 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10467         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10468         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10469         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10470         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10471         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10472         Likewise.
10473         (__old_sem_post): Likewise.
10475 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10477         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10478         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10479         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10480         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10481         Use INLINE_VSYSCALL macro.
10482         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10483         __vdso_clock_gettime.
10484         * sysdeps/unix/sysv/linux/tile/init-first.c
10485         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10486         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10487         __vdso_clock_gettime.
10489         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10490         to set up frame more cleanly.
10492         * sysdeps/tile/memcmp.c: New file.
10494         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10496         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10497         * sysdeps/tile/tilegx/strcasestr.c: New file.
10498         * sysdeps/tile/tilegx/strnlen.c: New file.
10499         * sysdeps/tile/tilegx/strstr.c: New file.
10501         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10503 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10505         * nptl/tst-setuid3.c: Write errors to stdout.
10507 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10509         * elf/dl-deps.c
10510         (preload): New functions broken out of _dl_map_object_deps.
10511         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10513 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10515         [BZ #14138]
10516         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10517         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10519 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10521         * sysdeps/mips/strcmp.S: New.
10523 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10525         [BZ #14138]
10526         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10527         (linkat): Likewise.
10528         (mkdirat): Likewise.
10529         (readlinkat): Likewise.
10530         (renameat): Likewise.
10531         (symlinkat): Likewise.
10532         (unlinkat): Likewise.
10533         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10534         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10535         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10536         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10537         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10538         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10539         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10541 2014-09-30  Will Newton  <will.newton@linaro.org>
10543         * math/math.h: Define long double math functions if
10544         _LIBC_TEST is defined.
10545         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10547         * localedata/Makefile: Move assignment to tests-special
10548         into an ifdef testing run-built-tests.
10549         * timezone/Makefile: Likewise.
10551 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10553         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10554         with $(BASH) not $(SHELL).
10556 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10557             Matthew LeGendre  <legendre1@llnl.gov>
10559         [BZ #17411]
10560         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10561         l_reloc_result.
10563 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10565         * stdio-common/printf_fp.c
10566         (hack_digit): New function, broken out of ...
10567         (__printf_fp): ... local function here.  Update call sites.
10568         hack_digit now takes an additional parameter that is a pointer
10569         to a struct of the referenced locals.  Those locals moved inside
10570         the struct and references updated.
10572 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10574         * aclocal.m4: Require autoconf 2.69.
10575         * configure: Regenerated.
10576         * sysdeps/aarch64/configure: Likewise.
10577         * sysdeps/alpha/configure: Likewise.
10578         * sysdeps/arm/armv7/configure: Likewise.
10579         * sysdeps/arm/configure: Likewise.
10580         * sysdeps/ia64/configure: Likewise.
10581         * sysdeps/mach/configure: Likewise.
10582         * sysdeps/mips/configure: Likewise.
10583         * sysdeps/s390/configure: Likewise.
10584         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10587         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10588         file.
10589         * sysdeps/ia64/configure.ac: Likewise.
10591 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10594         specify symbol version for ld.so.  Do not include entry for
10595         libpthread.
10596         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10597         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10598         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10600         [BZ #14171]
10601         * Makeconfig [$(build-shared) = yes]
10602         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10603         makefiles.
10604         [$(build-shared) = yes && $(soversions.mk-done) = t]
10605         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10606         [$(build-shared) = yes && $(soversions.mk-done) = t]
10607         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10608         to Makerules.
10609         [$(build-shared) = yes && $(soversions.mk-done) = t]
10610         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10611         here.
10612         [$(build-shared) = yes && $(soversions.mk-done) = t]
10613         (common-generated): Don't append gnu/lib-names.h and
10614         gnu/lib-names.stmp here.
10615         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10616         (lib-names-h-abi): New variable.
10617         [$(build-shared) = yes && $(soversions.mk-done) = t]
10618         (lib-names-stmp-abi): Likewise.
10619         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10620         abi-variants] (before-compile): Append
10621         $(common-objpfx)$(lib-names-h-abi).
10622         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10623         abi-variants] (common-generated): Append gnu/lib-names.h.
10624         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10625         abi-variants] (install-others-nosubdir): Depend on
10626         $(inst_includedir)/$(lib-names-h-abi).
10627         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10628         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10629         [$(build-shared) = yes && $(soversions.mk-done) = t]
10630         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10631         [$(build-shared) = yes && $(soversions.mk-done) = t]
10632         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10633         [$(build-shared) = yes && $(soversions.mk-done) = t]
10634         (common-generated): Append $(lib-names-h-abi) and
10635         $(lib-names-stmp-abi).
10636         * scripts/lib-names.awk: Do not handle multi being set.
10637         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10638         Remove variable.
10639         (abi-lp64_be-ld-soname): Likewise.
10640         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10641         Likewise.
10642         (abi-hard-ld-soname): Likewise.
10643         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10644         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10645         Remove variable.
10646         (abi-o32_hard-ld-soname): Likewise.
10647         (abi-o32_soft_2008-ld-soname): Likewise.
10648         (abi-o32_hard_2008-ld-soname): Likewise.
10649         (abi-n32_soft-ld-soname): Likewise.
10650         (abi-n32_hard-ld-soname): Likewise.
10651         (abi-n32_soft_2008-ld-soname): Likewise.
10652         (abi-n32_hard_2008-ld-soname): Likewise.
10653         (abi-n64_soft-ld-soname): Likewise.
10654         (abi-n64_hard-ld-soname): Likewise.
10655         (abi-n64_soft_2008-ld-soname): Likewise.
10656         (abi-n64_hard_2008-ld-soname): Likewise.
10657         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10658         Likewise.
10659         (abi-64-v2-ld-soname): Likewise.
10660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10661         ld.so entries.
10662         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10663         variable.
10664         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10665         entry.
10666         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10667         variable.
10668         (abi-64-ld-soname): Likewise.
10669         (abi-x32-ld-soname): Likewise.
10670         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10671         entry.
10672         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10674 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10676         [BZ #14138]
10677         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10678         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10679         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10680         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10681         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10682         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10683         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10684         syscall entry for GLIBC_2.2 symbol version.
10685         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10686         Likewise.
10687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10688         (setrlimit): Likewise.
10689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10690         Likewise.
10692 2014-09-23  Will Newton  <will.newton@linaro.org>
10694         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10695         _LINUX_ARM_SYSDEP_H include guard too.
10696         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10697         define.
10699 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10701         * sysdeps/unix/sysv/linux/eventfd.c:
10702         Make first argument unsigned.
10703         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10704         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10706 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10708         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10709         * socket/sys/socket.h: Likewise
10710         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10712 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10714         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10716 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10718         * time/tst-ftime.c: New test.
10719         * time/Makefile (tests): Add tst-ftime.
10721 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10723         * soft-fp/extended.h: Fix comment formatting.
10724         * soft-fp/op-1.h: Likewise.
10725         * soft-fp/op-2.h: Likewise.
10726         * soft-fp/op-4.h: Likewise.
10727         * soft-fp/op-8.h: Likewise.
10728         * soft-fp/op-common.h: Likewise.
10729         * soft-fp/soft-fp.h: Likewise.
10731         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10733 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10735         [BZ #6652]
10736         * Makeconfig (soversions-default-setname): Remove variable.
10737         ($(common-objpfx)soversions.i): Don't pass default_setname to
10738         soversions.awk.
10739         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10740         oldest_abi to abi-versions.awk.
10741         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10742         * config.make.in (oldest-abi): Remove variable.
10743         * configure.ac (--enable-oldest-abi): Remove configure option.
10744         * configure: Regenerated.
10745         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10746         text.
10747         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10748         * scripts/soversions.awk: Do not handle default_setname variable.
10749         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10750         variable.
10751         * sysdeps/mach/hurd/configure: Regenerated.
10752         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10753         variable.
10754         * sysdeps/unix/sysv/linux/configure: Regenerated.
10756 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10758         * elf/Makefile (CFLAGS-interp.c): Remove.
10759         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10760         path string.
10761         * elf/interp.c: Include generated runtime-linker.h
10763         * Makerules (lib%.so): Don't include $(+interp) in
10764         prerequisites.
10765         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10766         * dlfcn/eval.c: Remove file.
10768         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10769         macros.
10771         [BZ #17266]
10772         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10773         4.2 and newer.
10775         [BZ #17370]
10776         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10778 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10779             Jakub Jelinek  <jakub@redhat.com>
10781         [BZ #17266]
10782         * libio/stdio.h: Check definition of __fortify_function
10783         instead of __extern_always_inline to include bits/stdio2.h.
10784         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10785         check if __extern_always_inline is defined.
10786         [__USE_MISC || __USE_XOPEN]: Likewise.
10787         [__USE_ISOC99] Likewise.
10788         * misc/sys/cdefs.h (__fortify_function): Define only if
10789         __extern_always_inline is defined.
10790         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10791         __extern_always_inline and __extern_inline only for g++-4.3
10792         and newer or a compatible gcc.
10794 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10796         [BZ #17371]
10797         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10798         last change to handle zero prefix length.
10800 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10802         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10803         _SC_REGEX_VERSION.
10805         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10806         _POSIX_RAW_SOCKETS.
10808 2014-09-13  Allan McRae  <allan@archlinux.org>
10810         * po/ru.po: Update Russian translation from translation project.
10812 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10814         * locale/programs/locale.c (show_locale_vars): Inline local function
10815         into its sole call site.  Clean up some style nits.
10816         (print_item): New function, broken out of ...
10817         (show_info): ... local function here.  Clean up style nits.
10819         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10820         out of ...
10821         (set_class_defaults): ... local function set_default here.
10822         Define set_default as a macro locally to pass constant parameters.
10823         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10824         rather than a shared local.
10826         * stdlib/rpmatch.c (try): New function, broken out of ...
10827         (rpmatch): ... local function here.  Also, prototypify definition.
10829 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10831         * scripts/soversions.awk: Do not handle configuration names.
10832         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10833         vendor and os variables to soversions.awk.
10834         * configure.ac: Do not modify gnu-* host_os.
10835         * configure: Regenerated
10836         * shlib-versions: Remove first column with configuration names.
10837         * nptl/shlib-versions: Likewise.
10838         * nptl_db/shlib-versions: Likewise.
10839         * sysdeps/hppa/shlib-versions: Likewise.
10840         * sysdeps/m68k/shlib-versions: Likewise.
10841         * sysdeps/mach/hurd/shlib-versions: Likewise.
10842         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10843         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10844         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10845         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10846         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10847         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10848         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10849         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10851         Likewise.
10852         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10853         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10854         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10857         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10858         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10859         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10862         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10864         Regenerated.
10865         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10867         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10869         * shlib-versions: Remove OS-specific entries.  Moved to files in
10870         sysdeps.
10871         * sysdeps/mach/hurd/shlib-versions: New file.
10872         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10874         * nptl/shlib-versions: Remove architecture-specific entries.
10875         Moved to files in sysdeps.
10876         * shlib-versions: Likewise.
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10878         file.
10879         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10880         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10881         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10882         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10884         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10885         (UDP_NO_CHECK6_RX): Likewise.
10887 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10889         * sysdeps/posix/sysconf.c (__sysconf): Spell
10890         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10892 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10894         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10895         loading.
10896         * iconv/Versions (__gconv_transliterate): Export for use from
10897         gconv modules.
10898         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10899         (struct __gconv_trans_data, __gconv_trans_fct,
10900         __gconv_trans_context_fct, __gconv_trans_query_fct,
10901         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10902         definitions.
10903         (struct __gconv_step_data): Remove __trans member.
10904         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10905         longer hidden.  Remove unused trans_data argument.
10906         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10907         (__gconv_translit_find): Remove declaration.
10908         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10909         prototype.
10910         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10911         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10912         trans_data argument.  Add hidden definition.
10913         (__gconv_translit_find): Remove.
10914         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10915         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10916         * iconv/skeleton.c: Remove transliteration initialization.
10917         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10918         __gconv_step_data initialization.
10919         * libio/iofwide.c (__libio_translit_): Remove.
10920         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10921         * wcsmbs/btowc.c (__btowc): Likewise.
10922         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10923         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10924         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10925         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10926         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10927         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10928         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10929         * wcsmbs/wctob.c (wctob): Likewise.
10931 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10933         [BZ #16194]
10934         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10935         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10936         register usage.
10937         * sysdeps/x86/Makefile: Adjust.
10939 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10940             Roland McGrath  <roland@hack.frob.com>
10942         * locale/weight.h: Add include guard.
10943         (findidx): Make static rather than auto; take new parameters
10944         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10945         * locale/weightwc.h: Likewise.
10946         * posix/fnmatch_loop.c
10947         (FCT): Change type of EXTRA from int32_t to wint_t.
10948         Don't include either header inside the function.
10949         Call FINDIDX rather than findidx, and pass new arguments.
10950         #undef FINDIDX at the end of the file.
10951         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10952         FINDIDX before including fnmatch_loop.c for the non-wide version.
10953         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10954         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10955         for the wide version.
10956         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10957         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10958         Pass new arguments to findidx.
10959         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10960         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10961         Don't #include it inside the function.  Pass new arguments to findidx.
10962         * posix/regex_internal.h
10963         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10964         (re_string_elem_size_at): Don't #include it inside the function.
10965         Pass new arguments to findidx.
10966         * string/strcoll_l.c: #include WEIGHT_H at top level.
10967         (get_next_seq): Don't #include it inside the function.
10968         Pass new arguments to findidx.
10969         (get_next_seq_nocache): Likewise.
10970         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10971         (STRXFRM): Don't #include it inside the function.
10972         Pass new arguments to findidx.
10974 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10976         [BZ #17344]
10977         * malloc/malloc.c (unlink): Turn asserts into a call to
10978         malloc_printerr.
10980 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10982         [BZ #17370]
10983         * libio/wfileops (do_ftell_wide): Free OUT.
10985 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10987         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10989 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10991         [BZ #17363]
10992         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10993         group if the current group is empty.
10995 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10997         * benchtests/bench-memset.c (test_main): Add more test from size
10998         from 32 to 512 bytes.
10999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11000         Add POWER8 memset object.
11001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11002         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
11003         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
11004         implementation.
11005         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
11006         Likewise.
11007         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
11008         multiarch POWER8 memset optimization.
11009         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
11010         POWER8 memset optimization.
11012         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11013         Remove bzero multiarch objects.
11014         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11015         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11016         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11017         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11018         Remove define.
11019         [__bzero]: Redefine to specific name.
11020         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11021         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11022         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11023         define.
11024         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11025         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11027 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11029         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11030         warnings into errors.
11032         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11033         __cxa_thread_atexit_impl prototype.
11035 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11037         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11038         Fix capitalization of error message.
11040 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11042         * sysdeps/mips/preconfigure: Modify ABI tests.
11044 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11046         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11048 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11049             Carlos O'Donell  <carlos@systemhalted.org>
11051         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11052         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11053         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11054         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11055         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11056         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11057         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11058         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11059         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11060         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11061         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11062         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11063         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11064         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11065         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11066         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11067         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11068         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11070         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11071         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11072         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11073         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11074         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11075         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11076         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11077         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11078         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11079         Deconditionalize the code that was previously under [RESET_PID].
11080         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11081         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11082         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11083         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11084         include sysdep.h.
11086 2014-09-08  Allan McRae  <allan@archlinux.org>
11088         * version.h (RELEASE): Set to "development".
11089         (VERSION): Set to "2.20.90"
11091 2014-09-07  Allan McRae  <allan@archlinux.org
11093         * version.h (RELEASE): Set to "stable".
11094         (VERSION): Set to "2.20"
11095         * include/features.h (__GLIBC_MINOR__): Set to 20.
11097         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11098         Liebler.
11100         * po/ko.po: Update Korean translation from translation project.
11102 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11104         [BZ #17354]
11105         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11106         macro for handling signed relocations.
11108 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11110         [BZ #17325]
11111         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11112         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11113         assert.
11114         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11115         * iconvdata/ibm935.c (BODY): Likewise.
11116         * iconvdata/ibm937.c (BODY): Likewise.
11117         * iconvdata/ibm939.c (BODY): Likewise.
11118         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11119         assert.
11120         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11121         script.
11122         * iconvdata/run-iconv-test.sh: New test loop for checking for
11123         decoder crashers.
11125 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11128         libm_hidden_ver.
11130 2014-09-01  Allan McRae  <allan@archlinux.org>
11132         * po/eo.po: Update Esperanto translation from translation project.
11134         * po/ca.po: Update Catalan translation from translation project.
11136 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11138         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11139         __proc_dostop call.
11141 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11143         [BZ #17319]
11144         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11145         to call set_thread_area instead of hand written asm.
11146         (__NR_set_thread_area): Removed define.
11147         (TLS_FLAG_WRITABLE): Likewise.
11148         (__ASSUME_SET_THREAD_AREA): Remove check.
11149         (TLS_EBX_ARG): Remove define.
11150         (TLS_LOAD_EBX): Likewise.
11152 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11154         Simplify atomicity of socket creation in bind.
11156         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11157         looking up the name after linking the file.
11159 2014-08-27  Allan McRae  <allan@archlinux.org>
11161         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11163 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11165         [BZ #17187]
11166         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11167         trans_compare, open_translit, __gconv_translit_find):
11168         Remove module loading code.
11170 2014-08-26  Allan McRae  <allan@archlinux.org>
11172         * po/vi.po: Update Vietnamese translation from translation project.
11174         * po/uk.po: Update Ukrainian translation from translation project.
11176         * po/fr.po: Update French translation from translation project.
11178         * po/ru.po: Update Russian translation from translation project.
11180         * po/pl.po: Update Polish translation from translation project.
11182         * po/cs.po: Update Czech translation from translation project.
11184         * po/de.po: Update German translation from translation project.
11186         * po/bg.po: Update Bulgarian translation from translation project.
11188         * po/sv.po: Update Sweedish translation from translation project.
11190         * po/nl.po: Update Dutch translation from translation project.
11192         * po/es.po: Update Spanish translation from translation project.
11194 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11196         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11198         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11199         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11200         (CPPFLAGS-iconvconfig): Likewise.
11201         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11203         * include/libc-symbols.h: Remove unnecessary check for
11204         NOT_IN_libc.
11205         * nptl/pthreadP.h: Likewise.
11206         * sysdeps/aarch64/setjmp.S: Likewise.
11207         * sysdeps/alpha/setjmp.S: Likewise.
11208         * sysdeps/arm/sysdep.h: Likewise.
11209         * sysdeps/i386/setjmp.S: Likewise.
11210         * sysdeps/m68k/setjmp.c: Likewise.
11211         * sysdeps/posix/getcwd.c: Likewise.
11212         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11213         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11214         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11215         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11216         * sysdeps/sh/sh3/setjmp.S: Likewise.
11217         * sysdeps/sh/sh4/setjmp.S: Likewise.
11218         * sysdeps/unix/alpha/sysdep.h: Likewise.
11219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11221         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11222         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11225         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11226         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11227         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11230         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11232         * sysdeps/x86_64/setjmp.S: Likewise.
11234 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11236         [BZ #17263]
11237         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11238         <stdint.h>.
11239         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11240         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11242 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11244         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11246         [BZ #17262]
11247         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11248         and __x86_64__ when disabling x87 inline functions.
11250 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11252         [BZ #17259]
11253         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11254         asm statement with __cpuid_count.
11256 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11258         * configure.ac: Change __ehdr_start code to dereference the struct.
11259         Run readelf on the output to look for relocations.
11260         * configure: Regenerated.
11262 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11264         [BZ #17261]
11265         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11266         value to 0.
11267         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11269 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11271         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11273 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11275         [BZ #16892]
11276         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11277         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11279 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11281         * malloc/malloc.c: Fix typo in comment.
11283 2014-08-09  Allan McRae  <allan@archlinux.org>
11285         * Regenerate libc.po.
11287 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11289         * intl/tst-gettext2.sh: Check every lang file for creation.
11291 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11293         * sysdeps/aarch64/fpu/math_private.h
11294         (libc_feholdsetround_noex_aarch64_ctx): New function.
11296 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11298         * sysdeps/arm/armv6/strcpy.S (strcpy):
11299         Fix performance issue in misaligned cases.
11301 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11303         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11304         Move definition from termios.h.
11305         (struct termio): Likewise.
11306         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11307         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11308         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11309         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11310         Likewise.
11311         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11312         Move definition to ioctl-types.h
11313         (struct termio): Likewise.
11314         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11315         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11316         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11317         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11318         Likewise.
11320 2014-08-05  Richard Henderson  <rth@redhat.com>
11322         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11323         exceptions.
11324         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11325         Add fraiseexcpt.
11326         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11327         Use __feraiseexcept.
11328         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11329         Protect libm symbols with IS_IN_libm.
11331         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11333 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11335         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11337 2014-08-04  Will Newton  <will.newton@linaro.org>
11339         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11340         file.
11342 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11344         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11345         variants for each function.
11347 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11349         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11350         appended ...
11351         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11352         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11353         appended ...
11354         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11355         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11356         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11357         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11358         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11359         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11360         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11361         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11362         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11363         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11364         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11365         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11366         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11367         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11368         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11369         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11370         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11371         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11372         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11373         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11374         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11375         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11376         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11377         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11378         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11379         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11380         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11381         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11382         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11383         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11384         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11385         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11386         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11387         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11388         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11389         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11390         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11391         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11392         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11393         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11394         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11395         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11396         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11397         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11398         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11399         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11400         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11402         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11404         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11405         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11406         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11407         Update #include.
11408         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11409         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11411 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11413         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11414         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11415         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11416         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11417         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11418         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11420 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11422         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11423         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11424         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11425         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11427 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11429         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11430         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11431         (__libc_vfork): Define function under this name.
11432         (__vfork): Define as an alias.
11433         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11434         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11436 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11438         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11439         that was previously under [RESET_PID].
11440         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11442 2014-08-04  Andreas Schwab  <schwab@suse.de>
11444         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11446 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11448         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11449         (main): Likewise.
11451 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11453         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11455 2014-08-01  Richard Henderon  <rth@redhat.com>
11457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11458         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11459         typo in exact zero test.
11460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11461         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11462         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11464 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11466         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11467         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11468         * sysdeps/arm/sysdep.h: ... here.
11469         [!__ASSEMBLER__]: Include <stdint.h>.
11471 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11473         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11474         (HAVE_WCTYPE_H): Likewise.
11475         (HAVE_ISWCTYPE): Likewise.
11476         (ENABLE_NLS): Likewise.
11477         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11478         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11480         * posix/regex_internal.c: Check if DEBUG is defined and is
11481         set.
11483         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11484         (HAVE_MBSRTOWCS): Likewise.
11485         * posix/fnmatch.c: Include string.h unconditionally.
11487 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11489         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11490         reversal.
11492 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11494         * sysdeps/generic/safe-fatal.h: New file.
11495         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11496         * nptl/forward.c: Include it.
11497         (__pthread_unwind): Use __safe_fatal as default action, rather
11498         than a bogus use of INTERNAL_SYSCALL that could never work.
11500         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11501         * configure.ac (libc_cv_builtin_trap): New test.
11502         * configure: Regenerated.
11503         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11504         (ABORT_INSTRUCTION): Define using __builtin_trap.
11506         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11507         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11508         * sysdeps/nptl/nptl-signals.h: New file.
11509         * nptl/pthreadP.h: Include <nptl-signals.h>.
11511 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11513         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11514         (ONE_DIRECTION): Define.
11515         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11516         (ONE_DIRECTION): Define.
11517         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11518         (ONE_DIRECTION): Define.
11520 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11522         * sysdeps/s390/Makefile: Delete file.
11523         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11524         * sysdeps/s390/__longjmp.c: Delete file.
11525         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11526         Remove fields __flags and __reserved.
11527         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11528         and add versioning.
11529         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11530         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11531         * sysdeps/s390/rtld-setjmp.S: Likewise.
11532         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11533         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11534         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11535         * sysdeps/s390/s390-32/setjmp.S: ... here.
11536         Add versioning.
11537         (__sigsetjmp): Remove setting __flags field.
11538         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11539         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11540         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11541         * sysdeps/s390/s390-64/setjmp.S: ... here.
11542         Add versioning.
11543         (__sigsetjmp): Remove setting __flags field.
11544         * sysdeps/s390/setjmp.S: Delete file.
11545         * sysdeps/s390/sigjmp.c: Likewise.
11546         * sysdeps/s390/v1-longjmp.c: Likewise.
11547         * sysdeps/s390/v1-setjmp.h: Likewise.
11548         * sysdeps/s390/v1-sigjmp.c: Likewise.
11549         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11550         Remove v1-longjmp_chk.
11551         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11552         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11553         Include debug/longjmp_chk.c and add versioning.
11554         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11555         Include nptl/pt-longjmp.c and add versioning.
11556         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11557         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11558         Include __longjmp.c.
11559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11560         Move to ...
11561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11562         (__getcontext): Remove setting __flags field.
11563         Add versioning.
11564         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11565         Don't restore upper high grps.
11566         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11567         Likewise.
11568         (__swapcontext): Remove setting uc_flags field.
11569         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11570         Delete file.
11571         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11572         Include __longjmp.c.
11573         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11574         Move to ...
11575         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11576         (__getcontext): Remove setting __flags field.
11577         Add versioning.
11578         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11579         (__swapcontext): Remove setting uc_flags field.
11580         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11581         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11582         Remove fields uc_high_gprs and __reserved.
11583         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11584         New file with reverted content.
11585         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11586         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11587         Regenerated.
11588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11589         Regenerated.
11591 2014-07-31  Andreas Schwab  <schwab@suse.de>
11593         * config.h.in (HAVE_IFUNC): Define to 0.
11594         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11595         definedness.
11597 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11599         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11600         memmove-avx-unaligned, memcpy-avx-unaligned and
11601         mempcpy-avx-unaligned.
11602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11603         Add tests for AVX memcpy functions.
11604         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11605         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11606         memcpy_chk.
11607         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11608         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11609         memmove_chk.
11610         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11611         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11612         mempcpy_chk.
11613         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11614         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11615         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11617 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11619         [BZ #17213]
11620         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11621         powerpc64le.
11623 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11625         [BZ #16839]
11626         * manual/llio.texi: Add section about open file description locks.
11627         * manual/examples/ofdlocks.c: Example of open file description
11628         lock usage.
11629         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11630         F_OFD_SETLK, and F_OFD_SETLKW.
11632 2014-07-23  Allan McRae  <allan@archlinux.org>
11634         * po/es.po: Update Spanish translation from translation project.
11636 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11638         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11640 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11642         [BZ #17078]
11643         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11644         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11645         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11647 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11649         [BZ #17088]
11650         * math/fesetenv.c (__fesetenv)
11651         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11652         * math/feupdateenv.c (__feupdateenv)
11653         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11655         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11656         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11657         (__ASSUME_SOCKETCALL): Do not define.
11659         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11660         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11661         (__ASSUME_SOCKETCALL): Do not define.
11662         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11663         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11664         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11665         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11666         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11667         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11668         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11669         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11671         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11672         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11673         (__ASSUME_SOCKETCALL): Do not define.
11674         (__ASSUME_IPC64): Define unconditionally.
11675         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11676         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11677         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11678         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11679         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11681         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11682         Likewise.
11684         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11685         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11686         (__ASSUME_SOCKETCALL): Do not define.
11687         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11688         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11689         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11690         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11691         (__ASSUME_REQUEUE_PI): Define unconditionally.
11692         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11693         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11694         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11695         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11696         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11697         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11699         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11700         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11701         (__ASSUME_SOCKETCALL): Do not define.
11702         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11704         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11705         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11706         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11707         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11709         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11710         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11711         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11712         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11713         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11714         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11715         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11716         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11717         (__ASSUME_GETCPU_SYSCALL): Likewise.
11719         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11720         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11721         cases for individual architectures.
11722         * sysdeps/gnu/configure: Regenerated.
11723         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11724         LIBC_SLIBDIR_RTLDDIR.
11725         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11726         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11727         LIBC_SLIBDIR_RTLDDIR.
11728         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11730         LIBC_SLIBDIR_RTLDDIR.
11731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11732         Regenerated.
11733         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11734         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11735         file.
11736         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11737         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11738         file.
11739         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11740         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11741         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11742         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11744         * sysdeps/aarch64/shlib-versions: Move to ...
11745         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11746         * sysdeps/alpha/shlib-versions: Move to ...
11747         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11748         * sysdeps/arm/shlib-versions: Move to ...
11749         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11750         * sysdeps/hppa/shlib-versions: Move all contents except for
11751         libgcc_s entry to ...
11752         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11753         entry from ...
11754         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11755         * sysdeps/ia64/shlib-versions: Move to ...
11756         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11757         entry from ...
11758         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11759         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11760         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11761         * sysdeps/microblaze/shlib-versions: Move to ...
11762         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11763         * sysdeps/mips/shlib-versions: Move to ...
11764         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11765         entry from ...
11766         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11767         * sysdeps/tile/shlib-versions: Move to ...
11768         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11769         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11770         from ...
11771         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11772         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11773         entry from ...
11774         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11776 2014-07-17  Will Newton  <will.newton@linaro.org>
11778         * sysdeps/arm/bits/atomic.h
11779         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11780         (__arch_compare_and_exchange_bool_16_int): Likewise.
11781         (__arch_compare_and_exchange_bool_64_int): Likewise.
11783         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11784         into an #else block.
11786 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11788         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11789         just Linux configurations.  Test empirically that the compiler sets
11790         __ARM_EABI__, rather than using the tuple to decide.
11791         * sysdeps/arm/preconfigure: Regenerated.
11792         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11793         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11794         contents appended ...
11795         * sysdeps/arm/configure.ac: ... here.
11796         * sysdeps/arm/configure: Regenerated.
11798 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11800         * nptl/pthread_kill.c: New file.
11801         * nptl/pthread_sigmask.c: New file.
11802         * nptl/pthread_sigqueue.c: New file.
11804         * sysdeps/nptl/lowlevellock.h: New file.
11805         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11806         * sysdeps/nptl/lowlevellock-futex.h: New file.
11808         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11809         Remove dead declarations.
11811 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11813         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11814         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11815         config-cflags-avx2.
11816         * sysdeps/x86_64/configure.ac: Likewise.
11817         * sysdeps/i386/configure: Regenerated.
11818         * sysdeps/x86_64/configure: Likewise.
11819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11820         memset-avx2 only if config-cflags-avx2 is yes.
11821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11822         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11823         defined.
11824         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11825         only if HAVE_AVX2_SUPPORT is defined.
11826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11828 2014-07-14  Alan Modra  <amodra@gmail.com>
11830         [BZ #17153]
11831         * elf/elf.h (DT_PPC64_NUM): Correct value.
11832         * NEWS: Add to fixed bug list.
11834 2014-07-13  Jim Meyering  <meyering@fb.com>
11836         [BZ 17150]
11837         regex: don't deref NULL upon heap allocation failure
11838         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11839         failure in one more place.
11840         To trigger the segfault, configure grep -with-included-regex,
11841         build it, and run these commands:
11842         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11844 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11846         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11848 2014-07-11  Richard Henderson  <rth@redhat.com>
11850         * sysdeps/aarch64/libm-test-ulps: Update.
11852 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11854         [BZ #17135]
11855         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11856         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11857         (__nptl_setxid): Initialize error member.  Call
11858         __nptl_setxid_error.
11859         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11860         * nptl/descr.h (struct xid_command): Add error member.
11861         * nptl/tst-setuid3.c: New file.
11862         * nptl/Makefile (tests): Add it.
11864 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11866         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11867         New define.
11868         (__lll_trylock): Use __lll_base_trylock.
11869         (__lll_cond_trylock): Likewise.
11871 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11873         * nptl/pthread_create.c (start_thread): Use atomic_or and
11874         lll_futex_wake directly rather than lll_robust_dead.
11875         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11876         (lll_robust_dead): Macro removed.
11877         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11878         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11879         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11880         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11881         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11882         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11883         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11884         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11885         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11886         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11887         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11888         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11889         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11890         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11891         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11893         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11894         Use atomic_compare_and_exchange_val_acq directly rather than
11895         lll_robust_trylock.
11896         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11897         (__lll_robust_trylock, lll_robust_trylock): Removed.
11898         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11899         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11900         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11901         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11902         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11903         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11904         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11905         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11907         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11908         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11909         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11910         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11911         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11913 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11915         * manual/locale.texi (Locale Names): New section documenting
11916         locale name syntax.  Adjust menu and node chaining accordingly.
11917         (Choosing Locale): Reference Locale Names, Locale Categories.
11918         Mention setting LC_ALL=C.  Reflect that name syntax is now
11919         documented.
11920         (Locale Categories): New section title.  Reference Locale Names.
11921         LC_ALL is an environment variable, but not a category.
11922         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11923         description, now in Locale Name.  Reference that section.  Locale
11924         name syntax is now documented.
11926 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11928         [BZ #17137]
11929         * locale/findlocale.c (name_present, valid_locale_name): New
11930         functions.
11931         (_nl_find_locale): Use the loc_name variable to store name
11932         candidates.  Call name_present and valid_locale_name to check and
11933         validate locale names.  Return an error if the locale is invalid.
11935 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11937         * locale/setlocale.c (setlocale): Use strdup for allocating
11938         composite name copy.
11940 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11942         Sync up with gnulib.
11943         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11944         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11945         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11946         and _GL_ARG_NONNULL.
11947         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11948         [!_LIBC]: Include code for Windows and Cygwin.
11949         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11950         Include prototype for int strerror_r.
11951         [!_LIBC] (is_open): New function.
11952         (flush_stdout): New function.
11953         (print_errno_message): Use it.
11954         (error): Likewise.
11955         (error_at_line): Likewise.
11956         (error_tail) Add function attribute macros.  Use
11957         __builtin_expect.
11959         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11961         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11963         * io/ftw.c: Include sys/param.h unconditionally.
11965         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11967         [BZ #17125]
11968         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11969         libc_freeres_ptr.
11970         (freecache): New function to free CACHE on exit.
11972         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11973         initialization.
11975 2014-07-09  David S. Miller  <davem@davemloft.net>
11977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11979         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11980         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11981         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11982         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11983         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11984         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11985         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11986         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11987         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11988         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11989         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11990         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11991         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11993 2014-07-09  Andreas Schwab  <schwab@suse.de>
11995         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11996         output.
11997         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11998         (do_test): Likewise.
12000         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12002 2014-07-09  Will Newton  <will.newton@linaro.org>
12004         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
12005         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
12006         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12007         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12008         * sysdeps/hppa/start.S (_start): Likewise.
12010 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
12012         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12014         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12015         defined.
12017 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12019         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12020         after checking that it is non-NULL.
12022         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12024 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12026         * sysdeps/powerpc/memmove.c: Remove file.
12027         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12028         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12029         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12030         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12031         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12032         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12033         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12034         string memmove instead of removed powerpc one.
12036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12037         [weak_alias]: Fix compiler warning due trailing data.
12038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12039         [weak_alias]: Likewise.
12040         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12041         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12044         (__libc_ifunc_impl_list): Add memmove functions.
12046 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12048         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12049         Remove code.
12050         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12051         Likewise
12052         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12053         Likewise
12054         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12055         Likewise
12056         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12057         Likewise
12058         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12059         Likewise
12060         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12061         Likewise
12062         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12063         Likewise
12064         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12065         Likewise
12066         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12067         Likewise
12068         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12069         Likewise
12070         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12071         Likewise
12072         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12073         Likewise
12074         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12075         Likewise
12076         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12077         Likewise
12078         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12079         Likewise
12080         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12081         Likewise
12083 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12085         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12086         to avoid alignment traps in non-cacheable memory.
12087         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12090         multiarch objects.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12092         file: multiarch power7 memmove.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12094         multiarch default memmove.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12096         multiarch memove for powerpc32/power4.
12098         * string/bcopy.c: Use full path to include memmove.c.
12099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12100         multiarch objects.
12101         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12102         bcopy for powerpc64.
12103         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12104         bcopy for powerpc64.
12105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12106         and memmove implementations.
12107         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12108         optimized multiarch memmove for POWER7/powerpc64.
12109         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12110         default multiarch memmove for powerpc64.
12111         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12112         multiarch for powerpc64.
12113         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12114         for POWER7/powerpc64.
12115         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12116         memmove for POWER7/powerpc64.
12118         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12119         glibc default one.
12121         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12122         __ELF_NATIVE_CLASS equal to 64.
12124 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12126         * sysdeps/nptl/lowlevellock.h: File removed.
12128         * NEWS: NPTL is no longer an add-on!
12129         * nptl/internaltypes.h: Moved ...
12130         * sysdeps/nptl/internaltypes.h: ... here.
12131         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12132         * sysdeps/nptl/fork.c: Likewise.
12133         * sysdeps/nptl/gai_misc.h: Likewise.
12134         * sysdeps/nptl/librt-cancellation.c: Likewise.
12135         * sysdeps/nptl/jmp-unwind.c: Likewise.
12136         * sysdeps/nptl/setxid.h: Likewise.
12137         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12138         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12139         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12140         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12141         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12142         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12143         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12144         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12145         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12146         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12147         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12148         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12149         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12150         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12151         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12152         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12153         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12154         * nptl/Makeconfig: Moved ...
12155         * sysdeps/nptl/Makeconfig: ... here.
12156         * nptl/configure: File removed.
12157         * nptl/ANNOUNCE: File removed.
12158         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12159         * sysdeps/unix/sysv/linux/configure: Regenerated.
12161         * nptl/Makefile (routines): Add libc_pthread_init,
12162         libc_multiple_threads, register-atfork and unregister-atfork.
12163         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12164         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12165         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12166         pthread-pi-defines.sym, structsem.sym.
12167         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12168         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12169         [$(subdir) = nptl] (tests): Add tst-setgetname.
12170         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12171         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12172         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12173         [!LIBC_SIGACTION]: Remove aliases.
12174         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12175         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12176         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12177         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12178         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12179         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12180         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12181         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12182         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12183         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12184         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12185         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12186         __libc_allocate_rtsig_private.
12187         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12188         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12189         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12190         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12191         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12192         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12193         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12194         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12195         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12196         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12197         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12198         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12199         * nptl/internaltypes.h: ... here.
12200         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12201         * sysdeps/nptl/jmp-unwind.c: ... here.
12202         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12203         * nptl/libc-lowlevellock.c: ... here.
12204         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12205         * nptl/libc_multiple_threads.c: ... here.
12206         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12207         * nptl/libc_pthread_init.c: ... here.
12208         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12209         * nptl/lowlevelbarrier.sym: ... here.
12210         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12211         * nptl/lowlevelcond.sym: ... here.
12212         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12213         * nptl/lowlevellock.c: ... here.
12214         * nptl/lowlevellock.h: Moved ...
12215         * sysdeps/nptl/lowlevellock.h: ... here.
12216         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12217         * nptl/lowlevelrobustlock.c: ... here.
12218         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12219         * nptl/lowlevelrobustlock.sym: ... here.
12220         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12221         * nptl/lowlevelrwlock.sym: ... here.
12222         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12223         * nptl/pt-fork.c: ... here.
12224         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12225         * nptl/pthread-pi-defines.sym: ... here.
12226         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12227         * nptl/pthread_attr_getaffinity.c: ... here.
12228         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12229         * nptl/pthread_attr_setaffinity.c: ... here.
12230         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12231         * nptl/pthread_mutex_cond_lock.c: ... here.
12232         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12233         Update #include.
12234         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12235         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12236         * nptl/pthread_once.c: ... here, replacing old file.
12237         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12238         * nptl/pthread_yield.c: ... here.
12239         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12240         * nptl/register-atfork.c: ... here.
12241         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12242         * nptl/sem_post.c: ... here.
12243         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12244         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12245         * nptl/sem_timedwait.c: ... here.
12246         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12247         * nptl/sem_trywait.c: ... here.
12248         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12249         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12250         * nptl/sem_wait.c: ... here.
12251         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12252         * nptl/structsem.sym: ... here.
12253         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12254         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12255         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12256         * nptl/unregister-atfork.c: ... here.
12257         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12258         * nptl/unwindbuf.sym: ... here.
12259         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12260         * sysdeps/nptl/fork.c: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12262         * sysdeps/nptl/fork.h: ... here.
12263         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12264         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12265         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12266         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12267         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12268         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12269         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12270         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12271         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12272         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12273         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12274         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12275         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12276         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12277         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12278         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12279         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12280         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12281         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12282         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12283         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12284         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12285         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12286         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12287         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12288         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12289         * sysdeps/unix/sysv/linux/raise.c: ... here.
12290         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12291         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12292         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12293         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12294         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12295         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12296         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12297         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12298         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12299         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12300         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12301         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12302         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12303         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12304         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12306 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12308         * sysdeps/generic/memcopy.h: Add comment for
12309         MEMCPY_OK_FOR_FWD_MEMMOVE.
12311 2014-07-04  Will Newton  <will.newton@linaro.org>
12313         * string/memchr.c: Merge from gnulib.
12314         [_LIBC]: Remove conditionals.
12315         (__ptr_t): Remove define.
12316         (LONG_MAX_32_BITS): Likewise.
12317         (LONG_MAX): Likewise.
12318         (MEMCHR): Use ANSI prototype and optimize algorithm.
12320         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12322 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12324         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12325         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12327         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12328         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12329         in a bare environment with no <stdlib.h> installed.
12330         * sysdeps/nptl/configure: Regenerated.
12332         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12334         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12335         AC_EGREP_CPP for kernel header checks, so they only succeed if
12336         including <linux/version.h> actually works right.
12337         * sysdeps/unix/sysv/linux/configure: Regenerated.
12339         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12340         value so it's not diagnosed as unused.
12342         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12343         thing) with "ifeq ($(subdir),rt)".
12345 2014-07-03  Richard Henderson  <rth@redhat.com>
12347         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12348         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12349         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12351         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12352         (math_force_eval): New.
12354         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12355         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12357         * sysdeps/alpha/fpu/s_round.c: Remove file.
12358         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12360         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12361         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12362         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12363         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12364         (_dl_start, print_statistics): Likewise.
12365         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12366         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12368         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12369         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12370         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12371         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12373         (HP_SMALL_TIMING_AVAIL): Define.
12374         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12375         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12376         (HP_SMALL_TIMING_AVAIL): Define.
12377         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12378         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12380         * sysdeps/aarch64/hp-timing.h: New file.
12382         * sysdeps/generic/hp-timing.h: Remove dead comment.
12383         * sysdeps/generic/hp-timing-common.h: New file.
12384         * sysdeps/alpha/hp-timing.h: Include it.
12385         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12386         * sysdeps/i386/i686/hp-timing.h: Likewise.
12387         * sysdeps/ia64/hp-timing.h: Likewise.
12388         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12389         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12391         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12392         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12393         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12394         (hp_timing_t): New.
12396         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12397         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12398         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12399         * elf/rtld.c (_dl_start_final): Likewise.
12400         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12401         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12402         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12403         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12404         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12405         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12406         (HP_TIMING_DIFF_INIT): Remove.
12407         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12408         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12409         (HP_TIMING_DIFF_INIT): Remove.
12410         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12411         * sysdeps/i386/i686/hp-timing.c: Remove file.
12412         * sysdeps/x86_64/hp-timing.c: Remove file.
12413         * sysdeps/ia64/hp-timing.c: Remove file.
12414         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12415         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12416         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12417         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12419         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12420         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12421         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12422         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12423         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12424         (HP_TIMING_ACCUM): Remove.
12425         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12426         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12427         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12429         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12430         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12431         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12432         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12434         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12435         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12436         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12438         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12440 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12442         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12444 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12446         Sync up with gettext.
12447         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12448         [_MSC_VER]: Include malloc.h
12449         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12450         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12451         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12452         TEMP_FAILURE_RETRY.  Cast return of alloca.
12453         [!_LIBC] Call gl_rwlock_init.
12454         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12456 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12458         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12459         before checking its value.
12461 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12463         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12465         * debug/memcpy_chk.c: Don't include pagecopy.h.
12466         * debug/mempcpy_chk.c: Likewise.
12467         * string/memcpy.c: Likewise.
12468         * string/memmove.c: Likewise.
12469         * sysdeps/powerpc/memmove.c: Likewise.
12470         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12471         definition of PAGE_COPY_FWD_MAYBE here...
12472         * sysdeps/generic/pagecopy.h: ... from here.
12473         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12475 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12476             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12478         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12480         optimizations.
12481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12482         (__libc_ifunc_impl_list): Likewise.
12483         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12484         multiarch strcat for PPC64.
12485         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12486         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12488 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12490         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12492 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12494         * intl/loadmsgcat.c: Remove declaration of
12495         get_sysdep_segment_value.
12496         (get_sysdep_segment_value): Use ISO C style.
12497         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12498         semicolon.  Fix typo and formatting in comment.
12499         (_nl_unload_domain): Use ISO C style.
12501         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12503 2014-07-02  Will Newton  <will.newton@linaro.org>
12505         * malloc/obstack.c: Merge from gnulib master.
12506         [HAVE_CONFIG_H]: Remove conditional code.
12507         [!_LIBC]: Include config.h.
12508         [!ELIDE_CODE]: Don't include inttypes.h, include
12509         stdint.h unconditionally.
12510         (print_and_abort): Mark as _Noreturn.
12511         (_obstack_allocated_p): Mark as __attribute_pure__.
12512         (obstack_free): Rename to __obstack_free.
12513         [!__attribute__]: Remove conditional code.
12514         * malloc/obstack.h: Merge from gnulib master.
12515         [__cplusplus]: Move conditional down.
12516         [!__attribute_pure__]: Define __attribute_pure__ here
12517         if it is not already defined.
12518         (_obstack_memory_used): Mark as __attribute_pure__.
12519         [!__obstack_free]: Define as obstack_free.
12520         [__GNUC__]: Remove check for ancient NeXT gcc.
12522 2014-07-02  Will Newton  <will.newton@linaro.org>
12523             Paul Eggert  <eggert@cs.ucla.edu>
12525         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12527 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12529         * resolv/gethnamaddr.c: Add comment warning that the file is
12530         not maintained.
12532 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12534         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12535         entries.
12537         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12538         entry for aio_cancel and aio_cancel64.
12539         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12540         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12541         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12542         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12543         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12544         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12545         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12546         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12547         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12548         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12549         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12550         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12551         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12553 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12555         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12556         * nptl/pthread_mutex_lock.c: Likewise.
12557         * nptl/pthread_mutex_timedlock.c: Likewise.
12558         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12560 2014-07-01  Richard henderson  <rth@redhat.com>
12562         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12563         (__isnan, __isnanl): Remove.
12564         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12566         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12568 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12570         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12572 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12574         * resolv/nss_dns/dns-host.c (getanswer_r)
12575         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12577 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12580         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12581         undefine.
12582         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12583         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12585 2014-07-01  Roland McGrath <roland@hack.frob.com>
12587         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12588         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12590         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12591         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12593         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12594         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12595         ... here.
12596         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12597         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12599         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12600         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12601         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12602         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12604         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12605         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12606         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12607         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12608         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12609         Moved ...
12610         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12611         ... here.
12612         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12613         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12614         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12615         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12616         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12617         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12619         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12620         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12627         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12628         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12629         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12632         ... here.
12633         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12634         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12635         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12636         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12637         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12638         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12639         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12640         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12642 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12644         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12645         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12646         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12647         Add sysdep.
12649 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12653 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12655         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12656         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12658         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12660         * sysdeps/arm/libm-test-ulps: Regenerated.
12662 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12663             Roland McGrath <roland@hack.frob.com>
12665         * test-skeleton.c (signal_handler): Kill the whole process group
12666         before killing the child individually.
12667         (main): Report any failure on `setpgid'.
12669 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12671         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12672         from _TLS_H to _ARM_NPTL_TLS_H.
12673         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12674         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12676 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12678         [BZ #16539]
12679         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12680         (__expm1l): Return argument unchanged when small but not
12681         subnormal.
12683         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12684         include macro name.
12685         (_FP_UNPACK_RAW_1_P): Likewise.
12686         (_FP_PACK_RAW_1): Likewise.
12687         (_FP_PACK_RAW_1_P): Likewise.
12688         (_FP_MUL_MEAT_1_wide): Likewise.
12689         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12690         (_FP_MUL_MEAT_1_hard): Likewise.
12691         (_FP_DIV_MEAT_1_imm): Likewise.
12692         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12693         (_FP_DIV_MEAT_1_udiv): Likewise.
12694         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12695         (_FP_UNPACK_RAW_2): Likewise.
12696         (_FP_UNPACK_RAW_2_P): Likewise.
12697         (_FP_PACK_RAW_2): Likewise.
12698         (_FP_PACK_RAW_2_P): Likewise.
12699         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12700         (_FP_MUL_MEAT_2_wide): Likewise.
12701         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12702         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12703         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12704         (_FP_MUL_MEAT_2_gmp): Likewise.
12705         (_FP_DIV_MEAT_2_udiv): Likewise.
12706         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12707         (_FP_FRAC_SRL_4): Likewise.
12708         (_FP_FRAC_SRST_4): Likewise.
12709         (_FP_FRAC_SRS_4): Likewise.
12710         (_FP_UNPACK_RAW_4): Likewise.
12711         (_FP_UNPACK_RAW_4_P): Likewise.
12712         (_FP_PACK_RAW_4): Likewise.
12713         (_FP_PACK_RAW_4_P): Likewise.
12714         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12715         (_FP_MUL_MEAT_4_wide): Likewise.
12716         (_FP_MUL_MEAT_4_gmp): Likewise.
12717         (umul_ppppmnnn): Likewise.
12718         (_FP_DIV_MEAT_4_udiv): Likewise.
12719         (__FP_FRAC_ADD_4): Likewise.
12720         (__FP_FRAC_SUB_3): Likewise.
12721         (__FP_FRAC_SUB_4): Likewise.
12722         (__FP_FRAC_DEC_3): Likewise.
12723         (__FP_FRAC_DEC_4): Likewise.
12724         (__FP_FRAC_ADDI_4): Likewise.
12725         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12726         (_FP_FRAC_SRL_8): Likewise.
12727         (_FP_FRAC_SRS_8): Likewise.
12729         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12730         include macro name.
12731         (FP_UNPACK_RAW_EP): Likewise.
12732         (FP_PACK_RAW_E): Likewise.
12733         (FP_PACK_RAW_EP): Likewise.
12734         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12735         (_FP_ISSIGNAN): Likewise.
12736         (_FP_ADD_INTERNAL): Likewise.
12737         (_FP_FMA): Likewise.
12738         (_FP_CMP): Likewise.
12739         (_FP_SQRT): Likewise.
12740         (_FP_TO_INT): Likewise.
12741         (_FP_FROM_INT): Likewise.
12742         (FP_EXTEND): Likewise.
12743         (_FP_DIV_MEAT_N_loop): Likewise.
12745 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12747         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12748         throughout.
12750 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12752         [BZ #17097]
12753         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12754         result with correct sign in case of exponents that produce
12755         overflow except for X very close to 1.
12757 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12759         mktime: merge #if/#ifdef usage from glibc
12760         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12761         as that works with both Glibc's and Gnulib's style.
12762         See thread starting at Siddhesh Poyarekar's bug report at:
12763         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12765 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12767         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12768         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12769         * sysdeps/tile/tilegx/memmove.c: Remove file.
12771 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12773         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12774         abi-name definition.
12775         * scripts/soversions.awk: Do not handle or generate ABI lines.
12776         * shlib-versions: Remove ABI entries.
12777         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12778         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12780 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12783         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12784         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12785         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12787         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12789         Moved ...
12790         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12791         ... here.
12792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12793         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12795         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12797         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12799         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12801         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12803         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12805         Moved ...
12806         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12808         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12810         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12812         Moved ...
12813         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12815         Moved ...
12816         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12818         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12820         Moved ...
12821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12823         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12825         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12827         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12829         Moved ...
12830         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12832         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12833         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12834         Moved ...
12835         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12837         Moved ...
12838         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12840         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12842         Moved ...
12843         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12844         ... here.
12845         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12846         Identical file removed.
12847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12848         Moved ...
12849         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12850         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12851         Identical file removed.
12852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12853         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12855         Moved ...
12856         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12857         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12858         Identical file removed.
12859         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12860         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12861         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12862         Identical file removed.
12863         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12864         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12866         Identical file removed.
12867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12868         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12869         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12870         Identical file removed.
12871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12872         Moved ...
12873         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12875         Identical file removed.
12876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12877         Moved ...
12878         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12880         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12882         Identical file removed.
12883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12884         Moved ...
12885         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12886         ... here.
12887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12888         Identical file removed.
12889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12890         Moved ...
12891         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12892         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12893         Identical file removed.
12894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12895         Moved ...
12896         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12898         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12899         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12900         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12902         Moved ...
12903         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12904         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12905         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12907         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12908         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12909         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12910         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12911         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12913 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12915         [BZ #17092]
12916         * nscd/nscd.c (monitor_child): Return exit status of child
12917         instead of return value from wait syscall.
12919 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12921         * configure.ac (libc_commonpagesize): Remove variable.
12922         (libc_relro_required): Likewise.
12923         (libc_cv_z_relro): Remove configure test.
12924         * configure: Regenerated.
12925         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12926         variable.
12927         (libc_relro_required): Likewise.
12928         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12929         (libc_relro_required): Likewise.
12930         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12931         (libc_relro_required): Likewise.
12932         * sysdeps/arm/preconfigure: Regenerated.
12933         * sysdeps/ia64/preconfigure: Remove file.
12934         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12935         variable.
12936         (libc_relro_required): Likewise.
12938         [BZ #16561]
12939         [BZ #16562]
12940         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12941         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12942         recompute overflowing results in original rounding mode.
12943         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12944         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12945         recompute overflowing results in original rounding mode.
12946         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12947         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12948         recompute overflowing results in original rounding mode.
12949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12950         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12951         recompute overflowing results in original rounding mode.
12952         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12953         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12954         recompute overflowing results in original rounding mode.
12955         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12956         (libc_feholdsetround_ctx): New macro.
12957         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12958         * sysdeps/i386/fpu/libm-test-ulps: Update.
12959         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12961 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12963         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12964         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12965         corresponding .cpsetup call.
12967 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12969         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12970         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12971         * sysdeps/arm/Makefile [$(subdir) = csu]
12972         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12973         (static-only-routines): Add aeabi_read_tp here.
12974         (shared-only-routines): Add libc-aeabi_read_tp here.
12975         (CFLAGS-libc-start.c): Add -fexceptions here.
12976         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12977         (sysdep_routines, static-only-routines, shared-only-routines):
12978         Don't add to these here.
12979         (CFLAGS-libc-start.c): Likewise.
12981         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12982         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12983         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12984         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12985         * sysdeps/arm/Makefile [$(subdir) = rt]
12986         (librt-sysdep_routines, librt-shared-only-routines):
12987         Append rt-aeabi_unwind_cpp_pr1 here.
12988         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12989         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12990         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12991         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12992         Append nptl-aeabi_unwind_cpp_pr1 here.
12993         (tests): Filter out tst-cleanupx4 here.
12994         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12995         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12996         Don't do those here.
12998 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13000         * scripts/list-sources.sh: Do not handle ports specially.
13002 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13004         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
13005         * sysdeps/arm/feupdateenv.c: Likewise.
13007         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
13009 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13011         * manual/texinfo.tex: Update to version 2014-05-05.10 with
13012         trailing whitespace removed.
13013         * scripts/config.guess: Update to version 2014-03-23.
13014         * scripts/config.sub: Update to version 2014-05-01
13015         * scripts/install-sh: Update to version 2013-12-25.23.
13016         * scripts/move-if-change: Update from gnulib.
13018 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13020         * debug/memmove_chk.c: Remove pagecopy.h include.
13022 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13024         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13025         identical to gnulib mktime.
13027 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13029         * configure.ac: Do not test for machine being rs6000.  Do not test
13030         for powerpc*-*soft.
13031         * configure: Regenerated.
13033         [BZ #11505]
13034         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13035         test.
13036         * configure: Regenerated.
13037         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13038         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13039         Remove configure test.
13040         * sysdeps/arm/configure: Regenerated.
13041         * sysdeps/nptl/configure.ac: Do not check
13042         libc_cv_asm_cfi_directives.
13043         * sysdeps/nptl/configure: Regenerated.
13044         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13045         * sysdeps/x86_64/nptl/configure: Remove generated file.
13046         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13047         unconditional.
13048         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13050 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13052         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13053         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13054         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13055         it is defined.
13057         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13058         instead of whether it is defined.
13059         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13060         * sysdeps/hppa/dl-machine.h: Likewise.
13061         * sysdeps/ia64/dl-machine.h: Likewise.
13062         * sysdeps/m68k/dl-machine.h: Likewise.
13063         * sysdeps/microblaze/dl-machine.h: Likewise.
13064         * sysdeps/mips/dl-machine.: Likewise.
13065         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13066         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13067         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13068         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13069         * sysdeps/sh/dl-machine.h: Likewise.
13070         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13071         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13072         * sysdeps/tile/dl-machine.h: Likewise.
13073         * sysdeps/x86_64/dl-machine.h: Likewise.
13075         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13076         code.
13077         (verify_persistent_db): Likewise.
13079 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13082         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13084         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13086         Moved ...
13087         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13088         ... here.
13089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13090         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13092         Identical file removed.
13093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13094         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13096         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13098         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13102         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13104         Moved ...
13105         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13107         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13109         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13111         Moved ...
13112         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13114         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13116         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13118         Identical file removed.
13119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13120         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13122         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13124         Moved ...
13125         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13126         ... here.
13127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13128         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13130         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13132         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13136         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13138         Moved ...
13139         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13141         Moved ...
13142         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13144         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13146         Moved ...
13147         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13149         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13151         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13152         folded into ...
13153         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13154         * sysdeps/unix/sysv/linux/s390/Versions
13155         (libpthread: GLIBC_2.19): New version set.
13156         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13157         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13158         (librt: GLIBC_2.3.3): New version set.
13159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13160         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13161         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13162         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13163         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13164         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13165         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13166         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13167         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13168         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13169         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13170         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13171         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13172         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13173         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13174         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13175         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13176         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13177         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13178         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13179         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13180         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13181         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13182         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13183         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13184         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13185         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13187         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13188         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13189         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13191         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13193         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13195         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13197         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13199         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13201         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13203         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13205         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13206         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13207         (__libc_vfork): Define the function under this name.
13208         [!NOT_IN_libc] (__vfork): Make this an alias.
13209         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13211         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13212         (__libc_vfork): Define the function under this name.
13213         [!NOT_IN_libc] (__vfork): Make this an alias.
13214         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13215         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13216         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13218         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13219         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13221         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13222         code that was previously under [RESET_PID].
13223         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13224         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13227         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13228         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13230         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13231         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13232         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13233         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13234         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13235         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13236         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13237         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13238         Moved ...
13239         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13240         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13241         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13242         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13243         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13244         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13245         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13246         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13247         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13248         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13250         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13251         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13252         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13253         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13254         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13255         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13256         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13257         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13258         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13259         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13260         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13261         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13262         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13263         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13264         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13265         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13266         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13267         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13269 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13271         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13272         that was previously under [RESET_PID].
13273         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13275 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13277         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13278         not undefine and redefine.
13279         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13280         [O_CLOEXEC]: Make code unconditional.
13281         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13282         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13283         <kernel-features.h>.
13284         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13285         conditional variable definition.
13286         (shm_open) [O_CLOEXEC]: Make code unconditional.
13287         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13288         code.
13290         * configure.ac (USE_REGPARMS): Don't define here.
13291         * configure: Regenerated.
13292         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13293         * sysdeps/i386/configure: Regenerated.
13295         * nptl/createthread.c: Don't include kernel-features.h.
13296         * nptl/pthread_cancel.c: Likewise.
13297         * nptl/pthread_condattr_setclock.c: Likewise.
13298         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13299         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13300         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13301         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13302         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13303         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13304         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13306         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13307         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13308         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13309         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13310         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13311         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13312         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13313         * nscd/gai.c: Likewise.
13314         * nss/nss_db/db-open.c: Likewise.
13315         * sysdeps/generic/ldsodefs.h: Likewise.
13316         * sysdeps/sh/nptl/tls.h: Likewise.
13317         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13318         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13319         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13320         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13321         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13322         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13323         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13324         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13325         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13326         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13327         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13328         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13329         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13330         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13331         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13332         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13333         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13334         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13335         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13336         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13339         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13340         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13342         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13345         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13346         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13347         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13348         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13349         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13350         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13351         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13352         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13353         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13354         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13355         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13356         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13357         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13358         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13359         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13360         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13361         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13362         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13363         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13364         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13365         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13366         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13367         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13368         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13369         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13370         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13371         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13372         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13373         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13397         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13398         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13399         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13400         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13401         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13402         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13403         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13404         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13405         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13406         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13407         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13408         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13409         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13410         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13411         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13412         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13413         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13414         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13415         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13416         * sysdeps/unix/sysv/linux/system.c: Likewise.
13417         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13418         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13421         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13422         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13423         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13425         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13426         * configure: Regenerated.
13427         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13429         * configure.ac (base_machine): Do not set specially for particular
13430         machines here.
13431         * configure: Regenerated.
13432         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13433         settings from configure.ac.
13434         * sysdeps/i386/preconfigure: New file.
13435         * sysdeps/s390/preconfigure: Likewise.
13436         * sysdeps/sh/preconfigure: Likewise.
13437         * sysdeps/sparc/preconfigure: Likewise.
13439 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13441         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13442         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13443         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13444         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13445         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13446         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13447         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13448         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13449         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13450         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13451         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13452         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13453         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13455         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13456         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13458         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13459         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13461         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13462         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13463         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13464         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13465         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13466         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13467         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13468         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13469         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13470         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13471         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13472         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13473         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13474         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13475         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13476         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13477         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13478         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13479         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13480         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13482         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13483         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13484         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13486         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13488         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13490         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13491         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13492         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13494         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13496         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13497         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13498         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13501         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13503         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13505         Moved ...
13506         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13507         ... here.
13508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13509         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13511         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13513         Moved ...
13514         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13516         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13518         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13520         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13522         Moved ...
13523         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13525         Moved ...
13526         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13528         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13530         Moved ...
13531         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13533         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13535         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13537         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13539         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13541         Moved ...
13542         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13543         ... here.
13544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13545         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13547         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13549         Moved ...
13550         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13552         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13554         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13556         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13558         Moved ...
13559         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13561         Moved ...
13562         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13564         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13566         Moved ...
13567         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13569         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13571         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13573 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13575         * timezone/checktab.awk: Update from tzcode 2014e.
13576         * timezone/private.h: Likewise.
13577         * timezone/tzfile.h: Likewise.
13578         * timezone/zdump.c: Likewise.
13579         * timezone/zic.c: Likewise.
13581         * sysdeps/unix/sysv/linux/kernel-features.h
13582         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13583         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13584         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13585         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13586         Remove conditional code.
13588 2014-06-25  Will Newton  <will.newton@linaro.org>
13590         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13591         (_dl_arm_cap_flags): Add HWCAP2 values.
13592         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13593         (_DL_HWCAP_COUNT): Increase to 37.
13594         (_DL_HWCAP_LAST): New define.
13595         (_DL_HWCAP2_LAST): New define.
13596         (_dl_procinfo): Add support for printing
13597         AT_HWCAP2 entries.
13598         (_dl_string_hwcap): Use _dl_hwcap_string.
13600 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13604 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13606         * README: Do not mention ports directory.
13608         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13609         Remove macro.
13610         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13611         <kernel-features.h>.
13612         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13613         conditional variable definition.
13614         (__futimes): Update comment.
13615         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13616         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13618         [BZ #16560]
13619         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13620         arguments close to 0.
13621         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13622         Likewise.
13623         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13624         Likewise.
13625         * math/auto-libm-test-in: Add more tests of exp10.
13626         * math/auto-libm-test-out: Regenerated.
13627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13629         * sysdeps/unix/sysv/linux/kernel-features.h
13630         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13631         * sysdeps/unix/sysv/linux/readv.c: Do not include
13632         <kernel-features.h>.
13633         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13634         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13635         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13636         unconditional.
13637         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13638         conditional code.
13639         * sysdeps/unix/sysv/linux/writev.c: Do not include
13640         <kernel-features.h>.
13641         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13642         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13643         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13644         unconditional.
13645         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13646         conditional code.
13648 2014-06-25  Will Newton  <will.newton@linaro.org>
13650         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13651         comment changes throughout the file.  Remove checks
13652         for HAVE_*_H definitions that are not required.
13653         (__gen_tempname): Call abort if an unknown kind value is
13654         passed.
13656 2014-06-25  Andreas Schwab  <schwab@suse.de>
13658         [BZ #17086]
13659         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13660         scalbln, scalblnf, scalblnl in libc.
13662 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13664         [BZ #17086]
13665         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13666         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13667         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13669 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13671         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13672         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13673         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13674         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13675         Update #include.
13676         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13677         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13678         Update #include.
13679         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13680         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13681         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13682         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13683         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13684         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13685         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13686         * sysdeps/x86/bits/semaphore.h: ... here.
13687         * sysdeps/x86/nptl/elide.h: Moved ...
13688         * sysdeps/x86/elide.h: ... here.
13689         * sysdeps/x86_64/nptl/Implies: File removed.
13690         * sysdeps/i386/nptl/Implies: File removed.
13692 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13694         [BZ #16539]
13695         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13696         return the argument for normal arguments with exponent below -64.
13697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13698         Likewise.
13699         * math/auto-libm-test-in: Add another test of expm1.
13700         * math/auto-libm-test-out: Regenerated.
13702         [BZ #16287]
13703         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13704         calling __erfcl for arguments at least 16.
13705         * math/auto-libm-test-in: Add more tests of erf.
13706         * math/auto-libm-test-out: Regenerated.
13708         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13709         individual architectures.
13710         * sysdeps/unix/sysv/linux/configure: Regenerated.
13711         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13712         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13713         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13714         (ldd_rewrite_script): Define variable.
13715         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13717         file.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13719         generated file.
13720         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13721         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13722         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13723         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13724         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13725         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13726         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13727         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13729 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13731         [BZ #17084]
13732         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13733         Rename member __data.d to __data.__elision_data.
13735 2014-06-24  Wilco  <wdijkstr@arm.com>
13737         * NEWS: Add 16918 to fixed bug list.
13739 2014-06-24  Wilco  <wdijkstr@arm.com>
13741         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13743 2014-06-24  Wilco  <wdijkstr@arm.com>
13745         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13746         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13747         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13748         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13749         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13750         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13751         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13752         Use _FPU_MASK_RM.
13754 2014-06-24  Wilco  <wdijkstr@arm.com>
13756         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13758 2014-06-24  Wilco  <wdijkstr@arm.com>
13760         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13761         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13762         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13763         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13765 2014-06-24  Wilco  <wdijkstr@arm.com>
13767         [BZ #16918]
13768         * sysdeps/arm/feupdateenv.c (feupdateenv):
13769         Rewrite to reduce FPSCR accesses and fix return value.
13771 2014-06-24  Wilco  <wdijkstr@arm.com>
13773         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13774         Optimize to avoid unnecessary FPSCR writes.
13775         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13776         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13777         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13778         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13780 2014-06-24  Wilco  <wdijkstr@arm.com>
13782         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13783         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13784         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13785         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13786         Call libc_fetestexcept_vfp.
13787         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13788         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13789         __SOFTFP__ ifdef so that they can be built for softfp.
13791 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13793         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13794         argument type signed char.
13796         * Makerules (check-abi): Dump diff of symlist if the test
13797         fails.
13799 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13801         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13802         using abort.
13804         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13805         Remove unused variable ST.
13807 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13809         [BZ #16354]
13810         [BZ #17061]
13811         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13812         small arguments before calling __expm1.
13813         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13814         small arguments before calling __expm1f.
13815         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13816         small arguments before calling __expm1l.
13817         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13818         Likewise.
13819         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13820         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13821         spurious underflow for some cosh tests.
13822         * math/auto-libm-test-out: Regenerated.
13823         * sysdeps/i386/fpu/libm-test-ulps: Update.
13825         [BZ #17050]
13826         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13827         (__ieee754_y1): Set errno if return value overflows.
13828         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13829         (__ieee754_y1f): Set errno if return value overflows.
13830         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13831         (__ieee754_y1l): Set errno if return value overflows.
13832         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13833         (__ieee754_y1l): Set errno if return value overflows.
13834         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13835         * math/auto-libm-test-out: Regenerated.
13837         * math/gen-auto-libm-tests.c: Document use of
13838         ignore-zero-inf-sign.
13839         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13840         (input_flags): Add ignore-zero-inf-sign.
13841         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13842         * math/gen-libm-test.pl (generate_testfile): Handle
13843         ignore-zero-inf-sign.
13844         * math/auto-libm-test-in: Mark some cpow tests with
13845         ignore-zero-inf-sign and some with xfail-rounding.
13846         * math/auto-libm-test-out: Regenerated.
13847         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13848         * sysdeps/i386/fpu/libm-test-ulps: Update.
13849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13851         [BZ #16315]
13852         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13853         overflowing or underflowing operations take place with sign of
13854         result.
13855         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13856         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13857         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13858         (__ieee754_pow): Recompute overflowing and underflowing results in
13859         original rounding mode.
13860         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13861         (__powl_helper): Allow negative argument X and scale negated value
13862         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13863         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13864         overflowing or underflowing operations take place with sign of
13865         result.
13866         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13867         Include <math.h>.
13868         * math/auto-libm-test-in: Add more tests of pow.
13869         * math/auto-libm-test-out: Regenerated.
13870         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13871         (pow_tonearest_test_data): Remove.
13872         (pow_test_tonearest): Likewise.
13873         (pow_towardzero_test_data): Likewise.
13874         (pow_test_towardzero): Likewise.
13875         (pow_downward_test_data): Likewise.
13876         (pow_test_downward): Likewise.
13877         (pow_upward_test_data): Likewise.
13878         (pow_test_upward): Likewise.
13879         (main): Don't call removed functions.
13880         * sysdeps/i386/fpu/libm-test-ulps: Update.
13881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13886         Moved ...
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13889         Moved ...
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13892         Moved ...
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13895         Moved ...
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13898         File removed.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13900         File removed.
13901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13902         File removed.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13904         File removed.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13906         File removed.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13908         File removed.
13909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13910         File removed.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13912         File removed.
13913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13914         File removed.
13915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13916         File removed.
13917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13918         File removed.
13919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13920         File removed.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13922         Moved ...
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13925         Moved ...
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13927         ... here.
13928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13929         Moved ...
13930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13932         Moved ...
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13935         Moved ...
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13938         Moved ...
13939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13941         Moved ...
13942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13944         Moved ...
13945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13947         Moved ...
13948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13951         ... here.
13952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13953         Moved ...
13954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13956         Moved ...
13957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13958         ... here.
13959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13960         Moved ...
13961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13962         ... here.
13963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13964         Moved ...
13965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13966         ... here.
13967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13968         Moved ...
13969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13971         Moved ...
13972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13976         Moved ...
13977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13978         ... here.
13979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13980         Moved ...
13981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13982         ... here.
13983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13984         Moved ...
13985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13987         Moved ...
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13990         Moved ...
13991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13993         Moved ...
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13996         Moved ...
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13998         ... here.
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14000         Moved ...
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14003         Moved ...
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
14005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14006         Moved ...
14007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14009         Moved ...
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
14011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14014         Moved ...
14015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14017         Moved ...
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14020         Moved ...
14021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14022         ... here.
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14024         Moved ...
14025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14026         ... here.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14028         Moved ...
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14030         ... here.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14032         Moved ...
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14035         Moved ...
14036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14038         Moved ...
14039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14041         Moved ...
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14043         ... here.
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14045         Moved ...
14046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14047         ... here.
14048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14049         Moved ...
14050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14051         ... here.
14052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14053         Moved ...
14054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14056         Moved ...
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14059 2014-06-23  Will Newton  <will.newton@linaro.org>
14060             Wilco  <wdijkstr@arm.com>
14062         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14063         implementation.  Include get-rounding-mode.h.
14064         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14065         [!libc_feholdsetround_noex_ctx]: Define
14066         libc_feholdsetround_noex_ctx.
14067         [!libc_feholdsetround_noexf_ctx]: Define
14068         libc_feholdsetround_noexf_ctx.
14069         [!libc_feholdsetround_noexl_ctx]: Define
14070         libc_feholdsetround_noexl_ctx.
14071         (libc_feholdsetround_ctx): New function.
14072         (libc_feresetround_ctx): New function.
14073         (libc_feholdsetround_noex_ctx): New function.
14074         (libc_feresetround_noex_ctx): New function.
14076 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14078         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14079         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14080         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14081         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14082         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14083         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14085         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14086         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14087         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14088         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14089         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14090         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14092         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14094         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14095         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14096         Moved ...
14097         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14098         ... here.
14099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14100         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14102         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14103         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14104         Moved ...
14105         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14107         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14109         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14111         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14113         Moved ...
14114         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14116         Moved ...
14117         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14119         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14121         Moved ...
14122         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14124         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14125         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14126         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14127         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14128         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14130         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14132         Moved ...
14133         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14134         ... here.
14135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14136         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14138         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14140         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14142         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14144         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14146         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14148         Moved ...
14149         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14151         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14153         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14155         Moved ...
14156         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14158         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14160         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14162         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14163         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14164         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14165         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14166         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14167         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14168         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14169         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14170         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14171         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14172         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14173         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14174         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14175         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14177         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14178         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14179         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14180         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14181         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14182         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14183         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14184         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14185         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14186         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14187         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14188         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14189         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14191 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14193         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14194         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14195         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14196         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14197         (IPV6_PMTUDISC_INTERFACE): Likewise.
14198         (IPV6_PMTUDISC_OMIT): Likewise.
14200 2014-06-23  Andreas Schwab  <schwab@suse.de>
14202         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14203         Remove unused errout label.
14205 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14207         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14208         macro: hardware supports Vector Crypto instructions.
14210 2014-06-23  Will Newton  <will.newton@linaro.org>
14212         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14213         rather than __builtin_expect.
14215         * elf/dl-lookup.c (undefined_msg): Remove variable.
14216         (_dl_lookup_symbol_x): Replace undefined_msg with string
14217         literal.
14219         * elf/dl-lookup.c (do_lookup_unique): New function.
14220         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14221         to a separate function.
14223 2014-06-23  Andreas Schwab  <schwab@suse.de>
14225         [BZ #17079]
14226         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14227         before reading the next line.
14229 2014-06-23  Will Newton  <will.newton@linaro.org>
14231         * test-skeleton.c (signal_handler): Use printf and %m
14232         rather than perror.  Use printf rather than fprintf to
14233         stderr.  Use puts rather than fputs to stderr.
14234         (main): Likewise.
14236 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14238         * nscd/nscd.c (thread_info_t): Remove typedef.
14239         (thread_info): Remove variable.
14241 2014-06-21  Allan McRae  <allan@archlinux.org>
14243         * NEWS: Mention CVE-2014-4043.
14245 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14247         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14248         * nptl/smp.h: ... here.
14250         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14252         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14253         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14254         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14255         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14257         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14258         * nptl/stack-aliasing.h: New file.
14259         * sysdeps/i386/i686/stack-aliasing.h: New file.
14260         * sysdeps/i386/i686/nptl/Makefile: File removed.
14261         * sysdeps/x86_64/stack-aliasing.h: New file.
14262         * sysdeps/x86_64/nptl/Makefile
14263         (CFLAGS-pthread_create.c): Variable removed.
14265         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14266         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14267         old file.
14268         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14269         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14270         old file.
14272 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14275         (__ASSUME_SIGFRAME_V2): Remove macro.
14276         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14277         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14278         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14279         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14280         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14281         Declare as function.  Remove conditional macro definitions.
14282         (__default_rt_sa_restorer): Likewise.
14283         (__default_sa_restorer_v1): Remove declaration.
14284         (__default_sa_restorer_v2): Likewise.
14285         (__default_rt_sa_restorer_v1): Likewise.
14286         (__default_rt_sa_restorer_v2): Likewise.
14287         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14288         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14289         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14291 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14293         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14294         (libpthread-routines): Add sysdep.
14295         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14296         * sysdeps/unix/sysv/linux/sparc/Versions
14297         (libpthread: GLIBC_2.3.3): New version set.
14298         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14299         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14300         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14301         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14302         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14303         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14304         Moved ...
14305         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14306         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14307         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14308         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14309         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14310         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14311         * sysdeps/sparc/nptl/sem_init.c: ... here.
14312         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14313         * sysdeps/sparc/nptl/sem_post.c: ... here.
14314         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14315         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14316         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14317         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14318         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14319         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14320         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14321         (libpthread-routines): Add cpu_relax.
14322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14323         File removed.
14324         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14325         (librt: GLIBC_2.3.3): New version set.
14326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14327         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14328         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14329         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14332         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14334         Moved ...
14335         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14337         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14339         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14341         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14343         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14345         Moved ...
14346         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14347         Update #include.
14348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14349         Moved ...
14350         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14351         Update #include.
14352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14353         Moved ...
14354         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14355         Update #include.
14356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14357         Moved ...
14358         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14359         Update #include.
14360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14361         Moved ...
14362         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14363         Update #include.
14364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14365         Moved ...
14366         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14367         Update #include.
14368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14369         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14375         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14377         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14379         Moved ...
14380         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14382         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14384         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14386 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14388         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14389         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14390         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14391         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14392         * nscd/nscd.c: Likewise.
14393         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14394         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14395         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14396         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14398         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14399         <kernel-features.h>.
14400         (init_mq_netlink): Remove conditional have_sock_cloexec
14401         definitions.  Remove code conditional on have_sock_cloexec < 0.
14402         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14403         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14404         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14405         <kernel-features.h>.
14406         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14407         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14409 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14411         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14412         Add tests for memset_chk and memset.
14414         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14415         with AVX2_Usable.
14417 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14419         [BZ #16046]
14420         * elf/tst-dl-iter-static.c: New file.
14421         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14423         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14424         error.
14426 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14428         * sysdeps/unix/sysv/linux/kernel-features.h
14429         (__ASSUME_F_GETOWN_EX): Remove macro.
14430         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14431         <kernel-features.h>.
14432         (miss_F_GETOWN_EX): Remove variable or macro.
14433         (do_fcntl): Do not check miss_F_GETOWN_EX.
14434         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14437         Remove macro.
14438         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14439         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14440         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14442         * sysdeps/unix/sysv/linux/kernel-features.h
14443         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14444         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14445         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14446         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14448 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14450         [BZ #17075]
14451         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14452         Fix calculation of the symbol's value.
14453         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14454         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14455         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14456         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14457         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14458         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14459         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14460         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14461         (modules-names): Add `tst-armtlsdescmod',
14462         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14463         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14464         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14465         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14466         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14467         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14468         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14469         ($(objpfx)tst-armtlsdescloc): New dependency.
14470         ($(objpfx)tst-armtlsdescextnow): Likewise.
14471         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14472         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14473         TLS scheme support.
14474         * sysdeps/arm/configure: Regenerate.
14476 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14478         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14479         (__atfct_seterrno_2): Likewise.
14480         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14481         <kernel-features.h>.
14482         (__ASSUME_ATFCTS): Do not undefine and redefine.
14483         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14484         (__have_atfcts): Remove conditional definition.
14485         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14486         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14487         unreachable if [__ASSUME_ATFCTS].
14488         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14489         not undefine and redefine.
14490         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14491         <kernel-features.h>.
14492         (faccessat) [__NR_faccessat]: Make code unconditional.
14493         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14494         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14495         <kernel-features.h>.
14496         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14497         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14498         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14499         <kernel-features.h>.
14500         (fchownat) [__NR_fchownat]: Make code unconditional.
14501         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14502         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14503         <kernel-features.h>.
14504         (futimesat) [__NR_futimesat]: Make code unconditional.
14505         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14506         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14507         <kernel-features.h>.
14508         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14509         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14510         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14511         <kernel-features.h>.
14512         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14513         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14514         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14515         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14516         <kernel-features.h>.
14517         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14518         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14519         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14520         <kernel-features.h>.
14521         (linkat) [__NR_linkat]: Make code unconditional.
14522         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14523         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14524         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14525         <kernel-features.h>.
14526         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14527         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14528         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14529         <kernel-features.h>.
14530         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14531         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14532         * sysdeps/unix/sysv/linux/openat.c: Do not include
14533         <kernel-features.h>.
14534         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14535         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14536         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14537         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14538         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14539         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14540         <kernel-features.h>.
14541         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14542         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14543         result of INLINE_SYSCALL directly, not via int variable.
14544         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14545         <kernel-features.h>.
14546         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14547         (renameat) [__NR_renameat]: Make code unconditional.
14548         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14549         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14550         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14551         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14552         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14553         (__ASSUME_ATFCTS): Do not undefine and redefine.
14554         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14555         <kernel-features.h>.
14556         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14557         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14558         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14559         <kernel-features.h>.
14560         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14561         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14562         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14563         (__ASSUME_ATFCTS): Do not undefine and redefine.
14564         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14565         <kernel-features.h>.
14566         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14567         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14568         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14569         <kernel-features.h>.
14570         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14571         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14573 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14575         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14577 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14579         [BZ #17069]
14580         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14581         constructed tree before returning error.
14582         * posix/bug-regexp36.c: Expand test case.
14584 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14586         [BZ #6803]
14587         * math/libm-test.inc (scalbln_test_date):
14588         Add errno expectations.
14589         * math/w_scalblnf.c: New File.
14590         Add wrapper which checks for setting errno to ERANGE.
14591         Add weak_alias for corresponding scalbln function.
14592         * math/w_scalbln.c: Likewise.
14593         * math/w_scalblnl.c: Likewise.
14594         * math/Makefile (libm-calls): Add w_scalbln.
14595         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14596         Remove weak_alias for corresponding scalbln function.
14597         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14598         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14599         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14601         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14602         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14603         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14604         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14605         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14606         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14607         Remove long_double_symbol for scalblnl function in libm, libc.
14608         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14609         Add wrapper which checks for setting errno to ERANGE.
14610         Add long_double_symbol for scalblnl function in libm, libc.
14611         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14612         Remove long_double_symbol for scalblnl in libm.
14613         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14614         Add wrapper which checks for setting errno to ERANGE.
14615         Add long_double_symbol for scalblnl function in libm.
14616         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14617         Do not use wrapper because of own implementation.
14619 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14621         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14622         3 bytes for __pad1 for x32.
14623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14625 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14626             H.J. Lu  <hongjiu.lu@intel.com>
14628         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14629         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14630         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14631         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14632         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14634 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14636         [BZ #17069]
14637         * posix/regcomp.c (parse_expression): Deallocate partially
14638         constructed tree before returning error.
14639         * posix/Makefile.c (tests): Add bug-regex36.
14640         (generated): Add bug-regex36.mtrace.
14641         (tests-special): Add $(objpfx)bug-regex36-mem.out
14642         (bug-regex36-ENV): New variable.
14643         ($(objpfx)bug-regex36-mem.out): New rule.
14644         * posix/bug-regex36.c: New file.
14646 2014-06-19  Will Newton  <will.newton@linaro.org>
14648         * malloc/malloc.c (systrim): If extra is zero then return
14649         early.
14651 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14653         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14655 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14657         * sysdeps/aarch64/strchr.S: New file.
14659 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14661         [BZ #17022]
14662         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14663         from arguments -2 or below.
14664         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14665         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14667 2014-06-18  Andreas Schwab  <schwab@suse.de>
14669         [BZ #17062]
14670         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14671         of a bracket expr not to run off the end of the string.
14672         * posix/Makefile (tests): Add tst-fnmatch3.
14673         * posix/tst-fnmatch3.c: New file.
14675 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14677         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14678         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14679         [$(cross-compiling) = no]: Likewise.
14680         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14681         [$(cross-compiling) = no]: Likewise.
14683 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14685         [BZ #17031]
14686         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14687         double, adjusted for any remainder from the high double.
14688         * math/libm-test.inc (nearbyint): Add tests.
14689         (rint): Likewise.
14691 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14693         * nptl/sysdeps/powerpc/Makefile: Moved ...
14694         * sysdeps/powerpc/nptl/Makefile: ... here.
14695         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14696         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14697         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14698         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14699         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14700         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14701         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14702         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14703         * nptl/sysdeps/powerpc/tls.h: Moved ...
14704         * sysdeps/powerpc/nptl/tls.h: ... here.
14706 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14708         [BZ #16681]
14709         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14710         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14711         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14712         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14713         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14714         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14715         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14716         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14717         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14719 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14721         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14723 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14725         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14726         defined operator.
14728         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14729         $TIMEOUTFACTOR.
14731 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14733         [BZ #17058]
14734         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14735         non-executed part of the test.
14737 2014-06-16  Andreas Schwab  <schwab@suse.de>
14739         * string/bits/string2.h (strdup, strndup): Update feature guard.
14741 2014-06-14  David S. Miller  <davem@davemloft.net>
14743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14745 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14747         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14748         that was previously under [RESET_PID].
14749         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14751         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14752         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14753         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14754         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14755         (__libc_vfork): New strong alias.
14756         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14758 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14760         * sysdeps/generic/elide.h: New file.
14762 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14764         * Makefile (installed-headers): Adjust path of pthread.h header.
14766 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14768         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14769         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14770         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14771         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14773         * nptl/sysdeps/s390/Makefile: Moved ...
14774         * sysdeps/s390/nptl/Makefile: ... here.
14775         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14776         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14777         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14778         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14779         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14780         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14781         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14782         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14783         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14784         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14785         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14786         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14787         * nptl/sysdeps/s390/tls.h: Moved ...
14788         * sysdeps/s390/nptl/tls.h: ... here.
14790         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14791         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14793 2014-06-13  David S. Miller  <davem@davemloft.net>
14795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14798         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14802         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14803         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14804         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14805         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14806         Remove RESET_PID cpp guards.
14807         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14808         Remove RESET_PID cpp guards.
14809         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14811 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14813         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14814         __sp to uintptr_t.
14816 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14818         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14819         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14820         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14821         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14823         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14824         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14825         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14828         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14830         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14832         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14834         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14839         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14840         (pthread_rwlock_rdlock): Add elision.
14841         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14842         (pthread_rwlock_wrlock): Add elision.
14843         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14844         (pthread_rwlock_trywrlock): Add elision.
14845         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14846         (pthread_rwlock_tryrdlock): Add elision.
14847         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14848         (pthread_rwlock_tryrdlock): Add elision unlock.
14849         * nptl/sysdeps/pthread/pthread.h:
14850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14851         (PTHREAD_RWLOCK_INITIALIZER,
14852         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14853         Handle new elision field.
14854         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14855         * sysdeps/arm/nptl/bits/pthreadtypes.h
14856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14857         * sysdeps/sh/nptl/bits/pthreadtypes.h
14858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14859         * sysdeps/tile/nptl/bits/pthreadtypes.h
14860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14861         * sysdeps/a/nptl/bits/pthreadtypes.h
14862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14863         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14865         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14867         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14869         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14871         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14873         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14875         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14877         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14879         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14880         (elision_init): Set try_xbegin to zero when no RTM.
14881         * sysdeps/x86/nptl/bits/pthreadtypes.h
14882         (pthread_rwlock_t): Change __pad1 to __rwelision.
14883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14885 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14887         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14888         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14889         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14890         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14892 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14894         [BZ #16996]
14895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14896         that the cached result has been set before returning it.
14898 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14900         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14901         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14903         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14904         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14905         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14907         * nptl/sysdeps/sparc/Makefile: Moved ...
14908         * sysdeps/sparc/nptl/Makefile: ... here.
14909         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14910         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14911         * nptl/sysdeps/sparc/tls.h: Moved ...
14912         * sysdeps/sparc/nptl/tls.h: ... here.
14913         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14914         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14915         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14916         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14917         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14918         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14919         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14920         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14921         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14922         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14923         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14924         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14925         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14926         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14927         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14928         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14929         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14930         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14931         Update #include.
14932         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14933         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14934         Update #include.
14935         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14937         Update #include.
14938         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14940         Update #include.
14942         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14944         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14945         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14947         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14948         (struct list_links): Type removed.
14949         (struct thread_node, struct timer_node): Replace struct list_links
14950         with struct list_head.
14951         (list_unlink_ip): Likewise.
14952         * sysdeps/pthread/timer_routines.c
14953         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14954         (list_append, list_insbefore): Likewise.
14955         (list_init): Function removed.
14956         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14957         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14958         * sysdeps/pthread/Makefile: ... here, new file.
14960         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14961         * sysdeps/nptl/Implies: ... here.
14962         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14963         * nptl/sysdeps/pthread/list.h: Moved ...
14964         * include/list.h: ... here.
14965         * nptl/sysdeps/pthread/createthread.c: Moved ...
14966         * nptl/createthread.c: ... here.
14967         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14968         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14969         * nptl/pt-longjmp.c: ... here.
14970         * nptl/sysdeps/pthread/Makefile: Moved ...
14971         * sysdeps/nptl/Makefile: ... here.
14972         * nptl/sysdeps/pthread/Subdirs: Moved ...
14973         * sysdeps/nptl/Subdirs: ... here.
14974         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14975         * sysdeps/nptl/aio_misc.h: ... here.
14976         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14977         * sysdeps/nptl/bits/libc-lock.h: ... here.
14978         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14979         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14980         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14981         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14982         * nptl/sysdeps/pthread/configure: Moved ...
14983         * sysdeps/nptl/configure: ... here.
14984         * nptl/sysdeps/pthread/configure.ac: Moved ...
14985         * sysdeps/nptl/configure.ac: ... here.
14986         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14987         * sysdeps/nptl/gai_misc.h: ... here.
14988         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14989         * sysdeps/nptl/librt-cancellation.c: ... here.
14990         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14991         * sysdeps/nptl/malloc-machine.h: ... here.
14992         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14993         * sysdeps/nptl/pthread-functions.h: ... here.
14994         * nptl/sysdeps/pthread/pthread.h: Moved ...
14995         * sysdeps/nptl/pthread.h: ... here.
14996         * nptl/sysdeps/pthread/setxid.h: Moved ...
14997         * sysdeps/nptl/setxid.h: ... here.
14998         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14999         * sysdeps/nptl/sigfillset.c: ... here.
15000         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
15001         * sysdeps/nptl/tcb-offsets.h: ... here.
15002         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
15003         * sysdeps/nptl/tst-mqueue8x.c: ... here.
15004         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
15005         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
15006         * nptl/sysdeps/pthread/allocalim.h: Moved ...
15007         * sysdeps/pthread/allocalim.h: ... here.
15008         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
15009         * sysdeps/pthread/bits/sigthread.h: ... here.
15010         * nptl/sysdeps/pthread/flockfile.c: Moved ...
15011         * sysdeps/pthread/flockfile.c: ... here.
15012         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15013         * sysdeps/pthread/ftrylockfile.c: ... here.
15014         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15015         * sysdeps/pthread/funlockfile.c: ... here.
15016         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15017         * sysdeps/pthread/posix-timer.h: ... here.
15018         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15019         * sysdeps/pthread/timer_create.c: ... here.
15020         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15021         * sysdeps/pthread/timer_delete.c: ... here.
15022         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15023         * sysdeps/pthread/timer_getoverr.c: ... here.
15024         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15025         * sysdeps/pthread/timer_gettime.c: ... here.
15026         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15027         * sysdeps/pthread/timer_routines.c: ... here.
15028         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15029         * sysdeps/pthread/timer_settime.c: ... here.
15030         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15031         * sysdeps/pthread/tst-timer.c: ... here.
15032         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15033         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15035         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15036         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15038         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15039         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15040         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15041         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15042         Update #include target.
15043         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15044         * sysdeps/i386/i686/nptl/Makefile: ... here.
15045         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15046         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15047         Update #include target.
15048         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15049         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15050         * nptl/sysdeps/i386/Makefile: Moved ...
15051         * sysdeps/i386/nptl/Makefile: ... here.
15052         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15053         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15054         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15055         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15056         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15057         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15058         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15059         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15060         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15061         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15062         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15063         * nptl/sysdeps/i386/tls.h: Moved ...
15064         * sysdeps/i386/nptl/tls.h: ... here.
15066         * sysdeps/sh/Makefile [$(subdir) = csu]
15067         (gen-as-const-headers): Add tcb-offsets.sym.
15068         * nptl/sysdeps/sh/Makefile: File removed.
15069         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15070         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15071         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15072         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15073         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15074         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15075         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15076         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15077         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15078         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15079         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15080         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15081         * nptl/sysdeps/sh/tls.h: Moved ...
15082         * sysdeps/sh/nptl/tls.h: ... here.
15083         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15084         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15085         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15086         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15087         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15088         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15089         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15090         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15091         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15092         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15093         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15094         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15096         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15098         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15100         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15101         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15102         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15104         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15108         Moved ...
15109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15111         Moved ...
15112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15117         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15118         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15119         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15120         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15121         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15122         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15123         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15124         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15125         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15126         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15127         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15128         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15129         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15130         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15132 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15134         * posix/spawn_faction_addopen.c: Include string.h.
15136 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15138         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15139         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15140         * nptl/sysdeps/x86_64/Makefile: Moved ...
15141         * sysdeps/x86_64/nptl/Makefile: ... here.
15142         * nptl/sysdeps/x86_64/configure: Moved ...
15143         * sysdeps/x86_64/nptl/configure: ... here.
15144         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15145         * sysdeps/x86_64/nptl/configure.ac: ... here.
15146         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15147         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15148         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15149         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15150         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15151         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15152         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15153         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15154         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15155         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15156         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15157         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15158         * nptl/sysdeps/x86_64/tls.h: Moved ...
15159         * sysdeps/x86_64/nptl/tls.h: ... here.
15160         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15161         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15162         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15163         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15165         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15167 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15171 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15173         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15174         type.
15175         [POSIX] (off_t): Likewise.
15176         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15177         [POSIX] (S_ISBLK): Require macro.
15178         [POSIX] (S_ISCHR): Likewise.
15179         [POSIX] (S_ISDIR): Likewise.
15180         [POSIX] (S_ISFIFO): Likewise.
15181         [POSIX] (S_ISREG): Likewise.
15182         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15183         optional-macro.
15184         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15185         type.
15186         [POSIX] (time_t): Likewise.
15187         [POSIX] (timer_t): Likewise.
15189 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15191         [BZ #17048]
15192         * posix/spawn_int.h (struct __spawn_action): Make the path string
15193         non-const to support deallocation.
15194         * posix/spawn_faction_addopen.c
15195         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15196         * posix/spawn_faction_destroy.c
15197         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15198         path in all spawn_do_open actions.
15199         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15200         posix_spawn_file_actions_addopen.
15202 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15204         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15205         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15206         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15207         conditional code always true.
15208         (__libc_vfork): New alias.
15210 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15212         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15213         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15215         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15217         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15218         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15220         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15221         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15223         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15224         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15226 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15228         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15229         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15230         multiarch strcmp for PPC64.
15231         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15232         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15234         multiarch optimizations.
15235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15236         (__libc_ifunc_impl_list): Likewise.
15238 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15240         * benchtests/scripts/validate_benchout.py: New script.
15241         * benchtests/Makefile (bench-func): Call it.
15242         * benchtests/scripts/benchout.schema.json: New file.
15244 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15246         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15247         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15248         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15249         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15250         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15251         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15252         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15253         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15254         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15255         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15256         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15258         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15259         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15260         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15261         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15263         Moved ...
15264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15265         ... here.
15266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15267         Moved ...
15268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15270         Moved ...
15271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15272         ... here.
15273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15274         Moved ...
15275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15276         ... here.
15277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15278         Moved ...
15279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15281         Moved ...
15282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15283         ... here.
15284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15285         Moved ...
15286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15287         ... here.
15288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15289         Moved ...
15290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15292         Moved ...
15293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15294         ... here.
15295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15296         Moved ...
15297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15298         ... here.
15299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15300         Moved ...
15301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15302         ... here.
15303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15304         Moved ...
15305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15307         Moved ...
15308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15309         ... here.
15310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15311         Moved ...
15312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15313         ... here.
15314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15315         Moved ...
15316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15317         ... here.
15318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15319         Moved ...
15320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15322         Moved ...
15323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15324         ... here.
15325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15326         Moved ...
15327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15328         ... here.
15329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15333         Moved ...
15334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15335         ... here.
15336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15337         Moved ...
15338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15340         Moved ...
15341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15343         Moved ...
15344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15345         ... here.
15346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15347         Moved ...
15348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15349         ... here.
15350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15351         Moved ...
15352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15353         ... here.
15354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15355         Moved ...
15356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15358         Moved ...
15359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15360         ... here.
15361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15362         Moved ...
15363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15364         ... here.
15365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15366         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15368         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15369         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15370         Moved ...
15371         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15372         ... here.
15373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15374         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15376         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15378         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15380         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15382         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15384         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15386         Moved ...
15387         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15389         Moved ...
15390         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15392         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15394         Moved ...
15395         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15397         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15398         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15399         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15400         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15401         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15403 2014-06-10  Wilco  <wdijkstr@arm.com>
15405         * math/test-fenv-return.c: New file.
15406         * math/Makefile: Add new test test-fenv-return.
15408 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #17042]
15411         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15412         when x - 1 is zero.
15413         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15414         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15415         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15416         0.0L for an argument of 1.0L.
15417         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15418         Likewise.
15419         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15420         value when x - 1 is zero.
15421         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15422         * sysdeps/i386/fpu/libm-test-ulps: Update.
15423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15425 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15427         [BZ #15119]
15428         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15430 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15432         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15433         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15435 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15437         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15438         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15440         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15441         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15443         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15444         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15446         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15447         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15449         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15450         if not already defined.
15451         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15452         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15453         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15454         (TLS_INIT_TP): Use it.
15455         (TLS_DEFINE_INIT_TP): New macro.
15456         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15458 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15460         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15461         constant.
15462         [POSIX] (IXANY): Likewise.
15463         [POSIX] (OLCUC): Likewise.
15464         [POSIX || POSIX2008] (CBAUD): Do not allow.
15465         [POSIX || POSIX2008] (DEFECHO): Likewise.
15466         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15467         [POSIX || POSIX2008] (ECHOKE): Likewise.
15468         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15469         [POSIX || POSIX2008] (EXTA): Likewise.
15470         [POSIX || POSIX2008] (EXTB): Likewise.
15471         [POSIX || POSIX2008] (FLUSHO): Likewise.
15472         [POSIX || POSIX2008] (LOBLK): Likewise.
15473         [POSIX || POSIX2008] (PENDIN): Likewise.
15474         [POSIX || POSIX2008] (SWTCH): Likewise.
15475         [POSIX || POSIX2008] (VDISCARD): Likewise.
15476         [POSIX || POSIX2008] (VDSUSP): Likewise.
15477         [POSIX || POSIX2008] (VLNEXT): Likewise.
15478         [POSIX || POSIX2008] (VREPRINT): Likewise.
15479         [POSIX || POSIX2008] (VSTATUS): Likewise.
15480         [POSIX || POSIX2008] (VWERASE): Likewise.
15481         (B*): Change to B[0123456789]*.
15482         * conform/data/time.h-data [POSIX || UNIX98]
15483         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15484         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15485         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15486         [POSIX] (tm_*): Do not allow.
15488 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15490         * Makefile (install): Don't set LANGUAGE.
15491         * Makefile.in (install): Likewise.
15492         * assert/Makefile (test-assert-ENV): Remove variable.
15493         (test-assert-perr-ENV): Likewise.
15494         * elf/Makefile (neededtest4-ENV): Likewise.
15495         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15496         [$(cross-compiling) = no]: Don't set LANGUAGE.
15497         * io/ftwtest-sh (LANG): Remove variable.
15498         * libio/Makefile (tst-widetext-ENV): Likewise.
15499         * manual/install.texi (Running make install): Don't refer to
15500         environment settings for make install.
15501         * INSTALL: Regenerated.
15502         * nptl/tst-tls6.sh: Don't set LANG.
15503         * posix/globtest.sh (LANG): Remove variable.
15504         * string/Makefile (tester-ENV): Likewise.
15505         (inl-tester-ENV): Likewise.
15506         (noinl-tester-ENV): Likewise.
15507         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15508         [$(cross-compiling) = no]: Don't set LANGUAGE.
15509         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15510         without explicit environment settings.
15512 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15514         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15515         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15516         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15517         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15519 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15521         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15522         other files in the crypt directory.
15523         * crypt/crypt.c: Remove duplicate includes.
15524         * crypt/crypt-entry.c: Likewise.
15525         * crypt/crypt_util.c: Likewise.
15527 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15529         * Makeconfig (run-program-env): New variable.
15530         (run-program-prefix-before-env): Likewise.
15531         (run-program-prefix-after-env): Likewise.
15532         (run-program-prefix): Define in terms of new variables.
15533         (built-program-cmd-before-env): New variable.
15534         (built-program-cmd-after-env): Likewise.
15535         (built-program-cmd): Define in terms of new variables.
15536         (test-program-prefix-before-env): New variable.
15537         (test-program-prefix-after-env): Likewise.
15538         (test-program-prefix): Define in terms of new variables.
15539         (test-program-cmd-before-env): New variable.
15540         (test-program-cmd-after-env): Likewise.
15541         (test-program-cmd): Define in terms of new variables.
15542         * Rules (make-test-out): Use $(run-program-env).
15543         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15544         (help): Do not mention environment variables.  Mention
15545         --timeoutfactor option.
15546         (timeoutfactor): New variable.
15547         (blacklist_exports): Remove function.
15548         (exports): Remove variable.
15549         (command): Do not include ${exports}.
15550         * manual/install.texi (Configuring and compiling): Do not mention
15551         test wrappers preserving environment variables.  Mention that last
15552         assignment to a variable must take precedence.
15553         * INSTALL: Regenerated.
15554         * benchtests/Makefile (run-bench): Use $(run-program-env).
15555         * catgets/Makefile ($(objpfx)test1.cat): Use
15556         $(built-program-cmd-before-env), $(run-program-env) and
15557         $(built-program-cmd-after-env).
15558         ($(objpfx)test2.cat): Do not specify environment variables
15559         explicitly.
15560         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15561         $(run-program-env) and $(built-program-cmd-after-env).
15562         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15563         $(run-program-env) and $(test-program-cmd-after-env).
15564         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15565         explicitly.
15566         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15567         run_program_env and test_program_cmd_after_env arguments.
15568         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15569         * elf/tst-pathopt.sh: Use run_program_env argument.
15570         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15571         $(test-wrapper-env) and $(run-program-env).
15572         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15573         run_program_env arguments.
15574         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15575         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15576         $(test-program-prefix-before-env), $(run-program-env) and
15577         $(test-program-prefix-after-env).
15578         ($(objpfx)tst-gettext2.out): Likewise.
15579         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15580         run_program_env and test_program_prefix_after_env arguments.
15581         * intl/tst-gettext2.sh: Likewise.
15582         * intl/tst-gettext4.sh: Do not set environment variables
15583         explicitly.
15584         * intl/tst-gettext6.sh: Likewise.
15585         * intl/tst-translit.sh: Likewise.
15586         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15587         $(test-program-prefix-before-env), $(run-program-env) and
15588         $(test-program-prefix-after-env).
15589         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15590         run_program_env and test_program_prefix_after_env arguments.
15591         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15592         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15593         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15594         explicitly with each use of ${test_wrapper_env}.
15595         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15596         $(test-program-prefix-before-env), $(run-program-env) and
15597         $(test-program-prefix-after-env).
15598         * posix/tst-getconf.sh: Do not set environment variables
15599         explicitly.
15600         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15601         run_program_env and test_program_prefix_after_env arguments.
15602         * stdio-common/tst-printf.sh: Do not set environment variables
15603         explicitly.
15604         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15605         $(test-program-prefix-before-env), $(run-program-env) and
15606         $(test-program-prefix-after-env).
15607         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15608         run_program_env and test_program_prefix_after_env arguments.
15609         Split $test calls into $test_pre and $test.
15610         * timezone/Makefile (build-testdata): Use
15611         $(built-program-cmd-before-env), $(run-program-env) and
15612         $(built-program-cmd-after-env).
15614 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15616         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15617         strlen for non SHARED builds.
15619 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15621         * nptl/allocatestack.c (check_list): Inlined function...
15622         (__reclaim_stacks): ... here.
15624 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15626         [BZ #15698]
15627         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15628         memory overrun.
15630 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15632         * Rules (make-test-out): Include
15633         LOCPATH=$(common-objpfx)localedata in default environment.
15634         * debug/Makefile (tst-chk1-ENV): Remove variable.
15635         (tst-chk2-ENV): Likewise.
15636         (tst-chk3-ENV): Likewise.
15637         (tst-chk4-ENV): Likewise.
15638         (tst-chk5-ENV): Likewise.
15639         (tst-chk6-ENV): Likewise.
15640         (tst-lfschk1-ENV): Likewise.
15641         (tst-lfschk2-ENV): Likewise.
15642         (tst-lfschk3-ENV): Likewise.
15643         (tst-lfschk4-ENV): Likewise.
15644         (tst-lfschk5-ENV): Likewise.
15645         (tst-lfschk6-ENV): Likewise.
15646         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15647         (tst-iconv7-ENV): Likewise.
15648         * intl/Makefile (LOCPATH-ENV): Likewise.
15649         (tst-codeset-ENV): Likewise.
15650         (tst-gettext3-ENV): Likewise.
15651         (tst-gettext5-ENV): Likewise.
15652         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15653         (tst-fopenloc-ENV): Likewise.
15654         (tst-fgetws-ENV): Remove variable.
15655         (tst-ungetwc1-ENV): Likewise.
15656         (tst-ungetwc2-ENV): Likewise.
15657         (bug-ungetwc2-ENV): Likewise.
15658         (tst-swscanf-ENV): Likewise.
15659         (bug-ftell-ENV): Likewise.
15660         (tst-fgetwc-ENV): Likewise.
15661         (tst-fseek-ENV): Likewise.
15662         (tst-ftell-partial-wide-ENV): Likewise.
15663         (tst-ftell-active-handler-ENV): Likewise.
15664         (tst-ftell-append-ENV): Likewise.
15665         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15666         (tst-regexloc-ENV): Likewise.
15667         (bug-regex1-ENV): Likewise.
15668         (tst-regex-ENV): Likewise.
15669         (tst-regex2-ENV): Likewise.
15670         (bug-regex5-ENV): Likewise.
15671         (bug-regex6-ENV): Likewise.
15672         (bug-regex17-ENV): Likewise.
15673         (bug-regex18-ENV): Likewise.
15674         (bug-regex19-ENV): Likewise.
15675         (bug-regex20-ENV): Likewise.
15676         (bug-regex22-ENV): Likewise.
15677         (bug-regex23-ENV): Likewise.
15678         (bug-regex25-ENV): Likewise.
15679         (bug-regex26-ENV): Likewise.
15680         (bug-regex30-ENV): Likewise.
15681         (bug-regex32-ENV): Likewise.
15682         (bug-regex33-ENV): Likewise.
15683         (bug-regex34-ENV): Likewise.
15684         (bug-regex35-ENV): Likewise.
15685         (tst-rxspencer-ENV): Likewise.
15686         (tst-rxspencer-no-utf8-ENV): Likewise.
15687         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15688         (tst-sscanf-ENV): Likewise.
15689         (tst-swprintf-ENV): Likewise.
15690         (tst-swscanf-ENV): Likewise.
15691         (test-vfprintf-ENV): Likewise.
15692         (scanf13-ENV): Likewise.
15693         (bug14-ENV): Likewise.
15694         (tst-grouping-ENV): Likewise.
15695         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15696         (tst-strtod3-ENV): Likewise.
15697         (tst-strtod4-ENV): Likewise.
15698         (tst-strtod5-ENV): Likewise.
15699         (testmb2-ENV): Likewise./
15700         * string/Makefile (tst-strxfrm-ENV): Likewise.
15701         (tst-strxfrm2-ENV): Likewise.
15702         (bug-strcoll1-ENV): Likewise.
15703         (test-strcasecmp-ENV): Likewise.
15704         (test-strncasecmp-ENV): Likewise.
15705         * time/Makefile (tst-strptime-ENV): Likewise.
15706         (tst-ftime_l-ENV): Likewise.
15707         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15708         (tst-mbrtowc-ENV): Likewise.
15709         (tst-wcrtomb-ENV): Likewise.
15710         (tst-mbrtowc2-ENV): Likewise.
15711         (tst-c16c32-1-ENV): Likewise.
15712         (tst-mbsnrtowcs-ENV): Likewise.
15714 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15716         * manual/resource.texi (How to get information about the memory
15717         subsystem?): Fix typo.
15718         Reported by Peon de la Parra Ivan <peon@keba.com>
15720 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15722         [BZ #16882]
15723         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15724         (pthread_spin_lock): Branch out of spin loop to proper location.
15725         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15726         (pthread_spin_lock): Likewise.
15728         * nptl/tst-spin4.c: New test.
15729         * nptl/Makefile (tests): Add tst-spin4.
15731 2014-06-03  Andreas Schwab  <schwab@suse.de>
15733         [BZ #15946]
15734         * resolv/res_send.c (send_dg): Reload file descriptor after
15735         calling reopen.
15737 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15739         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15741 2014-06-03  Richard Henderson  <rth@redhat.com>
15743         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15744         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15745         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15746         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15747         in the SAVE_PID block.
15748         (__libc_vfork): New alias.
15749         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15751         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15752         child in registers, not on the stack.  Remove RESET_PID conditionals.
15753         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15755 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15757         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15759 2014-06-03  Wilco  <wdijkstr@arm.com>
15761         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15762         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15763         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15764         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15765         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15766         Likewise.
15768 2014-06-03  Wilco  <wdijkstr@arm.com>
15770         * sysdeps/aarch64/fpu/math_private.h
15771         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15772         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15773         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15774         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15775         Fix declarations.
15777 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15779         * crypt/crypt-private.h: Include ufc-crypt.h.
15780         (__b64_from_24bit): Declare extern.
15781         * crypt/crypt_util.c(__b64_from_24bit): New function.
15782         (b64t): New static const variable.
15783         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15784         (b64t): Remove variable.
15785         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15786         * crypt/sha256-crypt.c: Include crypt-private.h.
15787         (b64t): Remove variable.
15788         (__sha256_crypt_r): Remove b64_from_24bit and replace
15789         with __b64_from_24bit.
15790         * crypt/sha512-crypt.c: Likewise.
15792 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15794         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15795         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15796         Label the code __libc_vfork rather than __vfork.
15797         [!NOT_IN_libc] (vfork): Define as weak alias.
15798         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15799         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15800         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15802 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15804         * malloc/malloc.c (malloc_info): Fix format specifier for
15805         n_mmaps.
15807 2014-06-02  Wilco  <wdijkstr@arm.com>
15809         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15810         FPCR write.
15812 2014-06-02  Wilco  <wdijkstr@arm.com>
15814         [BZ #17009]
15815         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15816         Rewrite to reduce FPCR/FPSR accesses.
15818 2014-06-01  David S. Miller  <davem@davemloft.net>
15820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15822 2014-05-31  David S. Miller  <davem@davemloft.net>
15824         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15825         to occur in round to nearest mode when |x| >= 2.0
15827 2014-05-30  Richard Henderson  <rth@twiddle.net>
15829         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15830         (PSEUDO_RET_NOERRNO): Remove.
15831         (ret): Don't redefine.
15832         (ret_NOERRNO): Define in terms of ret.
15833         (ret_ERRVAL): Likewise.
15835         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15836         use of PSEUDO_RET; perform the error check directly.
15838 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15840         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15841         with __int128_t.
15843 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15845         * malloc/malloc (malloc_info): Fix formatting.
15847 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15848             Roland McGrath  <roland@hack.frob.com>
15850         * malloc/malloc (malloc_info): Also print mmapped statistics.
15852 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15854         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15855         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15857 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15859         * malloc/malloc.c (malloc_info): Inline mi_arena.
15861 2014-05-29  Richard Henderson  <rth@twiddle.net>
15863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15864         Remove comma before expanding ASM_ARGS_##nr.
15865         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15866         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15867         of ASM_ARGS_##nr.
15868         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15869         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15870         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15871         (ASM_ARGS_1): Add leading comma.
15873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15874         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15875         to __errno_location.
15876         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15877         Remove the expected plt for __errno_location.
15879         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15880         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15881         call to __read_tp.
15883         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15884         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15885         it and break it down.
15886         (DOCARGS_0, DOCARGS_1): Do nothing.
15887         (DOCARGS_2): Update to store into the new stack frame.
15888         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15889         (UNDOCARGS_1): Update to restore from the new stack frame.
15890         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15891         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15894         (SINGLE_THREAD_P): New parameter for result regno.
15895         (PSEUDO): Update to match; use cbz instead of beq.
15897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15898         Use ENTRY to define the _nocancel entry point.  Share the syscall
15899         and syscall error check paths with the cancel path.
15900         (PSEUDO_END): New.
15902         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15903         whitespace; tabs before and after asm mnemonics.
15905 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15907         [BZ #15132]
15908         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15909         Call fstat64 or stat64 internally, depending on arguments passed.
15910         Replace stat buffer argument with file descriptor argument.
15911         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15912         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15913         Pass fd to __internal_statvfs instead of calling fstat64.
15914         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15915         Pass fd to __internal_statvfs64 instead of calling fstat64.
15916         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15917         Pass -1 to __internal_statvfs instead of calling stat64.
15918         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15919         Pass -1 to __internal_statvfs64 instead of calling stat64.
15921 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15923         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15924         that was previously under [RESET_PID].
15925         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15927         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15928         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15930 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15932         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15934         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15935         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15937 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15939         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15941 2014-05-27  Andreas Schwab  <schwab@suse.de>
15943         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15944         TLS_INIT_TP macro.
15945         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15946         * elf/rtld.c (init_tls, dl_main): Likewise.
15947         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15948         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15949         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15950         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15951         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15952         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15953         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15954         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15955         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15956         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15957         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15958         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15959         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15960         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15961         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15962         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15963         * sysdeps/generic/tls.h: Update description.
15965 2014-05-27  Will Newton  <will.newton@linaro.org>
15967         [BZ #16990]
15968         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15969         and restore r2 rather than just restoring.
15971 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15973         [BZ #16724]
15974         * libio/tst-ftell-append.c: New test case.
15975         * libio/Makefile (tests): Add test case.
15976         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15977         append mode.
15978         * libio/wfileops.c (do_ftell_wide): Likewise.
15980 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15984         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15985         ...
15986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15988         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15989         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15990         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15991         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15992         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15993         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15995         Moved ...
15996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15997         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15998         Moved ...
15999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
16000         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
16001         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
16002         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
16003         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
16004         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
16005         ...
16006         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
16007         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
16008         Moved ...
16009         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
16010         here.
16011         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
16012         ...
16013         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16014         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16015         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16017         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16018         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16019         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16020         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16023         merge into ...
16024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16026         ...
16027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16029         ...
16030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16032         Moved ...
16033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16034         here.
16035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16036         Moved ...
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16039         Moved ...
16040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16043         conditional [RESET_PID].
16044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16046         removed.
16047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16048         removed.
16050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16051         <tcb-offsets.h>.
16052         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16053         (__libc_vfork): New strong alias.
16054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16055         removed.
16056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16057         Removed.
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16060         <tcb-offsets.h>.
16061         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16062         (__libc_vfork): New strong alias.
16063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16064         removed.
16065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16066         removed.
16068 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16070         * malloc/malloc.c (mi_arena): New function.
16071         (malloc_info): Remove nested function mi_arena. Call non-nosted
16072         function mi_arena.
16074 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16076         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16077         by insrwi.
16078         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16079         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16080         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16081         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16082         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16083         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16084         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16086 2014-05-26  Andreas Schwab  <schwab@suse.de>
16088         [BZ #16984]
16089         * locale/programs/repertoire.c (repertoire_read): Add slash
16090         between I18NPATH element and file name.
16091         * locale/programs/locfile.c (locfile_read): Likewise.
16093 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16095         * nptl/pthread_mutexattr_settype.c
16096         (__pthread_mutexattr_settype):
16097         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16099 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16101         * nptl/tst-mutex5 (do_test):
16102         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16104 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16106         * benchtests/README: Document 'init' directive.
16107         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16108         BENCH_INIT.
16109         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16110         (parse_file): Recognize 'init' directive.
16112 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16114         [BZ #16796]
16115         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16116         alignment of struct pthread.
16118 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16120         [BZ #16878]
16121         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16122         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16123         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16124         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16126 2014-05-25  Richard Henderson  <rth@twiddle.net>
16128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16129         (SINGLE_THREAD_P_PIC): Remove.
16130         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16131         (SINGLE_THREAD_P_PIC): Remove.
16133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16134         branch to syscall error ...
16135         (PSEUDO): ... here.
16136         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16137         from __local_syscall_error to .Lsyscall_error.
16138         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16139         (SYSCALL_ERROR): Update label name.
16141         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16142         Do not use DOARGS/UNDOARGS.
16143         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16144         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16145         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16146         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16147         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16150         block comment.
16152         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16153         define if !NOT_IN_libc.
16154         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16155         define with non-default symbol versions.
16157 2014-05-23  Richard Henderson  <rth@twiddle.net>
16159         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16160         (vfork, __vfork): Define via compat_symbol.
16162         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16163         [!HAVE_IFUNC] (vfork_compat): Remove.
16164         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16166 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16168         [BZ #16978]
16169         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16170         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16171         variable.
16173 2014-05-23  Richard Henderson  <rth@twiddle.net>
16175         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16176         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16177         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16178         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16180         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16181         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16182         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16183         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16184         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16185         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16186         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16187         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16188         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16189         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16190         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16191         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16192         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16193         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16194         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16195         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16196         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16197         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16198         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16199         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16200         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16201         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16202         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16203         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16204         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16205         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16206         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16207         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16208         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16209         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16210         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16211         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16212         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16213         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16214         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16215         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16216         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16217         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16218         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16219         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16220         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16221         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16222         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16223         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16224         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16225         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16226         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16227         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16228         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16229         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16230         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16231         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16232         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16233         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16234         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16235         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16237         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16238         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16239         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16240         before exiting on error.
16241         (__libc_vfork): New strong alias.
16242         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16243         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16245         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16246         that was previously under [RESET_PID].
16247         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16249         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16251 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16253         [BZ #16977]
16254         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16255         value when x - 1 is zero.
16256         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16257         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16258         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16259         0.0L for an argument of 1.0L.
16260         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16261         Likewise.
16262         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16263         value when x - 1 is zero.
16264         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16265         * sysdeps/i386/fpu/libm-test-ulps: Update.
16266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16268 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16270         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16271         alphasort and versionsort.
16273 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16275         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16276         macro.
16277         [copysignf]: Likewise.
16279 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16281         * crypt/md5-crypt.c: Fix formatting.
16283 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16285         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16286         (b64_from_24bit): New function.
16288 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16290         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16291         libc_hidden_builtin_def to ifunc.
16292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16293         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16295 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16297         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16298         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16300 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16302         * nscd/Depend (linuxthreads): Remove.
16303         (nptl): Add.
16304         * resolv/Depend (linuxthreads): Remove.
16305         * rt/Depend (linuxthreads): Remove.
16307         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16308         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16309         $(common-objpfx)elf/.
16310         (link-libc-before-gnulib): Likewise.
16311         (elfobjdir): Remove variable.
16312         * Makefile (install): Use $(elf-objpfx) instead of
16313         $(common-objpfx)elf/.
16314         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16315         $(elfobjdir)/.
16316         (link-libc-deps): Likewise.
16317         ($(common-objpfx)libc.so): Likewise.
16318         ($(common-objpfx)linkobj/libc.so): Likewise.
16319         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16320         instead of $(common-objpfx)elf/.
16321         (symbolic-link-list): Likewise.
16322         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16323         [$(cross-compiling) = no]: Likewise.
16324         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16325         $(elfobjdir)/.
16326         (static-gnulib-arch): Likewise.
16327         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16328         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16329         $(common-objpfx)elf/.
16331 2014-05-21  Richard Henderson  <rth@redhat.com>
16333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16334         (SINGLE_THREAD_P): Use the correct width load.  Fold
16335         into the ldr offset.
16337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16338         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16340 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16342         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16343         (libgcc_s_resume): Use __attribute_used__.
16344         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16345         Likewise.
16347 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16349         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16350         optimization when used with float constants.
16352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16354 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16356         [BZ #16915]
16357         * locale/nl_langinfo_l.c: Make direct reference to every
16358         _nl_current_CATEGORY symbol.
16359         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16360         (tests-static): Add tst-langinfo-static.
16361         (tests-special): Add tst-langinfo-static.out.
16362         ($(objpfx)tst-langinfo.out): Redirect output.
16363         ($(objpfx)tst-langinfo-static.out): New.
16364         * localedata/tst-langinfo.sh: Send output to stdout.
16365         * localedata/tst-langinfo-static.c: New file.
16367         [BZ #16965]
16368         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16369         when the shift amount is modulo the limb size.
16371 2014-05-20  Richard Henderson  <rth@redhat.com>
16373         [BZ #16967]
16374         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16375         Change type of sa_flags from unsigned int to int.
16377         [BZ #16966]
16378         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16380         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16382 2014-05-20  Will Newton  <will.newton@linaro.org>
16384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16385         Test the return value of the system call in the nocancel case.
16387 2014-05-20  Will Newton  <will.newton@linaro.org>
16388             Yvan Roux  <yvan.roux@linaro.org>
16390         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16391         #include of asm/ptrace.h.
16392         (PTRACE_GET_THREAD_AREA): Remove #undef.
16393         (PTRACE_GETHBPREGS): Likewise.
16394         (PTRACE_SETHBPREGS): Likewise.
16395         (struct user_regs_struct): New structure.
16396         (struct user_fpsimd_struct): New structure.
16397         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16398         #include of asm/ptrace.h and second #include of sys/user.h.
16399         (PTRACE_GET_THREAD_AREA): Remove #undef.
16400         (PTRACE_GETHBPREGS): Likewise.
16401         (PTRACE_SETHBPREGS): Likewise.
16402         (ELF_NGREG): Use new struct user_regs_struct.
16403         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16405 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16408         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16410 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16412         [BZ #16958]
16413         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16414         membar to avoid block loads/stores to overlap previous stores.
16416 2014-05-17  Richard Henderson  <rth@redhat.com>
16418         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16419         Create the __##syscall_name##_nocancel entry point.
16420         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16421         Remove; let the sysdep-cancel.h code create it.
16423 2014-05-17  David S. Miller  <davem@davemloft.net>
16425         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16426         Protect with __USE_GNU.
16427         (TIOCSET_TEMPT): Likewise.
16428         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16429         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16430         these are already provided in bits/ioctl-types.h
16432 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16434         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16435         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16437         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16438         Use wait4 regardless of [__NR_waitpid].
16440 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16442         PR libgcc/60166
16443         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16444         (_FP_NANSIGN_Q): Set the quiet bit.
16446 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16448         * benchtests/Makefile
16449         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16450         not $(common-objpfx)math/libm.so.
16451         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16452         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16453         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16454         $(common-objpfx)dlfcn/libdl.so.
16455         ($(objpfx)tst-audit8): Depend on $(libm), not
16456         $(common-objpfx)math/libm.so.
16457         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16458         not $(common-objpfx)dlfcn/libdl.so.
16459         * math/Makefile
16460         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16461         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16462         [$(build-shared) = yes].
16463         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16464         $(common-objpfx)nptl/libpthread.so.
16465         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16466         $(common-objpfx)math/libm.so$(libm.so-version) or
16467         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16468         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16469         $(common-objpfx)dlfcn/libdl.so.
16470         * setjmp/Makefile (link-libm): Remove variable.
16471         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16472         * stdio-common/Makefile (link-libm): Remove variable.
16473         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16474         * stdlib/Makefile (link-libm): Remove variable.
16475         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16476         ($(objpfx)tst-strtod-round): Likewise.
16477         ($(objpfx)tst-tininess): Likewise.
16478         ($(objpfx)tst-strtod-underflow): Likewise.
16479         ($(objpfx)tst-strtod6): Likewise.
16480         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16481         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16482         $(common-objpfx)dlfcn/libdl.so.
16484 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16486         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16487         BSD terminal modes definitions.
16489 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16491         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16492         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16494         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16495         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16496         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16497         Don't do #include_next.
16498         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16499         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16500         Don't do #include_next.
16501         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16502         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16503         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16504         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16506 2014-05-16  Allan McRae  <allan@archlinux.org>
16508         * po/sv.po: Update Swedish translation from translation project.
16510         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16511         in sed expression.
16513 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16515         [BZ #16917]
16516         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16517         errno if the TIOCGPTN ioctl fails with an error different than
16518         EINVAL.
16519         * login/tst-ptsname.c: New file.
16520         * login/Makefile (tests): Add tst-ptsname.
16522         [BZ #16943]
16523         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16524         and prlimit64.
16526 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16528         [BZ #16849]
16529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16530         herrno to return EAI_AGAIN.
16532 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16534         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16535         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16536         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16537         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16538         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16539         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16540         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16541         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16542         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16543         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16544         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16545         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16546         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16547         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16548         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16549         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16550         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16551         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16552         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16553         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16554         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16555         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16556         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16557         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16558         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16559         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16560         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16561         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16563         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16565         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16567         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16569         Moved ...
16570         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16572         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16574         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16576         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16578         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16580         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16582         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16584         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16586         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16588         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16590         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16592         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16594         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16596         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16598         Moved ...
16599         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16601         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16602         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16603         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16604         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16605         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16607         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16609         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16611         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16613         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16615         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16617         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16619         Moved ...
16620         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16622         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16625         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16626         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16627         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16628         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16629         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16630         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16631         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16632         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16633         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16634         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16635         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16636         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16637         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16638         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16639         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16640         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16641         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16642         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16643         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16644         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16645         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16646         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16647         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16648         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16649         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16650         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16651         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16652         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16653         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16654         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16656         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16657         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16659         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16660         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16661         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16662         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16663         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16664         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16665         Moved ...
16666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16667         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16668         Moved ...
16669         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16671         Moved ...
16672         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16674         Moved ...
16675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16676         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16677         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16678         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16679         Moved ...
16680         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16681         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16682         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16683         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16684         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16685         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16686         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16688         Moved ...
16689         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16690         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16691         Moved ...
16692         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16693         ... here.
16694         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16695         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16696         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16697         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16699         Moved ...
16700         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16701         ... here.
16702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16705         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16706         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16707         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16708         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16709         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16710         Moved ...
16711         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16712         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16713         Moved ...
16714         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16716         Moved ...
16717         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16719         Moved ...
16720         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16721         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16722         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16723         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16724         Moved ...
16725         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16726         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16727         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16728         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16729         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16730         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16731         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16733         Moved ...
16734         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16735         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16736         Moved ...
16737         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16738         ... here.
16739         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16740         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16741         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16742         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16744         Moved ...
16745         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16746         ... here.
16747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16748         Moved ...
16749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16751         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16752         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16753         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16755         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16756         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16757         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16758         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16759         Moved ...
16760         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16762         Moved ...
16763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16765         Moved ...
16766         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16767         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16768         Moved ...
16769         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16770         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16771         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16772         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16773         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16774         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16775         Moved ...
16776         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16777         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16778         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16780         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16782         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16783         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16787         Moved ...
16788         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16789         ... here.
16790         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16791         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16793         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16795         Moved ...
16796         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16797         ... here.
16798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16799         Moved ...
16800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16801         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16802         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16803         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16804         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16805         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16806         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16807         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16808         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16809         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16810         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16812         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16813         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16815         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16816         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16818         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16819         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16820         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16821         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16822         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16823         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16824         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16825         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16826         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16827         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16828         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16829         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16830         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16831         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16832         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16834         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16836         Moved ...
16837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16839         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16843         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16844         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16845         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16846         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16850         Moved ...
16851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16853         Moved ...
16854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16856         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16860         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16861         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16862         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16863         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16864         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16865         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16866         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16867         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16868         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16869         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16870         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16872         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16873         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16874         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16875         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16876         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16878         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16879         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16880         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16881         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16882         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16883         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16884         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16885         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16886         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16887         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16890         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16892         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16893         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16894         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16895         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16896         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16897         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16898         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16899         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16900         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16901         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16902         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16903         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16904         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16905         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16907         Update #include.
16908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16909         Likewise.
16910         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16911         Likewise.
16912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16913         Likewise.
16914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16915         Likewise.
16916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16917         Likewise.
16918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16919         Likewise.
16920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16921         Likewise.
16922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16923         Likewise.
16924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16925         Likewise.
16926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16929         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16930         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16931         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16932         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16933         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16934         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16935         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16942         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16943         that was previously under [RESET_PID].
16944         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16945         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16946         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16948         * sysdeps/i386/nptl/Implies: New file.
16949         * sysdeps/x86_64/nptl/Implies: New file.
16950         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16951         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16952         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16953         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16955         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16956         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16957         (__libc_vfork): New strong alias.
16958         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16959         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16961         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16962         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16963         (__libc_vfork): New strong alias.
16964         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16965         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16967         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16968         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16969         (__libc_vfork): New strong alias.
16970         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16971         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16972         * nptl/pt-vfork.c: New file.
16973         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16974         (libpthread: GLIBC_2.20): New version set (empty).
16976 2014-05-14  Will Newton  <will.newton@linaro.org>
16978         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16979         rather than #if.
16981 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #16564]
16984         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16985         arguments with exponent 65 or above.
16986         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16987         arguments 0x1p113L or above.
16988         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16989         to arguments 0x1p107L or above.
16990         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16991         positive arguments with exponent 65 or above.
16992         * math/auto-libm-test-in: Add more tests of log1p.
16993         * math/auto-libm-test-out: Regenerated.
16995         [BZ #16928]
16996         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16997         non-finite arguments is +0.
16998         * math/s_cacosf.c (__cacosf): Likewise.
16999         * math/s_cacosl.c (__cacosl): Likewise.
17000         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
17001         * sysdeps/i386/fpu/libm-test-ulps: Update.
17002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17004         [BZ #16927]
17005         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
17006         value.
17007         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17008         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
17009         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
17010         for explicit high bit of mantissa when testing for argument equal
17011         to 1.
17012         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17013         * sysdeps/i386/fpu/libm-test-ulps: Update.
17014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17016         [BZ #16516]
17017         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17018         (__erf): Scale by 16 instead of 8 in potentially underflowing
17019         case.  Ensure exception if result actually underflows.
17020         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17021         (__erff): Scale by 16 instead of 8 in potentially underflowing
17022         case.  Ensure exception if result actually underflows.
17023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17024         (efx8): Remove variable.
17025         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17026         case.  Ensure exception if result actually underflows.
17027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17028         (efx8): Remove variable.
17029         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17030         case.  Ensure exception if result actually underflows.
17031         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17032         (efx8): Remove variable.
17033         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17034         case.  Ensure exception if result actually underflows.
17035         * math/auto-libm-test-in: Add more tests of erf.
17036         * math/auto-libm-test-out: Regenerated.
17038 2014-05-14  Andreas Schwab  <schwab@suse.de>
17040         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17041         Remove code conditionalized on USE___THREAD.
17043         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17044         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17045         not definedness.
17047 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17049         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17050         Define unconditionally.
17051         (__ASSUME_O_CLOEXEC): Likewise.
17052         (__ASSUME_SOCK_CLOEXEC): Likewise.
17053         (__ASSUME_IN_NONBLOCK): Likewise.
17054         (__ASSUME_PIPE2): Likewise.
17055         (__ASSUME_EVENTFD2): Likewise.
17056         (__ASSUME_SIGNALFD4): Likewise.
17057         (__ASSUME_DUP3): Likewise.
17058         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17059         (__ASSUME_DUP3): Do not define.
17060         (__ASSUME_EVENTFD2): Likewise.
17061         (__ASSUME_IN_NONBLOCK): Likewise.
17062         (__ASSUME_O_CLOEXEC): Likewise.
17063         (__ASSUME_PIPE2): Likewise.
17064         (__ASSUME_SIGNALFD4): Likewise.
17065         (__ASSUME_SOCK_CLOEXEC): Likewise.
17066         (__ASSUME_UTIMES): Undefine.
17067         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17068         (__ASSUME_UTIMES): Do not define.
17069         (__ASSUME_O_CLOEXEC): Likewise.
17070         (__ASSUME_SOCK_CLOEXEC): Likewise.
17071         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17072         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17073         0x020621].
17074         (__ASSUME_PIPE2): Likewise.
17075         (__ASSUME_EVENTFD2): Likewise.
17076         (__ASSUME_SIGNALFD4): Likewise.
17077         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17078         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17079         Do not define.
17080         (__ASSUME_EVENTFD2): Likewise.
17081         (__ASSUME_SIGNALFD4): Likewise.
17082         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17083         (__ASSUME_32BITUIDS): Likewise.
17084         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17085         (__ASSUME_IPC64): Likewise.
17086         (__ASSUME_ST_INO_64_BIT): Likewise.
17087         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17088         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17089         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17090         (__ASSUME_UTIMES): Do not define.
17091         (__ASSUME_PSELECT): Likewise.
17092         (__ASSUME_PPOLL): Likewise.
17093         (__ASSUME_O_CLOEXEC): Likewise.
17094         (__ASSUME_SOCK_CLOEXEC): Likewise.
17095         (__ASSUME_IN_NONBLOCK): Likewise.
17096         (__ASSUME_PIPE2): Likewise.
17097         (__ASSUME_EVENTFD2): Likewise.
17098         (__ASSUME_SIGNALFD4): Likewise.
17099         (__ASSUME_DUP3): Likewise.
17100         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17101         (__ASSUME_UTIMES): Likewise.
17102         (__ASSUME_O_CLOEXEC): Likewise.
17103         (__ASSUME_SOCK_CLOEXEC): Likewise.
17104         (__ASSUME_IN_NONBLOCK): Likewise.
17105         (__ASSUME_PIPE2): Likewise.
17106         (__ASSUME_EVENTFD2): Likewise.
17107         (__ASSUME_SIGNALFD4): Likewise.
17108         (__ASSUME_DUP3): Likewise.
17109         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17110         (__ASSUME_UTIMES): Likewise.
17111         (__ASSUME_O_CLOEXEC): Likewise.
17112         (__ASSUME_SOCK_CLOEXEC): Likewise.
17113         (__ASSUME_IN_NONBLOCK): Likewise.
17114         (__ASSUME_PIPE2): Likewise.
17115         (__ASSUME_EVENTFD2): Likewise.
17116         (__ASSUME_SIGNALFD4): Likewise.
17117         (__ASSUME_DUP3): Likewise.
17118         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17119         Likewise.
17120         (__ASSUME_UTIMES): Likewise.
17121         (__ASSUME_EVENTFD2): Likewise.
17122         (__ASSUME_SIGNALFD4): Likewise.
17123         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17124         (__ASSUME_O_CLOEXEC): Likewise.
17125         (__ASSUME_SOCK_CLOEXEC): Likewise.
17126         (__ASSUME_IN_NONBLOCK): Likewise.
17127         (__ASSUME_PIPE2): Likewise.
17128         (__ASSUME_EVENTFD2): Likewise.
17129         (__ASSUME_SIGNALFD4): Likewise.
17130         (__ASSUME_DUP3): Likewise.
17131         (__ASSUME_UTIMES): Undefine.
17133         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17134         feclearexcept.  Remove symbol versioning code.
17135         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17136         symbol versioning code.
17137         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17138         symbol versioning code.
17139         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17140         feupdateenv.  Remove symbol versioning code.
17141         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17142         fegetexceptflag.  Remove symbol versioning code.
17143         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17144         fesetexceptflag.  Remove symbol versioning code.
17145         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17146         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17147         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17148         (__posix_fadvise64_l32): Remove prototype.
17149         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17150         code.
17152 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17154         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17155         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17156         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17157         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17159 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17161         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17162         current working directory
17164 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17166         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17167         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17168         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17169         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17170         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17171         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17172         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17173         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17174         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17175         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17176         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17177         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17178         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17179         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17180         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17181         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17182         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17183         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17184         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17185         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17186         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17187         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17188         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17189         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17190         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17191         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17192         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17193         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17194         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17195         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17196         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17197         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17198         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17199         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17200         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17201         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17202         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17203         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17204         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17205         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17206         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17207         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17209         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17210         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17212         * sysdeps/unix/sysv/linux/arm/Makefile
17213         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17214         Add rt-aeabi_unwind_cpp_pr1.
17215         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17216         Add nptl-aeabi_unwind_cpp_pr1.
17217         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17218         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17219         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17220         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17221         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17222         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17224         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17225         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17226         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17227         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17229         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17230         Deconditionalize the code that was previously under [RESET_PID].
17231         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17233         * sysdeps/generic/exit-thread.h: New file.
17234         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17235         * include/unistd.h (__exit_thread): Remove declaration.
17236         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17237         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17238         * csu/libc-start.c: Include <exit-thread.h>.
17239         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17240         * nptl/pthread_create.c: Include <exit-thread.h>.
17241         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17242         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17243         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17244         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17245         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17246         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17247         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17248         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17249         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17250         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17251         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17252         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17253         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17254         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17255         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17256         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17257         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17259 2014-05-13  Andreas Schwab  <schwab@suse.de>
17261         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17263 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17265         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17266         (__ASSUME_UTIMES): Do not condition on kernel version.
17267         (__ASSUME_PSELECT): Define unconditionally.
17268         (__ASSUME_PPOLL): Likewise.
17269         (__ASSUME_ATFCTS): Likewise.
17270         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17271         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17272         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17273         (__ASSUME_UTIMENSAT): Define unconditionally.
17274         (__ASSUME_PRIVATE_FUTEX): Likewise.
17275         (__ASSUME_FALLOCATE): Likewise.
17276         (__ASSUME_O_CLOEXEC): Likewise.
17277         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17278         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17279         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17280         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17281         (__ASSUME_IN_NONBLOCK): Likewise.
17282         (__ASSUME_PIPE2): Likewise.
17283         (__ASSUME_EVENTFD2): Likewise.
17284         (__ASSUME_SIGNALFD4): Likewise.
17285         (__ASSUME_DUP3): Likewise.
17286         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17287         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17288         (__ASSUME_AT_RANDOM): Likewise.
17289         (__ASSUME_PREADV): Likewise.
17290         (__ASSUME_PWRITEV): Likewise.
17291         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17292         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17293         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17294         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17295         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17296         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17297         (__ASSUME_O_CLOEXEC): Define unconditionally.
17298         (__ASSUME_PSELECT): Do not undefine conditionally.
17299         (__ASSUME_PPOLL): Likewise.
17300         (__ASSUME_ATFCTS): Likewise.
17301         (__ASSUME_SET_ROBUST_LIST): Likewise.
17302         (__ASSUME_UTIMENSAT): Likewise.
17303         (__ASSUME_FDATASYNC): Define unconditionally.
17304         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17305         (__ASSUME_SIGFRAME_V2): Likewise.
17306         )__ASSUME_EVENTFD2): Likewise.
17307         (__ASSUME_SIGNALFD4): Likewise.
17308         (__ASSUME_PSELECT): Do not undefine conditionally.
17309         (__ASSUME_PPOLL): Likewise.
17310         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17311         (__ASSUME_PSELECT): Define unconditionally.
17312         (__ASSUME_PPOLL): Likewise.
17313         (__ASSUME_O_CLOEXEC): Likewise.
17314         (__ASSUME_SOCK_CLOEXEC): Likewise.
17315         (__ASSUME_IN_NONBLOCK): Likewise.
17316         (__ASSUME_PIPE2): Likewise.
17317         (__ASSUME_EVENTFD2): Likewise.
17318         (__ASSUME_SIGNALFD4): Likewise.
17319         (__ASSUME_DUP3): Likewise.
17320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17321         (__ASSUME_O_CLOEXEC): Likewise.
17322         (__ASSUME_SOCK_CLOEXEC): Likewise.
17323         (__ASSUME_IN_NONBLOCK): Likewise.
17324         (__ASSUME_PIPE2): Likewise.
17325         (__ASSUME_EVENTFD2): Likewise.
17326         (__ASSUME_SIGNALFD4): Likewise.
17327         (__ASSUME_DUP3): Likewise.
17328         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17329         (__ASSUME_EVENTFD2): Likewise.
17330         (__ASSUME_SIGNALFD4): Likewise.
17331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17333 2014-05-12  Andreas Schwab  <schwab@suse.de>
17335         [BZ #16932]
17336         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17337         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17338         than maximum RPC packet size.
17339         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17340         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17341         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17342         (_nss_nis_getservbyport_r): Likewise.
17344 2014-05-12  Will Newton  <will.newton@linaro.org>
17346         * malloc/Makefile (tests): Add tst-mallopt.
17347         * malloc/tst-mallopt.c: New file.
17349 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17351         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17352         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17354 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17356         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17357         (tst-tlsmod6.so): Likewise.
17359 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17361         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17363 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17365         [BZ #16064]
17366         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17367         and <dl-procinfo.h>.
17368         (__fegetenv): Save SSE state in envp->__eip if supported.
17369         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17370         envp->__eip if supported.
17371         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17372         and <dl-procinfo.h>.
17373         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17374         __data_offset and __data_selector in environment to 0.  Set SSE
17375         state if supported.
17376         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17377         test-fenv-sse.
17378         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17379         -mfpmath=sse.
17380         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17382 2014-05-09  Will Newton  <will.newton@linaro.org>
17384         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17385         and libc_relro_required for ARM.
17386         * sysdeps/arm/preconfigure: Regenerate.
17388 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17389             Stefan Liebler  <stli@linux.vnet.ibm.com>
17391         * config.make.in (enable-lock-elision): New Makefile variable.
17392         * configure.ac: Likewise.
17393         * configure: Regenerate.
17394         * sysdeps/s390/configure.ac:
17395         Add check for gcc transactions support.
17396         * sysdeps/s390/configure: Regenerate.
17397         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17398         Build elision files if enabled.
17399         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17400         Add lock elision support for s390.
17401         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17402         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17403         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17404         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17405         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17406         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17408         Likewise.
17409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17410         Likewise.
17411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17412         Likewise.
17413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17414         Likewise.
17415         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17416         (__lll_timedlock_elision, __lll_lock_elision)
17417         (__lll_unlock_elision, __lll_trylock_elision)
17418         (lll_timedlock_elision, lll_lock_elision)
17419         (lll_unlock_elision, lll_trylock_elision): Add.
17420         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17421         (pthread_mutex_t): Add lock elision support for s390.
17423 2014-05-14  Wilco  <wdijkstr@arm.com>
17425         * sysdeps/arm/fclrexcpt.c: Cleanup.
17426         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17427         * sysdeps/arm/feenablxcpt.c: Cleanup.
17428         * sysdeps/arm/fegetenv.c: Cleanup.
17429         * sysdeps/arm/fegetexcept.c: Cleanup.
17430         * sysdeps/arm/fegetround.c: Cleanup.
17431         * sysdeps/arm/feholdexcpt.c: Cleanup.
17432         * sysdeps/arm/fesetenv.c: Cleanup.
17433         * sysdeps/arm/fesetround.c: Cleanup.
17434         * sysdeps/arm/feupdateenv.c: Cleanup.
17435         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17436         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17437         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17438         * sysdeps/arm/ftestexcept.c: Cleanup.
17439         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17440         * sysdeps/arm/setfpucw.c: Cleanup.
17442 2014-05-09  Will Newton  <will.newton@linaro.org>
17444         * sysdeps/arm/armv7/strcmp.S: New file.
17445         * NEWS: Mention addition of ARMv7 optimized strcmp.
17447 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17449         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17450         look for %.ac rather than %.in.
17452         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17453         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17454         * sysdeps/mach/hurd/configure: Regenerated.
17455         * sysdeps/unix/sysv/linux/configure: Regenerated.
17457         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17459 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17461         [BZ# 16922]
17462         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17463         (LONG_SUB): Ditto.
17464         (PTR_SUB): Ditto.
17466 2014-05-07  Andreas Schwab  <schwab@suse.de>
17468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17469         when skipping over non-matching result from nscd.
17471 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17473         [BZ #16876]
17474         * nptl/sockperf.c (client): Check socket return value.
17476         [BZ #16877]
17477         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17478         nscd security class.
17480 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17482         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17483         * sysdeps/arm/unwind.h: ... here.
17485 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17487         [BZ# 16916]
17488         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17489         Define.
17491 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17493         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17494         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17495         multiarch strncpy for PPC64.
17496         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17497         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17499         multiarch optimizations.
17500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17501         (__libc_ifunc_impl_list): Likewise.
17502         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17503         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17504         multiarch stpncpy for PPC64.
17505         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17506         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17508 2014-05-06  Andreas Schwab  <schwab@suse.de>
17510         [BZ #16912]
17511         * gmon/mcount.c (_MCOUNT_DECL): Use
17512         atomic_compare_and_exchange_bool_acq instead of
17513         catomic_compare_and_exchange_bool_acq.
17515 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17517         * elf/Makefile (others, install-bin): Remove pldd.
17518         (pldd-modules): Variable removed.
17519         ($(objpfx)pldd): Target removed.
17520         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17521         (others, install-bin): Append pldd here.
17522         ($(objpfx)pldd): New target.
17524         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17525         to 0, so the first #if test emitted later doesn't see it undefined.
17526         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17527         * sysdeps/gnu/errlist.c: Regenerated.
17529 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17531         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17532         [libc_hidden_builtin_def]: Define to empty value.
17533         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17534         [libc_hidden_builtin_def]: Likewise.
17535         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17536         [libc_hidden_builtin_def]: Likewise.
17537         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17538         [libc_hidden_builtin_def]: Likewise.
17539         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17540         __redirect_memcpy and define ifunc as default hidden symbol.
17541         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17542         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17544 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17546         * locale/iso-4217.def: Reintroduce XDR currency.
17548 2014-05-04  Allan McRae  <allan@archlinux.org>
17550         * po/eo.po: Update Esperanto translation from translation project.
17552 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17554         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17555         and FEATURE_INDEX_MAX to 1.
17556         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17558 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17560         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17561         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17562         * iconvdata/big5.c (ONE_DIRECTION): Define.
17563         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17564         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17565         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17566         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17567         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17568         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17569         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17570         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17571         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17572         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17573         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17574         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17575         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17576         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17577         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17578         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17579         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17580         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17581         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17582         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17583         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17584         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17585         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17586         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17587         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17588         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17589         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17590         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17591         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17592         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17593         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17594         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17595         * iconvdata/johab.c (ONE_DIRECTION): Define.
17596         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17597         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17598         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17599         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17600         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17601         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17602         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17603         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17604         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17605         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17607 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17609         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17610         (_IO_JUMPS_OFFSET): Define to 0.
17612         * nptl/sysdeps/pthread/bits/libc-lock.h
17613         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17614         (__libc_lock_define_initialized_recursive): Always define using
17615         initializer.  Modern compilers treat uninitialized (implicit zero) and
17616         explicit zero initializers the same (i.e. put the datum in bss).
17618 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17620         * nscd/nscd-client.h: Include <string.h>.
17622 2014-05-01  David S. Miller  <davem@davemloft.net>
17624         [BZ #16885]
17625         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17626         multiple zero bytes exist at the end of a string.
17627         Reported by Aurelien Jarno <aurelien@aurel32.net>
17629         * string/test-strcmp.c (check): Add explicit test for situations where
17630         there are multiple zero bytes after the first.
17632 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17634         [BZ #16890]
17635         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17636         when compiling wprintf.
17637         * stdio-common/tstdiomisc.c (t3): New function.
17638         (main): Call it.
17640 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17642         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17643         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17644         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17645         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17647 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17649         * stdlib/longlong.h: Updated from GCC.
17651 2014-05-01  Will Newton  <will.newton@linaro.org>
17652             Bernard Ogden  <bernie.ogden@linaro.org>
17654         * NEWS: Update fixed bug list.
17656         [BZ #15119]
17657         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17659 2014-04-30  David S. Miller  <davem@davemloft.net>
17661         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17662         (libc_feholdexcept_setround_sparc_ctx): New function.
17663         (libc_fesetenv_sparc_ctx): Likewise.
17664         (libc_feupdateenv_sparc_ctx): Likewise.
17665         (libc_feholdsetround_sparc_ctx): Likewise.
17666         (libc_feholdexcept_setround_ctx): Define.
17667         (libc_feholdexcept_setroundf_ctx): Likewise.
17668         (libc_feholdexcept_setroundl_ctx): Likewise.
17669         (libc_fesetenv_ctx): Likewise.
17670         (libc_fesetenvf_ctx): Likewise.
17671         (libc_fesetenvl_ctx): Likewise.
17672         (libc_feupdateenv_ctx): Likewise.
17673         (libc_feupdateenvf_ctx): Likewise.
17674         (libc_feupdateenvl_ctx): Likewise.
17675         (libc_feresetround_ctx): Likewise.
17676         (libc_feresetroundf_ctx): Likewise.
17677         (libc_feresetroundl_ctx): Likewise.
17678         (libc_feholdsetround_ctx): Likewise.
17679         (libc_feholdsetroundf_ctx): Likewise.
17680         (libc_feholdsetroundl_ctx): Likewise.
17682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17683         with __USE_GNU instead of XOPEN cpp guards.
17685         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17686         0.
17688         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17689         with XOPEN cpp guards.
17691 2014-04-30  Julian Brown  <julian@codesourcery.com>
17693         [BZ #16888]
17694         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17695         handling.
17697 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17699         [BZ #9894]
17700         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17701         Change to 2.6.32.
17702         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17703         * sysdeps/unix/sysv/linux/configure: Regenerated.
17704         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17705         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17706         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17707         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17708         * README: Update reference to required Linux kernel version.
17709         * manual/install.texi (Linux): Update reference to required Linux
17710         kernel headers version.
17711         * INSTALL: Regenerated.
17713         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17714         header inclusion.
17715         [POSIX] (limits.h): Likewise.
17716         [POSIX] (math.h): Likewise.
17717         [POSIX] (sys/wait.h): Likewise.
17718         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17719         function.
17720         [POSIX] (stddef.h): Do not allow header inclusion.
17722 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17724         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17726 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17728         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17729         Return immediately after lll_futex_wake.
17731 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17733         [BZ #16791]
17734         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17735         structure.
17736         (datahead_init_pos): Call datahead_init_common early.
17737         (datahead_init_neg): Likewise.
17739         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17740         datahead_init_neg): New functions.
17741         * nscd/aicache.c (addhstaiX): Use them.
17742         * nscd/grpcache.c (cache_addgr): Likewise.
17743         * nscd/hstcache.c (cache_addhst): Likewise.
17744         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17745         * nscd/netgroupcache.c (do_notfound): Likewise.
17746         (addgetnetgrentX): Likewise.
17747         (addinnetgrX): Likewise.
17748         * nscd/pwdcache.c (cache_addpw): Likewise.
17749         * nscd/servicescache.c (cache_addserv): Likewise.
17751 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17752             Atsushi Onoe  <atsushi@onoe.org>
17754         [BZ #14308]
17755         [BZ #12994]
17756         [BZ #13651]
17757         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17758         one response is valid.
17759         * resolv/res_send.c (send_dg): Check for validity of other
17760         response if the current response is a referral.
17762 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17764         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17766 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17768         [BZ #16823]
17769         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17770         Always divide by positive zero when computing -Inf result.
17771         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17772         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17774 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17776         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17777         FPSCR if value do not change.
17778         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17779         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17780         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17781         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17782         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17783         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17784         function.
17786 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17788         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17789         * sysdeps/unix/sysv/linux/hppa: Move directory from
17790         ports/systeps/unix/sysv/linux/hppa.
17791         * README: Update listing for hppa-*-linux-gnu.
17793 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17795         [BZ #16754]
17796         * manual/stdio.texi (Hook functions): Fix types of stream hook
17797         functions.
17798         [BZ #16854]
17799         * socket/sys/socket.h: Fix typo in comment.
17801 2014-04-28  Wilco  <wdijkstr@arm.com>
17803         * sysdeps/arm/fenv_private.h: New file.
17804         * sysdeps/arm/math_private.h: New file.
17805         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17807 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17809         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17810         with __int128_t.
17811         (La_x86_64_retval): Likewise.
17813 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17815         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17816         fpsr if value didn't change.
17817         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17818         to fpcr if value didn't change.
17819         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17820         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17821         fpsr or fpcr if value didn't change.
17822         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17823         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17824         fpcr if value didn't change.
17825         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17826         to fpsr if value didn't change.
17828 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17830         * nptl/tst-sem3.c: Use test-skeleton.c
17831         (main): Rename to do_test.  Use return instead of
17832         exit.
17833         * nptl/tst-sem4.c: Use test-skeleton.c
17834         (main): Rename to do_test.
17836 2014-04-22  David S. Miller  <davem@davemloft.net>
17838         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17839         (struct sigaction): New struct member __glibc_reserved0, change
17840         type of sa_flags to int.
17842 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17844         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17845         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17847 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17849         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17850         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17852 2014-04-22  Will Newton  <will.newton@linaro.org>
17853             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17855         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17856         (__longjmp): Add longjmp and longjmp_target SystemTap
17857         probes.
17858         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17859         (__sigsetjmp): Add setjmp SystemTap probe.
17861 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17863         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17864         match manual order.
17866 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17868         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17870         * sysdeps/powerpc/fpu/fenv_private.h
17871         (libc_feholdexcept_setroundl_ctx): Define to
17872         libc_feholdexcept_setround_ppc_ctx.
17873         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17874         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17875         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17876         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17878 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17880         * sysdeps/aarch64/math-tests.h: New file.
17882 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17884         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17885         New.
17886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17887         Check and set bit_AVX2_Usable.
17888         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17889         macro.
17890         (bit_AVX2): Likewise.
17891         (index_AVX2_Usable): Likewise.
17892         (CPUID_AVX2): Likewise.
17893         (HAS_AVX2): Likewise.
17895 2014-04-17  Will Newton  <will.newton@linaro.org>
17897         * manual/setjmp.texi (System V contexts): Add note that
17898         calling setcontext on a context created by a call to a
17899         signal handler is undefined.  Update text to note that
17900         setcontext from a signal handler is possible but not
17901         recommended.
17903         [BZ #16629]
17904         * stdlib/tst-setcontext.c: Include signal.h.
17905         (main): Check that the signal stack before and
17906         after swapcontext is the same.
17908         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17909         Re-implement to restore registers in user code and avoid
17910         rt_sigreturn system call.
17912 2014-04-17  Wilco  <wdijkstr@arm.com>
17914         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17915         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17916         * math/test-fenv.c: Skip exception trap tests on targets which only
17917         support non-stop mode.
17919 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17920             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17922         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17923         (libc_feholdsetround_aarch64_ctx)
17924         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17925         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17926         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17927         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17928         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17929         (libc_feresetround_noexl_ctx): Define.
17931 2014-04-16  Richard Henderson  <rth@redhat.com>
17933         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17935         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17936         unwind tables.
17938         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17939         const from the non-libc, non-ldso copy.
17941         * sysdeps/alpha/libm-test-ulps: Regenerate.
17943 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17944             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17946         * sysdeps/aarch64/fpu/math_private.h: New file.
17948 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17950         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17952 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17954         [BZ #16275]
17955         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17956         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17958         Intel MPX bound registers before _dl_profile_fixup.
17959         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17960         registers after _dl_profile_fixup.  Save and restore bound
17961         registers bnd0/bnd1 when calling _dl_call_pltexit.
17962         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17963         (LR_BND_OFFSET): Likewise.
17964         (LRV_BND0_OFFSET): Likewise.
17965         (LRV_BND1_OFFSET): Likewise.
17967 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17969         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17970         to...
17971         * sysdeps/mach/hurd/i386/tls.h: ... here.
17972         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17973         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17974         fields.
17976 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17978         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17980 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17982         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17984 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17986         [BZ #14770]
17987         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17988         * sysdeps/s390/configure: Regenerate.
17990         [BZ #16824]
17991         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17992         Set round-to-nearest internally to reduce error accumulation.
17994 2014-04-16  Alan Modra  <amodra@gmail.com>
17996         [BZ #16740]
17997         [BZ #16619]
17998         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17999         * math/libm-test.inc (frexp_test_data): Add tests.
18000         * NEWS: Update fixed bug list.
18002 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18004         * benchtests/Makefile: Depend on libraries in build directory.
18005         (bench-math): Separate out math tests.
18006         (bench-pthread): Separate out pthread tests.
18007         (bench): Include math and pthread tests.
18009 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
18011         [BZ #16831]
18012         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18013         _dl_debug_initialize.
18015         * configure.ac: Remove SELinux header check.
18016         * configure: Regenerate.
18017         * nscd/selinux.c (perms): Array of const char* to permission names.
18018         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18019         default policy. Call string_to_security_class and string_to_av_perm to
18020         translate strings. Enforce default policy and call avs_has_perm with
18021         results of translated strings.
18023 2014-04-13  David S. Miller  <davem@davemloft.net>
18025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18027 2014-04-12  Allan McRae  <allan@archlinux.org>
18029         [BZ #16838]
18030         * manual/string.texi (Collation Functions): Fix qsort argument
18031         order in example.
18032         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18034 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18036         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18037         Make the test a no-op if there are no exceptions defined.
18039 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18041         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18042         enable-hardcoded-path-in-tests
18044 2014-04-11  Will Newton  <will.newton@linaro.org>
18046         * benchtests/Makefile (extra-objs): Add json-lib.o.
18047         (bench-func): Tidy up JSON output.
18048         * benchtests/bench-skeleton.c: Include json-lib.h.
18049         (main): Use JSON library functions to do output of
18050         benchmark results.
18051         * benchtests/bench-timing-type.c (main): Output the
18052         timing type simply, leaving formatting to the user.
18053         * benchtests/json-lib.c: New file.
18054         * benchtests/json-lib.h: Likewise.
18056 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18058         [BZ #15215]
18059         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18060         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18061         memory barriers.  Add comments.
18062         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18063         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18064         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18065         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18066         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18067         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18069 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18071         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18072         * sysdeps/s390/s390-64/configure.ac: ... this ...
18073         * sysdeps/s390/configure.ac: ... to here.
18074         * sysdeps/s390/s390-32/configure: Delete file.
18075         * sysdeps/s390/s390-64/configure: Delete file.
18076         * sysdeps/s390/configure: Regenerate.
18078 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18080         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18082 2014-04-11  Will Newton  <will.newton@linaro.org>
18084         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18085         to zero if it is not defined elsewhere.  (mtrim): Test
18086         the value of MALLOC_DEBUG with #if rather than #ifdef.
18088 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18090         * benchtests/pthread_once-inputs: New file.
18091         * benchtests/pthread_once-source.c: New file.
18092         * benchtests/README: Update documentation.
18094 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18095             H.J. Lu  <hongjiu.lu@intel.com>
18097         [BZ #16275]
18098         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18099         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18100         * sysdeps/x86_64/configure: Regenerated.
18101         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18102         macro.
18103         (REGISTER_SAVE_RAX): Likewise.
18104         (REGISTER_SAVE_RCX): Likewise.
18105         (REGISTER_SAVE_RDX): Likewise.
18106         (REGISTER_SAVE_RSI): Likewise.
18107         (REGISTER_SAVE_RDI): Likewise.
18108         (REGISTER_SAVE_R8): Likewise.
18109         (REGISTER_SAVE_R9): Likewise.
18110         (REGISTER_SAVE_BND0): Likewise.
18111         (REGISTER_SAVE_BND1): Likewise.
18112         (REGISTER_SAVE_BND2): Likewise.
18113         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18114         bound registers when calling _dl_fixup.
18116 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18118         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18119         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18120         of its definition.
18121         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18122         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18123         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18124         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18125         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18126         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18127         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18129 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18131         [BZ #15514]
18132         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18133         pathconf(_PC_NAME_MAX).
18135 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18137         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18138         Remove macro usage.
18139         (__PTHREAD_SPINS): Move definition to ...
18140         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18141         (__PTHREAD_SPINS): ... here.
18142         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18143         (__PTHREAD_SPIN): Likewise.
18144         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18145         (__PTHREAD_SPIN): Likewise.
18146         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18147         (__PTHREAD_SPIN): Likewise.
18148         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18149         (__PTHREAD_SPIN): Likewise.
18150         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18151         (__PTHREAD_SPIN): Likewise.
18152         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18153         (__PTHREAD_SPIN): Likewise.
18154         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18155         (__PTHREAD_SPIN): Likewise.
18156         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18157         (__PTHREAD_SPIN): Likewise.
18158         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18159         (__PTHREAD_SPIN): Likewise.
18160         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18161         (__PTHREAD_SPIN): Likewise.
18162         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18163         (__PTHREAD_SPIN): Likewise.
18164         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18165         (__PTHREAD_SPIN): Likewise.
18167         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18168         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18169         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18170         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18171         imply folder.
18172         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18173         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18174         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18175         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18176         correct imply path.
18177         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18178         strlen symbol for non multi-arch builds.
18179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18180         missing hidden_def and weak_alias.
18182 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18184         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18186 2014-04-07  Will Newton  <will.newton@linaro.org>
18188         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18189         and contents.  [!_LIBC] Remove #ifndef and contents.
18190         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18191         * string/memccpy.c (__memccpy): Use ANSI prototype.
18192         * string/memfrob.c (memfrob): Likewise.
18193         * string/strcoll.c (STRCOLL): Likewise.
18194         * string/strlen.c (strlen): Likewise.
18195         * string/strtok.c (STRTOK): Likewise.
18196         * string/strcat.c: Remove unused #include of memcopy.h.
18197         (strcat): Use ANSI prototype.
18198         * string/strchr.c: Remove unused #include of memcopy.h.
18199         (strchr): Use ANSI prototype.
18200         * string/strcmp.c: Remove unused #include of memcopy.h.
18201         (strcmp): Use ANSI prototype.
18202         * string/strcpy.c: Remove unused #include of memcopy.h.
18203         (strcpy): Use ANSI prototype.
18205 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18207         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18208         * config.make.in (config-extra-cppflags): Set it from
18209         libc_extra_cppflags.
18210         * configure.ac (libc_extra_cflags): Make it accumulate over
18211         configure fragments.
18212         (libc_extra_cppflags): New flag.
18213         * configure. Regenerate.
18214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18215         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18216         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18219         [BZ #16815]
18220         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18221         result for FE_DOWNWARD rounding mode.
18222         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18223         Likewise.
18224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18226 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18228         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18229         in function argument name.
18231 2014-04-03  David Svoboda  <svoboda@cert.org>
18233         [BZ #5666]
18234         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18235         explicitly.
18237 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18239         * elf/dl-unmap-segments.h: New file.
18240         * sysdeps/generic/ldsodefs.h
18241         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18242         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18243         * elf/dl-fptr.c: Likewise.
18244         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18245         * sysdeps/aarch64/tlsdesc.c: Likewise.
18246         * sysdeps/arm/tlsdesc.c: Likewise.
18247         * sysdeps/i386/tlsdesc.c: Likewise.
18248         * sysdeps/tile/dl-runtime.c: Likewise.
18249         * sysdeps/x86_64/tlsdesc.c: Likewise.
18250         * elf/dl-load.h: New file.
18251         * elf/dl-load.c: Include it.
18252         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18253         Macros moved to dl-load.h.
18254         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18255         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18256         Use _dl_unmap_segments in place of __munmap.
18257         Break out segment-mapping loop into ...
18258         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18260 2014-04-03  Will Newton  <will.newton@linaro.org>
18262         * elf/dl-lookup.c (do_lookup_x): Remove comment
18263         referring to nested function and move variable
18264         declarations down to before first use.
18266 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18268         [BZ #16799]
18269         [BZ #16800]
18270         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18271         with 0 numerator.
18272         * math/s_catanf.c (__catanf): Likewise.
18273         * math/s_catanh.c (__catanh): Likewise.
18274         * math/s_catanhf.c (__catanhf): Likewise.
18275         * math/s_catanhl.c (__catanhl): Likewise.
18276         * math/s_catanl.c (__catanl): Likewise.
18277         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18278         by positive zero when computing -Inf result.
18279         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18280         (catanh_test): Likewise.
18281         * sysdeps/i386/fpu/libm-test-ulps: Update.
18282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18284         [BZ #16789]
18285         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18286         instead of using underflowing value in computing result.
18287         * math/s_clog10.c (__clog10): Likewise.
18288         * math/s_clog10f.c (__clog10f): Likewise.
18289         * math/s_clog10l.c (__clog10l): Likewise.
18290         * math/s_clogf.c (__clogf): Likewise.
18291         * math/s_clogl.c (__clogl): Likewise.
18292         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18293         (clog10_test): Likewise.
18294         * sysdeps/i386/fpu/libm-test-ulps: Update.
18295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18297 2014-04-02  Alan Modra  <amodra@gmail.com>
18299         [BZ #16739]
18300         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18301         output when value is near a power of two.  Use int64_t for lx and
18302         remove casts.  Use decimal rather than hex exponent constants.
18303         Don't use long double multiplication when double will suffice.
18304         * math/libm-test.inc (nextafter_test_data): Add tests.
18305         * NEWS: Add 16739 and 16786 to bug list.
18307         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18309         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18311 2014-04-01  Will Newton  <will.newton@linaro.org>
18313         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18314         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18316 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18318         [BZ #13347]
18319         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18320         * nptl/tst-setuid2.c: New file.
18321         * nptl/Makefile (xtests): Add tst-setuid2.
18323 2014-04-01  Alan Modra  <amodra@gmail.com>
18325         [BZ #16786]
18326         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18328 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18330         [BZ #6803]
18331         [BZ #6804]
18332         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18333         set errno as appropriate.
18334         * math/w_scalbf.c (__scalbf): Likewise.
18335         * math/w_scalbl.c (__scalbl): Likewise.
18336         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18337         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18338         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18339         Add more NaN tests.
18341         [BZ #16349]
18342         * math/w_atan2.c: Include <errno.h>.
18343         (__atan2): Set errno for result underflowing to zero.
18344         * math/w_atan2f.c: Include <errno.h>.
18345         (__atan2f): Set errno for result underflowing to zero.
18346         * math/w_atan2l.c: Include <errno.h>.
18347         (__atan2l): Set errno for result underflowing to zero.
18348         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18349         tests.
18350         * math/auto-libm-test-out: Regenerated.
18352 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18354         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18355         Encode instruction correctly in little endian.
18356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18357         Likewise.
18358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18359         Likewise.
18360         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18361         Likewise.
18362         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18363         Likewise.
18365 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18367         [BZ #9894]
18368         * sysdeps/unix/sysv/linux/kernel-features.h
18369         [__sparc__ && !__arch64__ && !__sparc_v9__]
18370         (__ASSUME_SET_ROBUST_LIST): Do not define.
18371         [__sparc__ && !__arch64__ && !__sparc_v9__]
18372         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18373         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18374         Likewise.
18375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18376         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18377         (__ASSUME_REQUEUE_PI): Likewise.
18378         (__ASSUME_SET_ROBUST_LIST): Likewise.
18379         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18380         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18381         Undefine.
18382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18383         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18384         Likewise.
18385         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18386         Likewise.
18387         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18388         Likewise.
18389         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18390         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18391         Undefine.
18392         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18393         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18394         Likewise.
18396         [BZ #16648]
18397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18398         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18399         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18401 2014-03-31  Will Newton  <will.newton@linaro.org>
18403         * benchtests/Makefile (bench): Add ffs and ffsll to list
18404         of tests.
18405         * benchtests/ffs-inputs: New file.
18406         * benchtests/ffsll-inputs: Likewise.
18408 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18410         [BZ #16770]
18411         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18412         too large before casting to int.
18413         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18414         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18415         * math/libm-test.inc (scalb_test_data): Add more tests.
18417 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18419         * benchtests/Makefile (DETAILED_OPT): New make option.
18420         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18421         set.
18422         * benchtests/bench-skeleton.c: Include stdbool.h.
18423         (main): Store and print timings per input.
18424         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18425         member to each argument value.
18426         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18427         (_print_arg_data): Initialize per-input timing to 0.
18429         * benchtests/Makefile (timing-type): New binary.
18430         (bench-clean): Also remove bench-timing-type.
18431         (bench): New target for timing-type.
18432         (bench-func): Print output in JSON format.
18433         * benchtests/bench-skeleton.c (main): Print output in JSON
18434         format.
18435         * benchtests/bench-timing-type.c: New file.
18436         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18437         (TIMING_PRINT_STATS): Remove.
18438         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18439         name separately.
18441         * benchtests/bench-modf.c: Remove.
18442         * benchtests/modf-inputs: New inputs file.
18444 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18446         [BZ #16362]
18447         * math/s_clog10.c (M_PI_LOG10E): New macro.
18448         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18449         imaginary parts are 0.
18450         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18451         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18452         imaginary parts are 0.
18453         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18454         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18455         imaginary parts are 0.
18456         * math/libm-test.inc (clog10_test_data): Update expected results
18457         for when real and imaginary parts are 0.
18459 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18461         * elf/dl-load.c: Finish conversion of __builtin_expect into
18462         __glibc_{un}likely.
18464 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18466         [BZ #16348]
18467         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18468         1+x for argument with exponent below -67.
18469         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18470         Likewise.
18471         * math/auto-libm-test-in: Add more tests of exp.
18472         * math/auto-libm-test-out: Regenerated.
18474 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18476         [BZ #16759]
18477         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18478         (nscd_getnetgrent): Use it.
18480         [BZ #16760]
18481         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18482         of stpcpy.
18484 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18486         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18487         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18488         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18489         (lll_robust_unlock): Remove out of line section. Use cfi
18490         intrinsics.
18491         (LLL_STUB_UNWIND_INFO*): Remove.
18492         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18493         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18494         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18495         (lll_robust_unlock): Remove out of line section. Use cfi
18496         intrinsics.
18497         (LLL_STUB_UNWIND_INFO*): Remove.
18499 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18501         [BZ #16758]
18502         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18503         blank values.
18505 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18507         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18509 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18511         [BZ #16198]
18512         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18513         fnstenv.
18514         * math/test-fenv-preserve.c: New file.
18515         * math/Makefile (tests): Add test-fenv-preserve.
18517 2014-03-26  Will Newton <will.newton@linaro.org>
18519         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18521 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18523         * scripts/versionlist.awk: Partition the version sets and emit all
18524         GLIBC_* (sorted) before all others (sorted).
18526 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18528         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18529         GLIBC_2.2.5 version.
18531 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18533         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18534         calls.
18536         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18537         previous change.
18539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18541 2014-03-25  Andreas Schwab  <schwab@suse.de>
18543         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18544         label to be used after in6ailist is initialized.
18546 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18548         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18549         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18551 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18553         [BZ #16357]
18554         [BZ #16599]
18555         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18556         min_plus_half.
18557         (fp_formats): Update initializers.
18558         (init_fp_formats): Initialize new field.
18559         (output_for_one_input_case): Allow underflow for results up to
18560         min_plus_half.
18561         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18562         * math/auto-libm-test-in: Don't mark some underflows from asin and
18563         atanh as spurious.
18564         * math/auto-libm-test-out: Regenerated.
18565         * sysdeps/i386/fpu/libm-test-ulps: Update.
18566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18568 2014-03-25  Andreas Schwab  <schwab@suse.de>
18570         * libio/Makefile (tst-ftell-partial-wide-ENV)
18571         (tst-ftell-active-handler-ENV): Define.
18573 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18575         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18577 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18579         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18581 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18583         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18584         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18585         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18587 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18589         [BZ #16634]
18590         * elf/dl-load.c (open_verify): Add mode parameter.
18591         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18592         (open_path): Change from boolean 'secure' to complete flag 'mode'
18593         (_dl_map_object): Adjust.
18594         * elf/Makefile (tests): Add tst-dlopen-aout.
18595         * elf/tst-dlopen-aout.c: New test.
18597 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18599         [BZ #16714]
18600         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18601         (struct stat): Rename member pad0 to __glibc_reserved0.
18603         [BZ #16712]
18604         * sysdeps/s390/s390-32/bits/wordsize.h
18605         (__WORDSIZE32_SIZE_ULONG): New define.
18606         * sysdeps/s390/s390-64/bits/wordsize.h
18607         (__WORDSIZE32_SIZE_ULONG): Likewise.
18608         * sysdeps/generic/stdint.h (SIZE_MAX):
18609         Define as UL if __WORDSIZE32_SIZE_ULONG.
18611         [BZ #16713]
18612         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18613         (__glibc_reserved0): New variable.
18614         (sa_flags): Change type to int.
18616         * posix/Makefile (before-compile): Use += before-compile instead
18617         of a :=.
18619         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18620         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18622 2014-03-20  Andreas Schwab  <schwab@suse.de>
18624         [BZ #16743]
18625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18626         non-matching result from nscd.
18628 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18630         * scripts/bench.py: Moved to ...
18631         * benchtests/scripts/bench.py: ... here.
18632         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18634 2014-03-24  Andreas Schwab  <schwab@suse.de>
18636         [BZ #16002]
18637         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18638         alloca_account and account alloca use for struct in6ailist.
18640 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18642         [BZ #16284]
18643         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18644         rounding mode to recompute results that overflow to infinity or
18645         underflow to zero.
18646         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18647         bug 16284.
18648         * math/auto-libm-test-out: Regenerated.
18649         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18650         (ccosh_test): Likewise.
18651         (csin_test_data): Use plus_oflow.
18652         (csin_test): Use ALL_RM_TEST.
18653         (csinh_test_data): Use plus_oflow.
18654         (csinh_test): Use ALL_RM_TEST.
18655         * sysdeps/i386/fpu/libm-test-ulps: Update.
18656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18658 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18660         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18661         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18662         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18664         [BZ #16731]
18665         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18666         when x - 1 is zero.
18667         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18668         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18669         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18670         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18671         argument is 1.
18672         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18673         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18674         zero.
18675         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18676         * sysdeps/i386/fpu/libm-test-ulps: Update.
18677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18679 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18681         * scripts/bench.pl: Remove file.
18682         * scripts/bench.py: New benchmark script.
18683         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18684         * benchtests/README: Mention python dependency.
18685         * scripts/pylintrc: New file.
18686         * scripts/pylint: New file.
18688         * bits/mathdef.h: Use #ifdef instead of #if.
18689         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18690         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18691         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18692         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18693         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18694         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18696 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18697             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18699         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18701         and strpbrk-ppc64 objects.
18702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18703         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18704         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18705         multiarch strpbrk for POWER7.
18706         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18707         multiarch strpbrk for PPC64.
18708         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18709         ifunc selector.
18710         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18711         strpbrk for POWER7.
18713 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18715         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18716         (atan_test): Likewise.
18717         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18718         (atanh_test): Use ALL_RM_TEST.
18719         (atan2_test_data): Likewise.
18720         (cabs_test): Likewise.
18721         (cacosh_test): Likewise.
18722         (carg_test): Likewise.
18723         (casin_test): Likewise.
18724         (casinh_test): Likewise.
18725         (cbrt_test): Likewise.
18726         (csqrt_test): Likewise.
18727         (erf_test): Likewise.
18728         (erfc_test): Likewise.
18729         (pow10_test): Likewise.
18730         (exp2_test): Likewise.
18731         (hypot_test): Likewise.
18732         (j0_test): Likewise.
18733         (j1_test): Likewise.
18734         (lgamma_test): Likewise.
18735         (gamma_test): Likewise.
18736         (sincos_test): Likewise.
18737         (tanh_test): Likewise.
18738         (y0_test): Likewise.
18739         (y1_test): Likewise.
18740         * sysdeps/i386/fpu/libm-test-ulps: Update.
18741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18743 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18745         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18747         and strcspn-ppc64 objects.
18748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18749         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18750         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18751         multiarch strcspn for POWER7.
18752         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18753         multiarch strcspn for PPC64.
18754         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18755         ifunc selector.
18756         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18757         strcspn for POWER7.
18759 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18761         * math/gen-libm-test.pl (generate_testfile): Expect only function
18762         name as argument to AUTO_TESTS_* and pass results for all rounding
18763         modes to parse_args.
18764         (parse_auto_input): Separate inputs of automatic tests from
18765         outputs before storing in %auto_tests.
18766         * math/libm-test.inc (acos_test_data): Update call to
18767         AUTO_TESTS_f_f.
18768         (acos_test): Use ALL_RM_TEST.
18769         (acos_tonearest_test_data): Remove.
18770         (acos_test_tonearest): Likewise.
18771         (acos_towardzero_test_data): Likewise.
18772         (acos_test_towardzero): Likewise.
18773         (acos_downward_test_data): Likewise.
18774         (acos_test_downward): Likewise.
18775         (acos_upward_test_data): Likewise.
18776         (acos_test_upward): Likewise.
18777         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18778         (asin_test_data): Likewise.
18779         (asin_test): Use ALL_RM_TEST.
18780         (asin_tonearest_test_data): Remove.
18781         (asin_test_tonearest): Likewise.
18782         (asin_towardzero_test_data): Likewise.
18783         (asin_test_towardzero): Likewise.
18784         (asin_downward_test_data): Likewise.
18785         (asin_test_downward): Likewise.
18786         (asin_upward_test_data): Likewise.
18787         (asin_test_upward): Likewise.
18788         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18789         (atan_test_data): Likewise.
18790         (atanh_test_data): Likewise.
18791         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18792         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18793         (carg_test_data): Likewise.
18794         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18795         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18796         (ccosh_test_data): Likewise.
18797         (cexp_test_data): Likewise.
18798         (clog_test_data): Likewise.
18799         (clog10_test_data): Likewise.
18800         (cos_test_data): Update call to AUTO_TESTS_f_f.
18801         (cos_test): Use ALL_RM_TEST.
18802         (cos_tonearest_test_data): Remove.
18803         (cos_test_tonearest): Likewise.
18804         (cos_towardzero_test_data): Likewise.
18805         (cos_test_towardzero): Likewise.
18806         (cos_downward_test_data): Likewise.
18807         (cos_test_downward): Likewise.
18808         (cos_upward_test_data): Likewise.
18809         (cos_test_upward): Likewise.
18810         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18811         (cosh_test): Use ALL_RM_TEST.
18812         (cosh_tonearest_test_data): Remove.
18813         (cosh_test_tonearest): Likewise.
18814         (cosh_towardzero_test_data): Likewise.
18815         (cosh_test_towardzero): Likewise.
18816         (cosh_downward_test_data): Likewise.
18817         (cosh_test_downward): Likewise.
18818         (cosh_upward_test_data): Likewise.
18819         (cosh_test_upward): Likewise.
18820         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18821         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18822         (ctan_test_data): Likewise.
18823         (ctan_test): Use ALL_RM_TEST.
18824         (ctan_tonearest_test_data): Remove.
18825         (ctan_test_tonearest): Likewise.
18826         (ctan_towardzero_test_data): Likewise.
18827         (ctan_test_towardzero): Likewise.
18828         (ctan_downward_test_data): Likewise.
18829         (ctan_test_downward): Likewise.
18830         (ctan_upward_test_data): Likewise.
18831         (ctan_test_upward): Likewise.
18832         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18833         (ctanh_test): Use ALL_RM_TEST.
18834         (ctanh_tonearest_test_data): Remove.
18835         (ctanh_test_tonearest): Likewise.
18836         (ctanh_towardzero_test_data): Likewise.
18837         (ctanh_test_towardzero): Likewise.
18838         (ctanh_downward_test_data): Likewise.
18839         (ctanh_test_downward): Likewise.
18840         (ctanh_upward_test_data): Likewise.
18841         (ctanh_test_upward): Likewise.
18842         (erf_test_data): Update call to AUTO_TESTS_f_f.
18843         (erfc_test_data): Likewise.
18844         (exp_test_data): Likewise.
18845         (exp_test): Use ALL_RM_TEST.
18846         (exp_tonearest_test_data): Remove.
18847         (exp_test_tonearest): Likewise.
18848         (exp_towardzero_test_data): Likewise.
18849         (exp_test_towardzero): Likewise.
18850         (exp_downward_test_data): Likewise.
18851         (exp_test_downward): Likewise.
18852         (exp_upward_test_data): Likewise.
18853         (exp_test_upward): Likewise.
18854         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18855         (exp10_test): Use ALL_RM_TEST.
18856         (exp10_tonearest_test_data): Remove.
18857         (exp10_test_tonearest): Likewise.
18858         (exp10_towardzero_test_data): Likewise.
18859         (exp10_test_towardzero): Likewise.
18860         (exp10_downward_test_data): Likewise.
18861         (exp10_test_downward): Likewise.
18862         (exp10_upward_test_data): Likewise.
18863         (exp10_test_upward): Likewise.
18864         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18865         (expm1_test_data): Likewise.
18866         (expm1_test): Use ALL_RM_TEST.
18867         (expm1_tonearest_test_data): Remove.
18868         (expm1_test_tonearest): Likewise.
18869         (expm1_towardzero_test_data): Likewise.
18870         (expm1_test_towardzero): Likewise.
18871         (expm1_downward_test_data): Likewise.
18872         (expm1_test_downward): Likewise.
18873         (expm1_upward_test_data): Likewise.
18874         (expm1_test_upward): Likewise.
18875         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18876         (fma_test): Use ALL_RM_TEST.
18877         (fma_towardzero_test_data): Remove.
18878         (fma_test_towardzero): Likewise.
18879         (fma_downward_test_data): Likewise.
18880         (fma_test_downward): Likewise.
18881         (fma_upward_test_data): Likewise.
18882         (fma_test_upward): Likewise.
18883         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18884         (j0_test_data): Update call to AUTO_TESTS_f_f.
18885         (j1_test_data): Likewise.
18886         (jn_test_data): Update call to AUTO_TESTS_if_f.
18887         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18888         (log_test_data): Update call to AUTO_TESTS_f_f.
18889         (log10_test_data): Likewise.
18890         (log1p_test_data): Likewise.
18891         (log2_test_data): Likewise.
18892         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18893         (pow_tonearest_test_data): Likewise.
18894         (sin_test_data): Update call to AUTO_TESTS_f_f.
18895         (sin_test): Use ALL_RM_TEST.
18896         (sin_tonearest_test_data): Remove.
18897         (sin_test_tonearest): Likewise.
18898         (sin_towardzero_test_data): Likewise.
18899         (sin_test_towardzero): Likewise.
18900         (sin_downward_test_data): Likewise.
18901         (sin_test_downward): Likewise.
18902         (sin_upward_test_data): Likewise.
18903         (sin_test_upward): Likewise.
18904         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18905         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18906         (sinh_test): Use ALL_RM_TEST.
18907         (sinh_tonearest_test_data): Remove.
18908         (sinh_test_tonearest): Likewise.
18909         (sinh_towardzero_test_data): Likewise.
18910         (sinh_test_towardzero): Likewise.
18911         (sinh_downward_test_data): Likewise.
18912         (sinh_test_downward): Likewise.
18913         (sinh_upward_test_data): Likewise.
18914         (sinh_test_upward): Likewise.
18915         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18916         (sqrt_test): Use ALL_RM_TEST.
18917         (sqrt_tonearest_test_data): Remove.
18918         (sqrt_test_tonearest): Likewise.
18919         (sqrt_towardzero_test_data): Likewise.
18920         (sqrt_test_towardzero): Likewise.
18921         (sqrt_downward_test_data): Likewise.
18922         (sqrt_test_downward): Likewise.
18923         (sqrt_upward_test_data): Likewise.
18924         (sqrt_test_upward): Likewise.
18925         (tan_test_data): Update call to AUTO_TESTS_f_f.
18926         (tan_test): Use ALL_RM_TEST.
18927         (tan_tonearest_test_data): Remove.
18928         (tan_test_tonearest): Likewise.
18929         (tan_towardzero_test_data): Likewise.
18930         (tan_test_towardzero): Likewise.
18931         (tan_downward_test_data): Likewise.
18932         (tan_test_downward): Likewise.
18933         (tan_upward_test_data): Likewise.
18934         (tan_test_upward): Likewise.
18935         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18936         (tgamma_test_data): Likewise.
18937         (y0_test_data): Likewise.
18938         (y1_test_data): Likewise.
18939         (yn_test_data): Update call to AUTO_TESTS_if_f.
18940         (main): Do not call removed functions.
18942 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18944         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18945         (ldexp_test_data): Remove.
18946         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18947         scalbn_test_data.
18948         (scalb_test): Use ALL_RM_TEST.
18950 2014-03-19  Andreas Schwab  <schwab@suse.de>
18952         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18954 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18956         [BZ #16649]
18957         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18958         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18959         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18961         (__ASSUME_PREADV): Undefine.
18962         (__ASSUME_PWRITEV): Likewise.
18964 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18966         * bits/mman-linux.h: Add comment about non-Linux use.
18967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18968         bits/mman-linux.h resting place.
18970         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18971         * bits/mman-linux.h: ... here.
18973 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18975         * conform/conformtest.pl: Add standard definition when calling C
18976         preprocessor on data files.
18977         (checknamespace): Remove unused variable.
18979 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18981         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18982         minus_oflow, plus_uflow and minus_uflow in expected results.
18983         * math/libm-test.inc (scalbn_test_data): Add more tests of
18984         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18985         minus_uflow.
18986         (scalbn_test): Use ALL_RM_TEST.
18987         (scalbln_test_data): Add more tests of negative arguments.  Use
18988         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18989         (scalbln_test): Use ALL_RM_TEST.
18991 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18993         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18995 2014-03-18  Will Newton  <will.newton@linaro.org>
18997         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18998         inaccurate comment.
19000 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19002         * Makerules [!subdir] (check-abi): Exit with error status if a
19003         test failed.
19005 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19007         * math/libm-test.inc (nearbyint_test_data): Include all tests used
19008         for rint.  Include results for all rounding modes.
19009         (nearbyint_test): Use ALL_RM_TEST.
19010         (rint_test_data): Include all tests used for nearbyint.
19012 2014-03-17  Will Newton  <will.newton@linaro.org>
19014         * nptl/sysdeps/pthread/pthread.h: Revert previous
19015         change.
19017         * sysdeps/generic/ldsodefs.h: Revert previous
19018         change.
19020         * libio/genops.c: Revert previous change.
19021         * libio/libioP.h: Likewise.
19022         * stdio-common/vfprintf.c: Likewise.
19024         * sysdeps/generic/math_private.h: Revert previous
19025         change.
19027         * sysdeps/generic/math_private.h: Check whether
19028         HAVE_RM_CTX is defined with #ifdef rather
19029         than #if.
19031         * argp/argp-fmtstream.h: Check whether
19032         __STRICT_ANSI__ is defined with #ifdef rather
19033         than #if.
19034         * argp/argp.h: Likewise.
19036         * libio/genops.c: Check whether
19037         _IO_JUMPS_OFFSET is defined with #ifdef rather
19038         than #if.
19039         * libio/libioP.h: Likewise.
19040         * stdio-common/vfprintf.c: Likewise.
19042         * sysdeps/generic/ldsodefs.h: Check whether
19043         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19044         than #if.
19046         * nptl/sysdeps/pthread/pthread.h: Check
19047         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19048         its value.
19050 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19052         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19053         setting O_APPEND.
19054         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19055         test case.
19057         [BZ #16680]
19058         * libio/fileops.c (_IO_file_open): Seek to end of file but
19059         don't cache the offset.
19060         (get_file_offset): Remove function.
19061         (do_ftell): Use cached offset when available.
19062         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19063         don't cache the offset.
19064         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19065         case.
19066         (do_one_test): Call it.
19067         (do_ftell_test): Fix up expected old offset for a+ mode.
19068         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19069         available.
19071         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19072         up test status with function return status.
19073         (do_write_test): Likewise.
19074         (do_append_test): Likewise.
19076         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19077         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19078         Remove.
19080 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19082         * math/gen-libm-test.pl (parse_args): Handle results specified for
19083         each rounding mode separately.
19084         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19085         tests and results from lrint_tonearest_test_data,
19086         lrint_towardzero_test_data, lrint_downward_test_data and
19087         lrint_upward_test_data.
19088         (lrint_test): Use ALL_RM_TEST.
19089         (lrint_tonearest_test_data): Remove.
19090         (lrint_test_tonearest): Likewise.
19091         (lrint_towardzero_test_data): Likewise.
19092         (lrint_test_towardzero): Likewise.
19093         (lrint_downward_test_data): Likewise.
19094         (lrint_test_downward): Likewise.
19095         (lrint_upward_test_data): Likewise.
19096         (lrint_test_upward): Likewise.
19097         (llrint_test_data): Merge in per-rounding-mode tests and results
19098         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19099         llrint_downward_test_data and llrint_upward_test_data.
19100         (llrint_test): Use ALL_RM_TEST.
19101         (llrint_tonearest_test_data): Remove.
19102         (llrint_test_tonearest): Likewise.
19103         (llrint_towardzero_test_data): Likewise.
19104         (llrint_test_towardzero): Likewise.
19105         (llrint_downward_test_data): Likewise.
19106         (llrint_test_downward): Likewise.
19107         (llrint_upward_test_data): Likewise.
19108         (llrint_test_upward): Likewise.
19109         (rint_test_data): Merge in per-rounding-mode tests and results
19110         from rint_tonearest_test_data, rint_towardzero_test_data,
19111         rint_downward_test_data and rint_upward_test_data.  Add
19112         per-rounding-mode results for tests not in those arrays.
19113         (rint_test): Use ALL_RM_TEST.
19114         (rint_tonearest_test_data): Remove.
19115         (rint_test_tonearest): Likewise.
19116         (rint_towardzero_test_data): Likewise.
19117         (rint_test_towardzero): Likewise.
19118         (rint_downward_test_data): Likewise.
19119         (rint_test_downward): Likewise.
19120         (rint_upward_test_data): Likewise.
19121         (rint_test_upward): Likewise.
19122         (main): Don't call removed functions.
19124 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19126         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19127         "Compiled on ..." crapola.  It is anti-useful.
19129 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19131         * scripts/evaluate-test.sh: Handle fourth argument to determine
19132         whether test run should stop on failure.
19133         * Makeconfig (stop-on-test-failure): New variable.
19134         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19135         $(stop-on-test-failure).
19136         * Makefile (tests): Give a summary of results from testing and
19137         exit with failure status if they include an ERROR or FAIL.
19138         (xtests): Likewise.
19139         * manual/install.texi (Configuring and compiling): Mention
19140         stop-on-test-failure=y.
19141         * INSTALL: Regenerated.
19143 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19145         * scripts/versionlist.awk: New file.
19146         * Makerules [$(build-shared) = yes]
19147         (postclean-generated): Add Versions.def, not Versions.def.v and
19148         Versions.def.v.i.
19149         ($(common-objpfx)Versions.def.v.i): Target removed.
19150         ($(common-objpfx)Versions.def): New target.
19151         ($(common-objpfx)Versions.all): Depend on that rather that
19152         $(common-objpfx)Versions.def.v.
19153         * Versions.def: File removed.
19155         * Makeconfig (+gccwarn): Add -Wundef.
19156         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19157         a dl-sysdep.h breaking its contract.
19158         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19159         * include/stackinfo.h: New file.
19160         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19161         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19162         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19163         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19164         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19165         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19166         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19167         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19168         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19169         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19170         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19171         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19172         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19173         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19174         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19176 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19178         [BZ #16707]
19179         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19180         implementation.
19181         * math/libm-test.inc (round_test_data): Add more tests.
19183         [BZ #16706]
19184         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19185         implementation.
19186         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19188         [BZ #16701]
19189         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19190         implementation.
19191         * math/libm-test.inc (ceil_test_data): Add more tests.
19193         * math/libm-test.inc (trunc_test_data): Add more tests related to
19194         BZ#16414.
19196 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19198         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19199         with #if rather than #ifdef.
19200         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19202 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19204         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19205         first.  Disable AVX-512 GCC support if assembler doesn't support
19206         it.
19207         * sysdeps/x86_64/configure: Regenerated.
19209 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19211         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19212         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19213         (__old_pthread_attr_setstack): Likewise.
19214         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19215         [!_STACK_GROWS_DOWN]: Likewise.
19217 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19219         * config.make.in (have-bash2): Delete.
19220         * configure.ac (libc_cv_have_bash2): Delete.
19221         * configure: Regenerate.
19222         * elf/Makefile (common-ldd-rewrite): Rename to ...
19223         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19224         (sh-ldd-rewrite): Delete.
19225         (bash-ldd-rewrite): Delete.
19226         (have-bash2): Delete checks.
19227         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19228         ldd-rewrite.
19230         * config.make.in (have-ksh): Delete.
19231         (KSH): Delete.
19232         * configure.ac (libc_cv_have_ksh): Delete.
19233         * configure: Regenerate.
19235         * elf/Makefile: Delete $(have-ksh) check.
19236         ($(objpfx)sotruss): Change KSH to BASH.
19237         * elf/sotruss.ksh: Rename to ...
19238         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19239         function style to match POSIX.  Drop ksh vim mode setting.
19241         * manual/time.texi (Specifying the Time Zone with TZ): Change
19242         Tuesday to Thursday.
19244         * debug/tst-longjmp_chk2.c: Update header comment.
19245         (stackoverflow_handler): Add comment.  Call assert on pass value.
19247 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19249         [BZ #16194]
19250         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19251         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19252         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19253         (La_x86_64_vector): Add zmm.
19254         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19255         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19256         ($(objpfx)tst-audit10): New target.
19257         ($(objpfx)tst-audit10.out): Likewise.
19258         (tst-audit10-ENV): New.
19259         (AVX512-CFLAGS): Likewise.
19260         (CFLAGS-tst-audit10.c): Likewise.
19261         (CFLAGS-tst-auditmod10a.c): Likewise.
19262         (CFLAGS-tst-auditmod10b.c): Likewise.
19263         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19264         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19265         * sysdeps/x86_64/configure: Regenerated.
19266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19267         AVX-512 zmm register support.
19268         (_dl_x86_64_save_sse): Likewise.
19269         (_dl_x86_64_restore_sse): Likewise.
19270         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19271         size vector registers.
19272         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19273         (ZMM_SIZE): Likewise.
19274         * sysdeps/x86_64/tst-audit10.c: New file.
19275         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19276         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19278 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19280         * configure.ac (HAVE_EHDR_START): New check.
19281         * configure: Regenerated.
19282         * config.h.in (HAVE_EHDR_START): New #undef.
19283         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19284         assuming the lowest-addressed segment maps the start of the file.
19286 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19288         * INSTALL: Regenerated.
19290 2014-03-13  Will Newton  <will.newton@linaro.org>
19292         * manual/setjmp.texi (System V contexts): Improve
19293         clarity and grammar of documentation.
19295 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19297         [BZ #16381]
19298         * elf/Makefile (tests): Add tst-pie2.
19299         (tests-pie): Add tst-pie2.
19300         * elf/tst-pie2.c: New file.
19301         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19302         for ET_EXEC.
19303         * elf/rtld.c (map_doit): Load executable as lt_executable.
19304         (dl_main): Likewise.
19306 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19308         [BZ #16642]
19309         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19310         (__ASSUME_PSELECT): Undefine.
19312 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19314         [BZ #16689]
19315         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19316         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19317         static build.
19318         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19319         selector for static builds.
19321 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19323         [BZ #16695]
19324         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19325         key in the buffer.
19327 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19329         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19330         IFUNC selector for static builds.
19332 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19334         * sysdeps/mips/math_private.h [__mips_hard_float]
19335         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19336         libc_feresetround_mips_ctx.
19337         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19338         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19339         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19341         [BZ #16677]
19342         * math/s_nextafter.c (__nextafter): Do not return value from
19343         overflowing computation.
19344         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19345         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19346         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19347         Likewise.
19348         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19349         Likewise.
19350         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19351         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19353 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19355         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19356         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19357         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19358         the new mov targetting sp.
19360 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19362         [BZ #16683]
19363         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19364         Define it for static builds as well.
19365         (NO_BZERO_IMPL): Likewise.
19367 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19369         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19370         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19371         multiarch strspn for PPC64.
19372         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19373         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19375         (__libc_ifunc_impl_list): Likewise.
19376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19377         multiarch optimizations
19378         * string/strspn.c (strspn): Using macro to redefine symbol name.
19380 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19381             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19383         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19384         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19385         multiarch strncat for PPC64.
19386         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19387         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19389         (__libc_ifunc_impl_list): Likewise.
19390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19391         multiarch optimizations
19393 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19395         [BZ #16639]
19396         * nscd/nscd.service: Make service type forking.
19398 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19400         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19401         sign in non default rounding modes.
19402         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19404 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19406         * math/libm-test.inc (ALL_RM_TEST): New macro.
19407         (ceil_test): Use ALL_RM_TEST.
19408         (cimag_test): Likewise.
19409         (conj_test): Likewise.
19410         (copysign_test): Likewise.
19411         (cproj_test): Likewise.
19412         (creal_test): Likewise.
19413         (fabs_test): Likewise.
19414         (floor_test): Likewise.
19415         (fmax_test): Likewise.
19416         (fmin_test): Likewise.
19417         (fmod_test): Likewise.
19418         (fpclassify_test): Likewise.
19419         (frexp_test): Likewise.
19420         (ilogb_test): Likewise.
19421         (isfinite_test): Likewise.
19422         (finite_test): Likewise.
19423         (isgreater_test): Likewise.
19424         (isgreaterequal_test): Likewise.
19425         (isinf_test): Likewise.
19426         (isless_test): Likewise.
19427         (islessequal_test): Likewise.
19428         (islessgreater_test): Likewise.
19429         (isnan_test): Likewise.
19430         (isnormal_test): Likewise.
19431         (issignaling_test): Likewise.
19432         (isunordered_test): Likewise.
19433         (logb_test): Likewise.
19434         (logb_downward_test_data): Remove.
19435         (logb_test_downward): Likewise.
19436         (lround_test): Use ALL_RM_TEST.
19437         (llround_test): Likewise.
19438         (modf_test): Likewise.
19439         (nexttoward_test): Likewise.
19440         (remainder_test): Likewise.
19441         (drem_test): Likewise.
19442         (remainder_tonearest_test_data): Likewise.
19443         (remainder_test_tonearest): Likewise.
19444         (drem_test_tonearest): Likewise.
19445         (remainder_towardzero_test_data): Likewise.
19446         (remainder_test_towardzero): Likewise.
19447         (drem_test_towardzero): Likewise.
19448         (remainder_downward_test_data): Likewise.
19449         (remainder_test_downward): Likewise.
19450         (drem_test_downward): Likewise.
19451         (remainder_upward_test_data): Likewise.
19452         (remainder_test_upward): Likewise.
19453         (drem_test_upward): Likewise.
19454         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19455         (round_test): Use ALL_RM_TEST.
19456         (signbit_test): Likewise.
19457         (trunc_test): Likewise.
19458         (significand_test): Likewise.
19459         (main): Don't call removed functions.
19461 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19463         [BZ #16674]
19464         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19465         || __USE_XOPEN2K8].
19466         (ILL_ILLOPN): Likewise.
19467         (ILL_ILLADR): Likewise.
19468         (ILL_ILLTRP): Likewise.
19469         (ILL_PRVOPC): Likewise.
19470         (ILL_PRVREG): Likewise.
19471         (ILL_COPROC): Likewise.
19472         (ILL_BADSTK): Likewise.
19473         (FPE_INTDIV): Likewise.
19474         (FPE_INTOVF): Likewise.
19475         (FPE_FLTDIV): Likewise.
19476         (FPE_FLTOVF): Likewise.
19477         (FPE_FLTUND): Likewise.
19478         (FPE_FLTRES): Likewise.
19479         (FPE_FLTINV): Likewise.
19480         (FPE_FLTSUB): Likewise.
19481         (SEGV_MAPERR): Likewise.
19482         (SEGV_ACCERR): Likewise.
19483         (BUS_ADRALN): Likewise.
19484         (BUS_ADRERR): Likewise.
19485         (BUS_OBJERR): Likewise.
19486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19487         (TRAP_TRACE): Likewise.
19488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19489         __USE_XOPEN2K8].
19490         (CLD_KILLED): Likewise.
19491         (CLD_DUMPED): Likewise.
19492         (CLD_TRAPPED): Likewise.
19493         (CLD_STOPPED): Likewise.
19494         (CLD_CONTINUED): Likewise.
19495         (POLL_IN): Likewise.
19496         (POLL_OUT): Likewise.
19497         (POLL_MSG): Likewise.
19498         (POLL_ERR): Likewise.
19499         (POLL_PRI): Likewise.
19500         (POLL_HUP): Likewise.
19501         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19502         Likewise.
19503         (ILL_ILLOPN): Likewise.
19504         (ILL_ILLADR): Likewise.
19505         (ILL_ILLTRP): Likewise.
19506         (ILL_PRVOPC): Likewise.
19507         (ILL_PRVREG): Likewise.
19508         (ILL_COPROC): Likewise.
19509         (ILL_BADSTK): Likewise.
19510         (FPE_INTDIV): Likewise.
19511         (FPE_INTOVF): Likewise.
19512         (FPE_FLTDIV): Likewise.
19513         (FPE_FLTOVF): Likewise.
19514         (FPE_FLTUND): Likewise.
19515         (FPE_FLTRES): Likewise.
19516         (FPE_FLTINV): Likewise.
19517         (FPE_FLTSUB): Likewise.
19518         (SEGV_MAPERR): Likewise.
19519         (SEGV_ACCERR): Likewise.
19520         (BUS_ADRALN): Likewise.
19521         (BUS_ADRERR): Likewise.
19522         (BUS_OBJERR): Likewise.
19523         (BUS_MCEERR_AR): Likewise.
19524         (BUS_MCEERR_AO): Likewise.
19525         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19526         (TRAP_TRACE): Likewise.
19527         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19528         __USE_XOPEN2K8].
19529         (CLD_KILLED): Likewise.
19530         (CLD_DUMPED): Likewise.
19531         (CLD_TRAPPED): Likewise.
19532         (CLD_STOPPED): Likewise.
19533         (CLD_CONTINUED): Likewise.
19534         (POLL_IN): Likewise.
19535         (POLL_OUT): Likewise.
19536         (POLL_MSG): Likewise.
19537         (POLL_ERR): Likewise.
19538         (POLL_PRI): Likewise.
19539         (POLL_HUP): Likewise.
19540         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19541         (ILL_ILLOPN): Likewise.
19542         (ILL_ILLADR): Likewise.
19543         (ILL_ILLTRP): Likewise.
19544         (ILL_PRVOPC): Likewise.
19545         (ILL_PRVREG): Likewise.
19546         (ILL_COPROC): Likewise.
19547         (ILL_BADSTK): Likewise.
19548         (FPE_INTDIV): Likewise.
19549         (FPE_INTOVF): Likewise.
19550         (FPE_FLTDIV): Likewise.
19551         (FPE_FLTOVF): Likewise.
19552         (FPE_FLTUND): Likewise.
19553         (FPE_FLTRES): Likewise.
19554         (FPE_FLTINV): Likewise.
19555         (FPE_FLTSUB): Likewise.
19556         (SEGV_MAPERR): Likewise.
19557         (SEGV_ACCERR): Likewise.
19558         (BUS_ADRALN): Likewise.
19559         (BUS_ADRERR): Likewise.
19560         (BUS_OBJERR): Likewise.
19561         (BUS_MCEERR_AR): Likewise.
19562         (BUS_MCEERR_AO): Likewise.
19563         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19564         (TRAP_TRACE): Likewise.
19565         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19566         __USE_XOPEN2K8].
19567         (CLD_KILLED): Likewise.
19568         (CLD_DUMPED): Likewise.
19569         (CLD_TRAPPED): Likewise.
19570         (CLD_STOPPED): Likewise.
19571         (CLD_CONTINUED): Likewise.
19572         (POLL_IN): Likewise.
19573         (POLL_OUT): Likewise.
19574         (POLL_MSG): Likewise.
19575         (POLL_ERR): Likewise.
19576         (POLL_PRI): Likewise.
19577         (POLL_HUP): Likewise.
19578         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19579         Likewise.
19580         (ILL_ILLOPN): Likewise.
19581         (ILL_ILLADR): Likewise.
19582         (ILL_ILLTRP): Likewise.
19583         (ILL_PRVOPC): Likewise.
19584         (ILL_PRVREG): Likewise.
19585         (ILL_COPROC): Likewise.
19586         (ILL_BADSTK): Likewise.
19587         (ILL_BADIADDR): Likewise.
19588         (ILL_BREAK): Likewise.
19589         (FPE_INTDIV): Likewise.
19590         (FPE_INTOVF): Likewise.
19591         (FPE_FLTDIV): Likewise.
19592         (FPE_FLTOVF): Likewise.
19593         (FPE_FLTUND): Likewise.
19594         (FPE_FLTRES): Likewise.
19595         (FPE_FLTINV): Likewise.
19596         (FPE_FLTSUB): Likewise.
19597         (FPE_DECOVF): Likewise.
19598         (FPE_DECDIV): Likewise.
19599         (FPE_DECERR): Likewise.
19600         (FPE_INVASC): Likewise.
19601         (FPE_INVDEC): Likewise.
19602         (SEGV_MAPERR): Likewise.
19603         (SEGV_ACCERR): Likewise.
19604         (SEGV_PSTKOVF): Likewise.
19605         (BUS_ADRALN): Likewise.
19606         (BUS_ADRERR): Likewise.
19607         (BUS_OBJERR): Likewise.
19608         (BUS_MCEERR_AR): Likewise.
19609         (BUS_MCEERR_AO): Likewise.
19610         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19611         (TRAP_TRACE): Likewise.
19612         (TRAP_BRANCH): Likewise.
19613         (TRAP_HWBKPT): Likewise.
19614         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19615         __USE_XOPEN2K8].
19616         (CLD_KILLED): Likewise.
19617         (CLD_DUMPED): Likewise.
19618         (CLD_TRAPPED): Likewise.
19619         (CLD_STOPPED): Likewise.
19620         (CLD_CONTINUED): Likewise.
19621         (POLL_IN): Likewise.
19622         (POLL_OUT): Likewise.
19623         (POLL_MSG): Likewise.
19624         (POLL_ERR): Likewise.
19625         (POLL_PRI): Likewise.
19626         (POLL_HUP): Likewise.
19627         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19628         (ILL_ILLOPN): Likewise.
19629         (ILL_ILLADR): Likewise.
19630         (ILL_ILLTRP): Likewise.
19631         (ILL_PRVOPC): Likewise.
19632         (ILL_PRVREG): Likewise.
19633         (ILL_COPROC): Likewise.
19634         (ILL_BADSTK): Likewise.
19635         (FPE_INTDIV): Likewise.
19636         (FPE_INTOVF): Likewise.
19637         (FPE_FLTDIV): Likewise.
19638         (FPE_FLTOVF): Likewise.
19639         (FPE_FLTUND): Likewise.
19640         (FPE_FLTRES): Likewise.
19641         (FPE_FLTINV): Likewise.
19642         (FPE_FLTSUB): Likewise.
19643         (SEGV_MAPERR): Likewise.
19644         (SEGV_ACCERR): Likewise.
19645         (BUS_ADRALN): Likewise.
19646         (BUS_ADRERR): Likewise.
19647         (BUS_OBJERR): Likewise.
19648         (BUS_MCEERR_AR): Likewise.
19649         (BUS_MCEERR_AO): Likewise.
19650         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19651         (TRAP_TRACE): Likewise.
19652         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19653         __USE_XOPEN2K8].
19654         (CLD_KILLED): Likewise.
19655         (CLD_DUMPED): Likewise.
19656         (CLD_TRAPPED): Likewise.
19657         (CLD_STOPPED): Likewise.
19658         (CLD_CONTINUED): Likewise.
19659         (POLL_IN): Likewise.
19660         (POLL_OUT): Likewise.
19661         (POLL_MSG): Likewise.
19662         (POLL_ERR): Likewise.
19663         (POLL_PRI): Likewise.
19664         (POLL_HUP): Likewise.
19665         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19666         (ILL_ILLOPN): Likewise.
19667         (ILL_ILLADR): Likewise.
19668         (ILL_ILLTRP): Likewise.
19669         (ILL_PRVOPC): Likewise.
19670         (ILL_PRVREG): Likewise.
19671         (ILL_COPROC): Likewise.
19672         (ILL_BADSTK): Likewise.
19673         (FPE_INTDIV): Likewise.
19674         (FPE_INTOVF): Likewise.
19675         (FPE_FLTDIV): Likewise.
19676         (FPE_FLTOVF): Likewise.
19677         (FPE_FLTUND): Likewise.
19678         (FPE_FLTRES): Likewise.
19679         (FPE_FLTINV): Likewise.
19680         (FPE_FLTSUB): Likewise.
19681         (SEGV_MAPERR): Likewise.
19682         (SEGV_ACCERR): Likewise.
19683         (BUS_ADRALN): Likewise.
19684         (BUS_ADRERR): Likewise.
19685         (BUS_OBJERR): Likewise.
19686         (BUS_MCEERR_AR): Likewise.
19687         (BUS_MCEERR_AO): Likewise.
19688         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19689         (TRAP_TRACE): Likewise.
19690         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19691         __USE_XOPEN2K8].
19692         (CLD_KILLED): Likewise.
19693         (CLD_DUMPED): Likewise.
19694         (CLD_TRAPPED): Likewise.
19695         (CLD_STOPPED): Likewise.
19696         (CLD_CONTINUED): Likewise.
19697         (POLL_IN): Likewise.
19698         (POLL_OUT): Likewise.
19699         (POLL_MSG): Likewise.
19700         (POLL_ERR): Likewise.
19701         (POLL_PRI): Likewise.
19702         (POLL_HUP): Likewise.
19703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19704         (ILL_ILLOPN): Likewise.
19705         (ILL_ILLADR): Likewise.
19706         (ILL_ILLTRP): Likewise.
19707         (ILL_PRVOPC): Likewise.
19708         (ILL_PRVREG): Likewise.
19709         (ILL_COPROC): Likewise.
19710         (ILL_BADSTK): Likewise.
19711         (FPE_INTDIV): Likewise.
19712         (FPE_INTOVF): Likewise.
19713         (FPE_FLTDIV): Likewise.
19714         (FPE_FLTOVF): Likewise.
19715         (FPE_FLTUND): Likewise.
19716         (FPE_FLTRES): Likewise.
19717         (FPE_FLTINV): Likewise.
19718         (FPE_FLTSUB): Likewise.
19719         (SEGV_MAPERR): Likewise.
19720         (SEGV_ACCERR): Likewise.
19721         (BUS_ADRALN): Likewise.
19722         (BUS_ADRERR): Likewise.
19723         (BUS_OBJERR): Likewise.
19724         (BUS_MCEERR_AR): Likewise.
19725         (BUS_MCEERR_AO): Likewise.
19726         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19727         (TRAP_TRACE): Likewise.
19728         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19729         __USE_XOPEN2K8].
19730         (CLD_KILLED): Likewise.
19731         (CLD_DUMPED): Likewise.
19732         (CLD_TRAPPED): Likewise.
19733         (CLD_STOPPED): Likewise.
19734         (CLD_CONTINUED): Likewise.
19735         (POLL_IN): Likewise.
19736         (POLL_OUT): Likewise.
19737         (POLL_MSG): Likewise.
19738         (POLL_ERR): Likewise.
19739         (POLL_PRI): Likewise.
19740         (POLL_HUP): Likewise.
19741         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19742         (ILL_ILLOPN): Likewise.
19743         (ILL_ILLADR): Likewise.
19744         (ILL_ILLTRP): Likewise.
19745         (ILL_PRVOPC): Likewise.
19746         (ILL_PRVREG): Likewise.
19747         (ILL_COPROC): Likewise.
19748         (ILL_BADSTK): Likewise.
19749         (ILL_DBLFLT): Likewise.
19750         (ILL_HARDWALL): Likewise.
19751         (FPE_INTDIV): Likewise.
19752         (FPE_INTOVF): Likewise.
19753         (FPE_FLTDIV): Likewise.
19754         (FPE_FLTOVF): Likewise.
19755         (FPE_FLTUND): Likewise.
19756         (FPE_FLTRES): Likewise.
19757         (FPE_FLTINV): Likewise.
19758         (FPE_FLTSUB): Likewise.
19759         (SEGV_MAPERR): Likewise.
19760         (SEGV_ACCERR): Likewise.
19761         (BUS_ADRALN): Likewise.
19762         (BUS_ADRERR): Likewise.
19763         (BUS_OBJERR): Likewise.
19764         (BUS_MCEERR_AR): Likewise.
19765         (BUS_MCEERR_AO): Likewise.
19766         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19767         (TRAP_TRACE): Likewise.
19768         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19769         __USE_XOPEN2K8].
19770         (CLD_KILLED): Likewise.
19771         (CLD_DUMPED): Likewise.
19772         (CLD_TRAPPED): Likewise.
19773         (CLD_STOPPED): Likewise.
19774         (CLD_CONTINUED): Likewise.
19775         (POLL_IN): Likewise.
19776         (POLL_OUT): Likewise.
19777         (POLL_MSG): Likewise.
19778         (POLL_ERR): Likewise.
19779         (POLL_PRI): Likewise.
19780         (POLL_HUP): Likewise.
19781         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19782         (ILL_ILLOPN): Likewise.
19783         (ILL_ILLADR): Likewise.
19784         (ILL_ILLTRP): Likewise.
19785         (ILL_PRVOPC): Likewise.
19786         (ILL_PRVREG): Likewise.
19787         (ILL_COPROC): Likewise.
19788         (ILL_BADSTK): Likewise.
19789         (FPE_INTDIV): Likewise.
19790         (FPE_INTOVF): Likewise.
19791         (FPE_FLTDIV): Likewise.
19792         (FPE_FLTOVF): Likewise.
19793         (FPE_FLTUND): Likewise.
19794         (FPE_FLTRES): Likewise.
19795         (FPE_FLTINV): Likewise.
19796         (FPE_FLTSUB): Likewise.
19797         (SEGV_MAPERR): Likewise.
19798         (SEGV_ACCERR): Likewise.
19799         (BUS_ADRALN): Likewise.
19800         (BUS_ADRERR): Likewise.
19801         (BUS_OBJERR): Likewise.
19802         (BUS_MCEERR_AR): Likewise.
19803         (BUS_MCEERR_AO): Likewise.
19804         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19805         (TRAP_TRACE): Likewise.
19806         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19807         __USE_XOPEN2K8].
19808         (CLD_KILLED): Likewise.
19809         (CLD_DUMPED): Likewise.
19810         (CLD_TRAPPED): Likewise.
19811         (CLD_STOPPED): Likewise.
19812         (CLD_CONTINUED): Likewise.
19813         (POLL_IN): Likewise.
19814         (POLL_OUT): Likewise.
19815         (POLL_MSG): Likewise.
19816         (POLL_ERR): Likewise.
19817         (POLL_PRI): Likewise.
19818         (POLL_HUP): Likewise.
19819         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19820         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19822         [BZ #16670]
19823         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19824         before #include of <time.h>.
19825         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19826         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19827         (test-xfail-UNIX98/sched.h/conform): Likewise.
19829 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19831         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19832         error absence of trapping exception support.
19833         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19835 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19837         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19838         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19839         * timezone/Makefile (testdata): Move definition above include of
19840         Rules.
19841         (test-zones): New variable.
19842         (tests-special): Add zone files.
19843         (build-testdata): Use $(evaluate-test).
19845         * elf/Makefile (tests-special): Rename tests to end with .out.
19846         ($(objpfx)noload-mem): Likewise.
19847         ($(objpfx)tst-leaks1-mem): Likewise.
19848         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19849         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19850         $(objpfx)test-iconvconfig.out.
19851         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19852         set -e inside subshell and redirect output to file.
19853         * iconvdata/Makefile (generated): Rename tests to end with .out.
19854         Correct type.
19855         (tests-special): Rename tests to end with .out.
19856         ($(objpfx)mtrace-tst-loading): Likewise.
19857         * intl/Makefile (generated): Likewise.
19858         (tests-special): Likewise.
19859         ($(objpfx)mtrace-tst-gettext): Likewise.
19860         * misc/Makefile (generated): Likewise.
19861         (tests-special): Likewise.
19862         ($(objpfx)tst-error1-mem): Likewise.
19863         * nptl/Makefile (tests-special): Likewise.
19864         ($(objpfx)tst-stack3-mem): Likewise.
19865         (generated): Likewise.
19866         * posix/Makefile (generated): Likewise.
19867         (tests-special): Likewise.
19868         (xtests-special): Likewise.
19869         ($(objpfx)tst-fnmatch-mem): Likewise.
19870         ($(objpfx)bug-regex2-mem): Likewise.
19871         ($(objpfx)bug-regex14-mem): Likewise.
19872         ($(objpfx)bug-regex21-mem): Likewise.
19873         ($(objpfx)bug-regex31-mem): Likewise.
19874         ($(objpfx)tst-vfork3-mem): Likewise.
19875         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19876         ($(objpfx)tst-pcre-mem): Likewise.
19877         ($(objpfx)tst-boost-mem): Likewise.
19878         ($(objpfx)bug-ga2-mem): Likewise.
19879         ($(objpfx)bug-glob2-mem): Likewise.
19880         * resolv/Makefile (generate): Likewise.
19881         (tests-special): Likewise.
19882         (xtests-special): Likewise.
19883         (generated): Likewise.
19884         ($(objpfx)mtrace-tst-leaks): Likewise.
19885         ($(objpfx)mtrace-tst-leaks2): Likewise.
19887         * scripts/merge-test-results.sh: New file.
19888         * Makefile (tests-special-notdir): New variable.
19889         (tests): Run merge-test-results.sh.
19890         (xtests): Likewise.
19891         * Rules (tests-special-notdir): New variable.
19892         (xtests-special-notdir): Likewise.
19893         (tests): Run merge-test-results.sh
19894         (xtests): Likewise.
19896         * Makeconfig (test-xfail-name): New variable.
19897         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19898         compute variable name for expected failures.
19899         * conform/Makefile (conformtest-headers-data): New variable.
19900         (conformtest-standards): Likewise.
19901         (conformtest-headers-ISO): Likewise.
19902         (conformtest-headers-ISO99): Likewise.
19903         (conformtest-headers-ISO11): Likewise.
19904         (conformtest-headers-POSIX): Likewise.
19905         (conformtest-headers-XPG3): Likewise.
19906         (conformtest-headers-XPG4): Likewise.
19907         (conformtest-headers-UNIX98): Likewise.
19908         (conformtest-headers-XOPEN2K): Likewise.
19909         (conformtest-headers-POSIX2008): Likewise.
19910         (conformtest-headers-XOPEN2K8): Likewise.
19911         (conformtest-header-list-base): Likewise.
19912         (conformtest-header-list-tests): Likewise.
19913         (conformtest-header-base): Likewise.
19914         (conformtest-header-tests): Likewise.
19915         (tests-special): Add $(conformtest-header-list-tests).  If
19916         [$(fast-check) && !$(cross-compiling)], add
19917         $(conformtest-header-tests) instead of
19918         $(objpfx)run-conformtest.out.
19919         (generated): Add $(conformtest-header-list-base).  If
19920         [$(fast-check) && !$(cross-compiling)], add
19921         $(conformtest-header-base).  Remove previous setting.
19922         ($(conformtest-header-list-tests)): New target.
19923         (test-xfail-run-conformtest): Remove variable.
19924         ($(objpfx)run-conformtest.out): Remove target.
19925         (test-xfail-ISO11/complex.h/conform): New variable.
19926         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19927         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19928         (test-xfail-XPG3/varargs.h/conform): Likewise.
19929         (test-xfail-XPG4/varargs.h/conform): Likewise.
19930         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19931         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19932         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19933         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19934         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19935         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19936         (test-xfail-XPG3/ftw.h/conform): Likewise.
19937         (test-xfail-XPG3/grp.h/conform): Likewise.
19938         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19939         (test-xfail-XPG3/limits.h/conform): Likewise.
19940         (test-xfail-XPG3/pwd.h/conform): Likewise.
19941         (test-xfail-XPG3/search.h/conform): Likewise.
19942         (test-xfail-XPG3/signal.h/conform): Likewise.
19943         (test-xfail-XPG3/stdio.h/conform): Likewise.
19944         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19945         (test-xfail-XPG3/string.h/conform): Likewise.
19946         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19947         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19948         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19949         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19950         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19951         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19952         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19953         (test-xfail-XPG3/termios.h/conform): Likewise.
19954         (test-xfail-XPG3/time.h/conform): Likewise.
19955         (test-xfail-XPG3/unistd.h/conform): Likewise.
19956         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19957         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19958         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19959         (test-xfail-XPG4/netdb.h/conform): Likewise.
19960         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19961         (test-xfail-XPG4/signal.h/conform): Likewise.
19962         (test-xfail-XPG4/stdio.h/conform): Likewise.
19963         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19964         (test-xfail-XPG4/stropts.h/conform): Likewise.
19965         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19966         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19967         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19968         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19969         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19970         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19971         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19972         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19973         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19974         (test-xfail-XPG4/termios.h/conform): Likewise.
19975         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19976         (test-xfail-XPG4/unistd.h/conform): Likewise.
19977         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19978         (test-xfail-POSIX/sched.h/conform): Likewise.
19979         (test-xfail-POSIX/signal.h/conform): Likewise.
19980         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19981         (test-xfail-POSIX/tar.h/conform): Likewise.
19982         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19983         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19984         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19985         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19986         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19987         (test-xfail-UNIX98/sched.h/conform): Likewise.
19988         (test-xfail-UNIX98/signal.h/conform): Likewise.
19989         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19990         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19991         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19992         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19993         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19994         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19995         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19996         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19997         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19998         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19999         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
20000         (test-xfail-UNIX98/unistd.h/conform): Likewise.
20001         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20002         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
20003         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
20004         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20005         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
20006         (test-xfail-XOPEN2K/math.h/conform): Likewise.
20007         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20008         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20009         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20010         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
20011         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
20012         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20013         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20014         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20015         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20016         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20017         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20018         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20019         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20020         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20021         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20022         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20023         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20024         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20025         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20026         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20027         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20028         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20029         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20030         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20031         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20032         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20033         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20034         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20035         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20036         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20037         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20038         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20039         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20040         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20041         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20042         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20043         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20044         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20045         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20046         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20047         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20048         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20049         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20050         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20051         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20052         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20053         (conformtest-cc-flags): Likewise.
20054         ($(conformtest-header-tests): New target.
20055         * conform/check-header-lists.sh: New file.
20056         * conform/run-conformtest.sh: Remove.
20058         * conform/conformtest.pl: Allow ' and \ in values given for
20059         constants.
20060         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20061         inclusion.
20062         [POSIX] (sys/types.h): Likewise.
20063         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20064         inclusion.
20065         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20066         inclusion.
20067         * conform/data/signal.h-data (SIGIO): Remove expectation.
20068         [XPG3] (SIGBUS): Do not expect.
20069         [POSIX || XPG3] (SIGPOLL): Likewise.
20070         [POSIX || XPG3] (SIGPROF): Likewise.
20071         [POSIX || XPG3] (SIGSYS): Likewise.
20072         [XPG3] (SIGTRAP): Likewise.
20073         [POSIX || XPG3] (SIGURG): Likewise.
20074         [POSIX || XPG3] (SIGVTALRM): Likewise.
20075         [POSIX || XPG3] (SIGXCPU): Likewise.
20076         [POSIX || XPG3] (SIGXFSZ): Likewise.
20077         [POSIX] (SA_SIGINFO): Expect.
20078         [XPG3] (siginfo_t): Do not expect type or contents.
20079         [POSIX] (si_pid): Do not expect element.
20080         [POSIX] (si_uid): Likewise.
20081         [POSIX] (si_addr): Likewise.
20082         [POSIX] (si_status): Likewise.
20083         [POSIX] (si_band): Likewise.
20084         [XPG4] (si_value): Likewise.
20085         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20086         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20087         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20088         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20089         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20090         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20091         [POSIX || XPG3] (ILL_COPROC): Likewise.
20092         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20093         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20094         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20095         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20096         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20097         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20098         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20099         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20100         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20101         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20102         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20103         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20104         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20105         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20106         [POSIX || XPG3] (CLD_EXITED): Likewise.
20107         [POSIX || XPG3] (CLD_KILLED): Likewise.
20108         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20109         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20110         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20111         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20112         [POSIX || XPG3] (POLL_IN): Likewise.
20113         [POSIX || XPG3] (POLL_OUT): Likewise.
20114         [POSIX || XPG3] (POLL_MSG): Likewise.
20115         [POSIX || XPG3] (POLL_ERR): Likewise.
20116         [POSIX || XPG3] (POLL_PRI): Likewise.
20117         [POSIX || XPG3] (POLL_HUP): Likewise.
20118         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20119         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20120         (SIG*): Do not allow.
20121         [XPG3] (si_*): Likewise.
20122         [XPG3] (SI_*): Likewise.
20123         [XPG3 || XPG4] (sigev_*): Likewise.
20124         [XPG3 || XPG4] (SIGEV_*): Likewise.
20125         [XPG3 || XPG4] (sival_*): Likewise.
20126         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20127         [POSIX || XPG3] (BUS_*): Likewise.
20128         [POSIX || XPG3] (CLD_*): Likewise.
20129         [POSIX || XPG3] (FPE_*): Likewise.
20130         [POSIX || XPG3] (ILL_*): Likewise.
20131         [POSIX || XPG3] (POLL_*): Likewise.
20132         [POSIX || XPG3] (SEGV_*): Likewise.
20133         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20134         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20135         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20136         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20137         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20138         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20139         Specify type and value.
20140         (TVERSLEN): Likewise.
20141         (REGTYPE): Likewise.
20142         (AREGTYPE): Likewise.
20143         (LNKTYPE): Likewise.
20144         (SYMTYPE): Likewise.
20145         (CHRTYPE): Likewise.
20146         (BLKTYPE): Likewise.
20147         (DIRTYPE): Likewise.
20148         (FIFOTYPE): Likewise.
20149         (CONTTYPE): Likewise.
20150         (TSUID): Likewise.
20151         (TSGID): Likewise.
20152         (TSVTX): Likewise.
20153         (TUREAD): Likewise.
20154         (TUWRITE): Likewise.
20155         (TUEXEC): Likewise.
20156         (TGREAD): Likewise.
20157         (TGWRITE): Likewise.
20158         (TGEXEC): Likewise.
20159         (TOREAD): Likewise.
20160         (TOWRITE): Likewise.
20161         (TOEXEC): Likewise.
20162         [POSIX] (TSVTX): Expect constant.
20164 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20166         * Makefile (tests): Change dependencies to ....
20167         (tests-special): ... additions to this variable.
20168         (tests): Depend on $(tests-special).
20169         * Makerules (check-abi-list): New variable.
20170         (check-abi): Depend on $(check-abi-list).
20171         [$(subdir) = elf] (tests-special): Add
20172         $(objpfx)check-abi-libc.out.
20173         [$(build-shared) = yes && subdir] (tests-special): Add
20174         $(check-abi-list).
20175         [$(build-shared) = yes && subdir] (tests): Do not depend on
20176         check-abi.
20177         * Rules (tests): Depend on $(tests-special).
20178         (xtests): Depend on $(xtests-special).
20179         * catgets/Makefile (tests): Change dependencies to ....
20180         (tests-special): ... additions to this variable.
20181         * conform/Makefile (tests): Change dependencies to ....
20182         (tests-special): ... additions to this variable.
20183         * elf/Makefile (tests): Change dependencies to ....
20184         (tests-special): ... additions to this variable.
20185         * grp/Makefile (tests): Change dependencies to ....
20186         (tests-special): ... additions to this variable.
20187         * iconv/Makefile (xtests): Change dependencies to ....
20188         (xtests-special): ... additions to this variable.
20189         * iconvdata/Makefile (tests): Change dependencies to ....
20190         (tests-special): ... additions to this variable.
20191         * intl/Makefile (tests): Change dependencies to ....
20192         (tests-special): ... additions to this variable.  Also add
20193         $(objpfx)tst-gettext.out.
20194         * io/Makefile (tests): Change dependencies to ....
20195         (tests-special): ... additions to this variable.
20196         * libio/Makefile (tests): Change dependencies to ....
20197         (tests-special): ... additions to this variable.
20198         * malloc/Makefile (tests): Change dependencies to ....
20199         (tests-special): ... additions to this variable.
20200         * misc/Makefile (tests): Change dependencies to ....
20201         (tests-special): ... additions to this variable.
20202         * nptl/Makefile (tests): Change dependencies to ....
20203         (tests-special): ... additions to this variable.
20204         * nptl_db/Makefile (tests): Change dependencies to ....
20205         (tests-special): ... additions to this variable.
20206         * posix/Makefile (tests): Change dependencies to ....
20207         (tests-special): ... additions to this variable.
20208         (xtests): Change dependencies to ....
20209         (xtests-special): ... additions to this variable.
20210         * resolv/Makefile (tests): Change dependencies to ....
20211         (tests-special): ... additions to this variable.
20212         (xtests): Change dependencies to ....
20213         (xtests-special): ... additions to this variable.
20214         * stdio-common/Makefile (tests): Change dependencies to ....
20215         (tests-special): ... additions to this variable.
20216         (do-tst-unbputc): Remove target.
20217         (do-tst-printf): Likewise.
20218         * stdlib/Makefile (tests): Change dependencies to ....
20219         (tests-special): ... additions to this variable.
20220         * string/Makefile (tests): Change dependencies to ....
20221         (tests-special): ... additions to this variable.
20222         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20223         (tests-special): ... additions to this variable.
20225         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20226         whole file.
20227         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20228         whole file.
20229         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20230         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20232         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20233         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20234         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20235         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20236         * conform/data/libgen.h-data [XPG3]: Likewise.
20237         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20238         * conform/data/ndbm.h-data [XPG3]: Likewise.
20239         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20240         * conform/data/netdb.h-data [XPG3]: Likewise.
20241         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20242         * conform/data/poll.h-data [XPG3]: Likewise.
20243         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20244         * conform/data/strings.h-data [XPG3]: Likewise.
20245         * conform/data/stropts.h-data [XPG3]: Likewise.
20246         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20247         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20248         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20249         Likewise.
20250         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20251         * conform/data/sys/time.h-data [XPG3]: Likewise.
20252         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20253         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20254         * conform/data/sys/un.h-data [XPG3]: Likewise.
20255         * conform/data/syslog.h-data [XPG3]: Likewise.
20256         * conform/data/ucontext.h-data [XPG3]: Likewise.
20257         * conform/data/utmpx.h-data [XPG3]: Likewise.
20258         * conform/data/varargs.h-data [UNIX98]: Enable file.
20260         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20262         * math/libm-test.inc (struct test_f_f_data): Move expected results
20263         into structure for each rounding mode.
20264         (struct test_ff_f_data): Likewise.
20265         (struct test_ff_f_data_nexttoward): Likewise.
20266         (struct test_fi_f_data): Likewise.
20267         (struct test_fl_f_data): Likewise.
20268         (struct test_if_f_data): Likewise.
20269         (struct test_fff_f_data): Likewise.
20270         (struct test_c_f_data): Likewise.
20271         (struct test_f_f1_data): Likewise.
20272         (struct test_fF_f1_data): Likewise.
20273         (struct test_ffI_f1_data): Likewise.
20274         (struct test_c_c_data): Likewise.
20275         (struct test_cc_c_data): Likewise.
20276         (struct test_f_i_data): Likewise.
20277         (struct test_ff_i_data): Likewise.
20278         (struct test_f_l_data): Likewise.
20279         (struct test_f_L_data): Likewise.
20280         (struct test_fFF_11_data): Likewise.
20281         (RM_): New macro.
20282         (RM_FE_DOWNWARD): Likewise.
20283         (RM_FE_TONEAREST): Likewise.
20284         (RM_FE_TOWARDZERO): Likewise.
20285         (RM_FE_UPWARD): Likewise.
20286         (RUN_TEST_LOOP_f_f): Update references to expected results.
20287         (RUN_TEST_LOOP_2_f): Likewise.
20288         (RUN_TEST_LOOP_fff_f): Likewise.
20289         (RUN_TEST_LOOP_c_f): Likewise.
20290         (RUN_TEST_LOOP_f_f1): Likewise.
20291         (RUN_TEST_LOOP_fF_f1): Likewise.
20292         (RUN_TEST_LOOP_fI_f1): Likewise.
20293         (RUN_TEST_LOOP_ffI_f1): Likewise.
20294         (RUN_TEST_LOOP_c_c): Likewise.
20295         (RUN_TEST_LOOP_cc_c): Likewise.
20296         (RUN_TEST_LOOP_f_i): Likewise.
20297         (RUN_TEST_LOOP_f_i_tg): Likewise.
20298         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20299         (RUN_TEST_LOOP_f_b): Likewise.
20300         (RUN_TEST_LOOP_f_b_tg): Likewise.
20301         (RUN_TEST_LOOP_f_l): Likewise.
20302         (RUN_TEST_LOOP_f_L): Likewise.
20303         (RUN_TEST_LOOP_fFF_11): Likewise.
20304         * math/gen-libm-test.pl (parse_args): Output four copies of
20305         expected results for each test.
20307         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20308         (__ASSUME_UTIMES): Remove.
20309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20310         (__ASSUME_UTIMES): Likewise.
20312         * math/gen-auto-libm-tests.c: Update comment on output format.
20313         (output_for_one_input_case): Generate before-rounding and
20314         after-rounding information as conditions on output flags not
20315         floating-point format.
20316         * math/auto-libm-test-out: Regenerated.
20317         * math/gen-libm-test.pl (cond_value): New function.
20318         (or_cond_value): Use cond_value.
20319         (generate_testfile): Handle conditional exceptions.
20321 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20323         * math/libm-test.inc (max_valid_error): New variable.
20324         (init_max_error): Take new argument specifying whether function
20325         results are exactly determined.  Set max_valid_error and bound
20326         other variables for errors based on this argument.
20327         (set_max_error): Do not record results above max_valid_error.
20328         (check_float_internal): Only accept errors of up to 0.5ulps if
20329         also at most max_valid_error.
20330         (START): Take new argument EXACT and pass it to init_max_error.
20331         (acos_test): Update call to START.
20332         (acos_test_tonearest): Likewise.
20333         (acos_test_towardzero): Likewise.
20334         (acos_test_downward): Likewise.
20335         (acos_test_upward): Likewise.
20336         (acosh_test): Likewise.
20337         (asin_test): Likewise.
20338         (asin_test_tonearest): Likewise.
20339         (asin_test_towardzero): Likewise.
20340         (asin_test_downward): Likewise.
20341         (asin_test_upward): Likewise.
20342         (asinh_test): Likewise.
20343         (atan_test): Likewise.
20344         (atanh_test): Likewise.
20345         (atan2_test): Likewise.
20346         (cabs_test): Likewise.
20347         (cacos_test): Likewise.
20348         (cacosh_test): Likewise.
20349         (carg_test): Likewise.
20350         (casin_test): Likewise.
20351         (casinh_test): Likewise.
20352         (catan_test): Likewise.
20353         (catanh_test): Likewise.
20354         (cbrt_test): Likewise.
20355         (ccos_test): Likewise.
20356         (ccosh_test): Likewise.
20357         (ceil_test): Likewise.
20358         (cexp_test): Likewise.
20359         (cimag_test): Likewise.
20360         (clog_test): Likewise.
20361         (clog10_test): Likewise.
20362         (conj_test): Likewise.
20363         (copysign_test): Likewise.
20364         (cos_test): Likewise.
20365         (cos_test_tonearest): Likewise.
20366         (cos_test_towardzero): Likewise.
20367         (cos_test_downward): Likewise.
20368         (cos_test_upward): Likewise.
20369         (cosh_test): Likewise.
20370         (cosh_test_tonearest): Likewise.
20371         (cosh_test_towardzero): Likewise.
20372         (cosh_test_downward): Likewise.
20373         (cosh_test_upward): Likewise.
20374         (cpow_test): Likewise.
20375         (cproj_test): Likewise.
20376         (creal_test): Likewise.
20377         (csin_test): Likewise.
20378         (csinh_test): Likewise.
20379         (csqrt_test): Likewise.
20380         (ctan_test): Likewise.
20381         (ctan_test_tonearest): Likewise.
20382         (ctan_test_towardzero): Likewise.
20383         (ctan_test_downward): Likewise.
20384         (ctan_test_upward): Likewise.
20385         (ctanh_test): Likewise.
20386         (ctanh_test_tonearest): Likewise.
20387         (ctanh_test_towardzero): Likewise.
20388         (ctanh_test_downward): Likewise.
20389         (ctanh_test_upward): Likewise.
20390         (erf_test): Likewise.
20391         (erfc_test): Likewise.
20392         (exp_test): Likewise.
20393         (exp_test_tonearest): Likewise.
20394         (exp_test_towardzero): Likewise.
20395         (exp_test_downward): Likewise.
20396         (exp_test_upward): Likewise.
20397         (exp10_test): Likewise.
20398         (exp10_test_tonearest): Likewise.
20399         (exp10_test_towardzero): Likewise.
20400         (exp10_test_downward): Likewise.
20401         (exp10_test_upward): Likewise.
20402         (pow10_test): Likewise.
20403         (exp2_test): Likewise.
20404         (expm1_test): Likewise.
20405         (expm1_test_tonearest): Likewise.
20406         (expm1_test_towardzero): Likewise.
20407         (expm1_test_downward): Likewise.
20408         (expm1_test_upward): Likewise.
20409         (fabs_test): Likewise.
20410         (fdim_test): Likewise.
20411         (floor_test): Likewise.
20412         (fma_test): Likewise.
20413         (fma_test_towardzero): Likewise.
20414         (fma_test_downward): Likewise.
20415         (fma_test_upward): Likewise.
20416         (fmax_test): Likewise.
20417         (fmin_test): Likewise.
20418         (fmod_test): Likewise.
20419         (fpclassify_test): Likewise.
20420         (frexp_test): Likewise.
20421         (hypot_test): Likewise.
20422         (ilogb_test): Likewise.
20423         (isfinite_test): Likewise.
20424         (finite_test): Likewise.
20425         (isgreater_test): Likewise.
20426         (isgreaterequal_test): Likewise.
20427         (isinf_test): Likewise.
20428         (isless_test): Likewise.
20429         (islessequal_test): Likewise.
20430         (islessgreater_test): Likewise.
20431         (isnan_test): Likewise.
20432         (isnormal_test): Likewise.
20433         (issignaling_test): Likewise.
20434         (isunordered_test): Likewise.
20435         (j0_test): Likewise.
20436         (j1_test): Likewise.
20437         (jn_test): Likewise.
20438         (ldexp_test): Likewise.
20439         (lgamma_test): Likewise.
20440         (gamma_test): Likewise.
20441         (lrint_test): Likewise.
20442         (lrint_test_tonearest): Likewise.
20443         (lrint_test_towardzero): Likewise.
20444         (lrint_test_downward): Likewise.
20445         (lrint_test_upward): Likewise.
20446         (llrint_test): Likewise.
20447         (llrint_test_tonearest): Likewise.
20448         (llrint_test_towardzero): Likewise.
20449         (llrint_test_downward): Likewise.
20450         (llrint_test_upward): Likewise.
20451         (log_test): Likewise.
20452         (log10_test): Likewise.
20453         (log1p_test): Likewise.
20454         (log2_test): Likewise.
20455         (logb_test): Likewise.
20456         (logb_test_downward): Likewise.
20457         (lround_test): Likewise.
20458         (llround_test): Likewise.
20459         (modf_test): Likewise.
20460         (nearbyint_test): Likewise.
20461         (nextafter_test): Likewise.
20462         (nexttoward_test): Likewise.
20463         (pow_test): Likewise.
20464         (pow_test_tonearest): Likewise.
20465         (pow_test_towardzero): Likewise.
20466         (pow_test_downward): Likewise.
20467         (pow_test_upward): Likewise.
20468         (remainder_test): Likewise.
20469         (drem_test): Likewise.
20470         (remainder_test_tonearest): Likewise.
20471         (drem_test_tonearest): Likewise.
20472         (remainder_test_towardzero): Likewise.
20473         (drem_test_towardzero): Likewise.
20474         (remainder_test_downward): Likewise.
20475         (drem_test_downward): Likewise.
20476         (remainder_test_upward): Likewise.
20477         (drem_test_upward): Likewise.
20478         (remquo_test): Likewise.
20479         (rint_test): Likewise.
20480         (rint_test_tonearest): Likewise.
20481         (rint_test_towardzero): Likewise.
20482         (rint_test_downward): Likewise.
20483         (rint_test_upward): Likewise.
20484         (round_test): Likewise.
20485         (scalb_test): Likewise.
20486         (scalbn_test): Likewise.
20487         (scalbln_test): Likewise.
20488         (signbit_test): Likewise.
20489         (sin_test): Likewise.
20490         (sin_test_tonearest): Likewise.
20491         (sin_test_towardzero): Likewise.
20492         (sin_test_downward): Likewise.
20493         (sin_test_upward): Likewise.
20494         (sincos_test): Likewise.
20495         (sinh_test): Likewise.
20496         (sinh_test_tonearest): Likewise.
20497         (sinh_test_towardzero): Likewise.
20498         (sinh_test_downward): Likewise.
20499         (sinh_test_upward): Likewise.
20500         (sqrt_test): Likewise.
20501         (sqrt_test_tonearest): Likewise.
20502         (sqrt_test_towardzero): Likewise.
20503         (sqrt_test_downward): Likewise.
20504         (sqrt_test_upward): Likewise.
20505         (tan_test): Likewise.
20506         (tan_test_tonearest): Likewise.
20507         (tan_test_towardzero): Likewise.
20508         (tan_test_downward): Likewise.
20509         (tan_test_upward): Likewise.
20510         (tanh_test): Likewise.
20511         (tgamma_test): Likewise.
20512         (trunc_test): Likewise.
20513         (y0_test): Likewise.
20514         (y1_test): Likewise.
20515         (yn_test): Likewise.
20516         (significand_test): Likewise.
20518         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20519         individual tests in comment.
20520         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20521         (prev_max_error): New variable.
20522         (prev_real_max_error): Likewise.
20523         (prev_imag_max_error): Likewise.
20524         (compare_ulp_data): Don't refer to test names in comment.
20525         (find_test_ulps): Remove function.
20526         (find_function_ulps): Likewise.
20527         (find_complex_function_ulps): Likewise.
20528         (init_max_error): Take function name as argument.  Look up ulps
20529         for that function.
20530         (print_ulps): Remove function.
20531         (print_max_error): Use prev_max_error instead of calling
20532         find_function_ulps.
20533         (print_complex_max_error): Use prev_real_max_error and
20534         prev_imag_max_error instead of calling find_complex_function_ulps.
20535         (check_float_internal): Take max_ulp parameter instead of calling
20536         find_test_ulps.  Don't call print_ulps.
20537         (check_float): Update call to check_float_internal.
20538         (check_complex): Update calls to check_float_internal.
20539         (START): Pass argument to init_max_error.
20540         * math/gen-libm-test.pl (%results): Don't include "kind"
20541         information.
20542         (parse_ulps): Don't handle ulps of individual tests.
20543         (print_ulps_file): Likewise.
20544         (output_ulps): Likewise.
20545         * math/README.libm-test: Update.
20546         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20547         individual tests.
20548         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20549         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20550         * sysdeps/arm/libm-test-ulps: Likewise.
20551         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20552         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20553         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20554         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20555         * sysdeps/microblaze/libm-test-ulps: Likewise.
20556         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20557         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20558         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20559         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20560         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20561         * sysdeps/sh/libm-test-ulps: Likewise.
20562         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20563         * sysdeps/tile/libm-test-ulps: Likewise.
20564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20566 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20568         * math/libm-test.inc (print_complex_max_error): Check separately
20569         whether real and imaginary errors are within allowed range and
20570         pass 0 to print_complex_function_ulps instead of value within
20571         allowed range.
20573 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20575         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20576         formatting.
20577         (get_handles_fopen): Likewise.
20578         (do_write_test): Likewise.
20580         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20582         * libio/fileops.c (do_ftell): Use cached offset when
20583         available.
20584         * libio/iofwide.c (do_ftell_wide): Likewise.
20585         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20586         _IO_file_attach.
20587         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20589         [BZ #16532]
20590         * libio/libioP.h (get_file_offset): New function.
20591         * libio/fileops.c (get_file_offset): Likewise.
20592         (do_ftell): Likewise.
20593         (_IO_new_file_seekoff): Split out ftell logic.
20594         * libio/wfileops.c (do_ftell_wide): Likewise.
20595         (_IO_wfile_seekoff): Split out ftell logic.
20596         * libio/tst-ftell-active-handler.c: New test case.
20597         * libio/Makefile (tests): Add it.
20599 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20601         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20602         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20604 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20606         [BZ #16639]
20607         * nscd/connections.c (nscd_init): Call do_exit.
20608         (start_threads): Call do_exit and notify_parent.
20609         (begin_drop_privileges): Call do_exit.
20610         (finish_drop_privileges): Likewise.
20611         * nscd/selinux.c (preserve_capabilities): Likewise.
20612         (install_real_capabilities): Likewise.
20613         (nscd_selinux_enabled): Likewise.
20614         (avc_create_thread): Likewise.
20615         (avc_alloc_lock): Likewise.
20616         (nscd_avc_init): Likewise.
20617         * nscd/nscd.c (parent_fd): New static variable.
20618         (main): Create a pipe between parent and child processes.
20619         Skip closing parent_fd.
20620         (monitor_child): New function.
20621         (do_exit): Likewise.
20622         (notify_parent): Likewise.
20623         * nscd/nscd.h (notify_parent): Likewise.
20624         (do_exit): Likewise.
20626 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20628         * malloc/malloc.c (__libc_calloc): Revert last change.
20630 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20634 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20636         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20638         implementation.
20639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20640         (__libc_ifunc_impl_list): Likewise.
20641         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20642         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20643         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20644         * string/strrchr.c: Define STRRCHR.
20646 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20648         * benchtest/bench-strtok.c (simple_strtok): Delete.
20649         (strtok_string): Use as benchmark.
20650         * string/strtok (STRTOK): New macro.
20652 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20654         * manual/threads.texi: Add header and standard comments to all
20655         functions.
20657         * elf/dl-lookup.c (check_match): New function.
20658         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20659         (do_lookup_x): Remove nested function check_match. Use non-nested
20660         function check_match.
20662 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20664         * csu/Makefile (generated, before-compile): Use += rather than =.
20665         * catgets/Makefile (generated, generated-dirs): Likewise.
20666         * debug/Makefile (generated): Likewise.
20667         * dlfcn/Makefile (generated): Likewise.
20668         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20669         * iconvdata/Makefile (before-compile, generated): Likewise.
20670         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20671         * libio/Makefile (generated): Likewise.
20672         * malloc/Makefile (generated): Likewise.
20673         * manual/Makefile (generated, generated-dirs): Likewise.
20674         * misc/Makefile (generated): Likewise.
20675         * posix/Makefile (generated): Likewise.
20676         * resolv/Makefile (generated): Likewise.
20677         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20678         * timezone/Makefile (generated, generated-dirs): Likewise.
20680         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20682 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20684         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20685         power8 implementation.
20686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20687         file: POWER8 llround ifunc implementation.
20688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20689         (__lllround): Add POWER8 implementation.
20690         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20691         POWER8 llround implementation.
20693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20694         power8 implementation.
20695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20696         file: POWER8 llrint ifunc implementation.
20697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20698         Add POWER8 implementation.
20699         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20700         POWER8 llrint implementation.
20702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20703         power8 implementation.
20704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20705         file: POWER8 finite ifunc implementation.
20706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20707         Add POWER8 implementation.
20708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20709         Likewise.
20710         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20711         POWER8 finite implementation.
20712         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20715         power8 implementation.
20716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20717         file: POWER8 isinf ifunc implementation.
20718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20719         POWER8 implementation.
20720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20721         Likewise.
20722         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20723         isinf implementation.
20724         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20726         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20727         (INIT_ARCH): Add hwcap2 initialization.
20728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20729         power8 implementation.
20730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20731         file: POWER8 isnan ifunc implementation.
20732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20733         POWER8 implementation.
20734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20735         Likewise.
20736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20737         isnan implementation.
20738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20740 2014-02-27  Joey Ye  <joey.ye@arm.com>
20742         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20743         (_FP_NANFRAC_Q): Set to zero.
20745 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20747         [BZ #16623]
20748         * math/auto-libm-test-in: New test inputs.
20749         * math/auto-libm-test-out: Regenerate.
20750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20751         and DA.
20752         (__cos): Likewise.
20753         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20755 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20757         * scripts/evaluate-test.sh: Take new argument indicating whether
20758         failure is expected.
20759         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20760         indicating whether failure is expected.
20761         * conform/Makefile (test-xfail-run-conformtest): New variable.
20762         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20763         level.
20764         * posix/Makefile (test-xfail-annexc): New variable.
20765         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20767 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20769         * argp/Makefile: Include Makeconfig immediately after defining
20770         subdir.
20771         * assert/Makefile: Likewise.
20772         * benchtests/Makefile: Likewise.
20773         * catgets/Makefile: Likewise.
20774         * conform/Makefile: Likewise.
20775         * crypt/Makefile: Likewise.
20776         * csu/Makefile: Likewise.
20777         (all): Remove target.
20778         * ctype/Makefile: Include Makeconfig immediately after defining
20779         subdir.
20780         * debug/Makefile: Likewise.
20781         * dirent/Makefile: Likewise.
20782         * dlfcn/Makefile: Likewise.
20783         * gmon/Makefile: Likewise.
20784         * gnulib/Makefile: Likewise.
20785         * grp/Makefile: Likewise.
20786         * gshadow/Makefile: Likewise.
20787         * hesiod/Makefile: Likewise.
20788         * hurd/Makefile: Likewise.
20789         (all): Remove target.
20790         * iconvdata/Makefile: Include Makeconfig immediately after
20791         defining subdir.
20792         * inet/Makefile: Likewise.
20793         * intl/Makefile: Likewise.
20794         * io/Makefile: Likewise.
20795         * libio/Makefile: Likewise.
20796         (all): Remove target.
20797         * locale/Makefile: Include Makeconfig immediately after defining
20798         subdir.
20799         * login/Makefile: Likewise.
20800         * mach/Makefile: Likewise.
20801         (all): Remove target.
20802         * malloc/Makefile: Include Makeconfig immediately after defining
20803         subdir.
20804         (all): Remove target.
20805         * manual/Makefile: Include Makeconfig immediately after defining
20806         subdir.
20807         * math/Makefile: Likewise.
20808         * misc/Makefile: Likewise.
20809         * nis/Makefile: Likewise.
20810         * nss/Makefile: Likewise.
20811         * po/Makefile: Likewise.
20812         (all): Remove target.
20813         * posix/Makefile: Include Makeconfig immediately after defining
20814         subdir.
20815         * pwd/Makefile: Likewise.
20816         * resolv/Makefile: Likewise.
20817         * resource/Makefile: Likewise.
20818         * rt/Makefile: Likewise.
20819         * setjmp/Makefile: Likewise.
20820         * shadow/Makefile: Likewise.
20821         * signal/Makefile: Likewise.
20822         * socket/Makefile: Likewise.
20823         * soft-fp/Makefile: Likewise.
20824         * stdio-common/Makefile: Likewise.
20825         * stdlib/Makefile: Likewise.
20826         * streams/Makefile: Likewise.
20827         * string/Makefile: Likewise.
20828         * sunrpc/Makefile: Likewise.
20829         (all): Remove target.
20830         * sysvipc/Makefile: Include Makeconfig immediately after defining
20831         subdir.
20832         * termios/Makefile: Likewise.
20833         * time/Makefile: Likewise.
20834         * timezone/Makefile: Likewise.
20835         (all): Remove target.
20836         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20837         subdir.
20838         * wctype/Makefile: Likewise.
20840 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20842         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20843         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20844         (libc_feholdexcept_setround_mips): Ditto.
20845         (libc_feholdsetround): New.
20846         (libc_feholdsetroundf): New.
20847         (libc_feholdsetroundl): New.
20848         (libc_feupdateenv_test_mips): New.
20849         (libc_feupdateenv_test): New.
20850         (libc_feupdateenv_testf): New.
20851         (libc_feupdateenv_testl): New.
20852         (libc_feresetround): New.
20853         (libc_feresetroundf): New.
20854         (libc_feresetroundl): New.
20855         (libc_fetestexcept_mips): New.
20856         (libc_fetestexcept): New.
20857         (libc_fetestexceptf): New.
20858         (libc_fetestexceptl): New.
20859         (HAVE_RM_CTX): New.
20860         (libc_feholdexcept_setround_mips_ctx): New.
20861         (libc_feholdexcept_setround_ctx): New.
20862         (libc_feholdexcept_setroundf_ctx): New.
20863         (libc_feholdexcept_setroundl_ctx): New.
20864         (libc_fesetenv_mips_ctx): New.
20865         (libc_fesetenv_ctx): New.
20866         (libc_fesetenv_ctxf): New.
20867         (libc_fesetenv_ctxl): New.
20868         (libc_feupdateenv_mips_ctx): New.
20869         (libc_feupdateenv_ctx): New.
20870         (libc_feupdateenvf_ctx): New.
20871         (libc_feupdateenvl_ctx): New.
20872         (libc_feholdsetround_mips_ctx): New.
20873         (libc_feholdsetround_ctx): New.
20874         (libc_feholdsetroundf_ctx): New.
20875         (libc_feholdsetroundl_ctx): New.
20876         (libc_feresetround_mips_ctx): New.
20877         (libc_feresetround_ctx): New.
20878         (libc_feresetroundf_ctx): New.
20879         (libc_feresetroundl_ctx): New.
20881 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20883         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20885         * manual/ipc.texi: New file.
20886         * manual/Makefile (chapters): Add ipc.
20887         * manual/job.texi: Add "Inter-Process Communication" to next.
20888         * manual/process.texi: Add "Inter-Process Communication" to prev.
20890 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20894 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20896         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20898         * manual/arith.texi: Fix spaces after sentences.
20899         * manual/charset.texi: Likewise.
20900         * manual/errno.texi: Likewise.
20901         * manual/install.texi: Likewise.
20902         * manual/llio.texi: Likewise.
20903         * manual/locale.texi: Likewise.
20904         * manual/maint.texi: Likewise.
20905         * manual/math.texi: Likewise.
20906         * manual/memory.texi: Likewise.
20907         * manual/message.texi: Likewise.
20908         * manual/probes.texi: Likewise.
20909         * manual/resource.texi: Likewise.
20910         * manual/signal.texi: Likewise.
20911         * manual/socket.texi: Likewise.
20912         * manual/stdio.texi: Likewise.
20913         * manual/string.texi: Likewise.
20914         * manual/time.texi: Likewise.
20915         * manual/users.texi: Likewise.
20917 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20919         [BZ #16632]
20920         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20921         _DEFAULT_SOURCE is defined.
20923 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20924             Carlos O'Donell  <carlos@redhat.com>
20926         [BZ #16613]
20927         * elf/dl-tls.c (_dl_count_modids): New function.
20928         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20929         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20930         audit library and increment generation counter.
20931         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20932         * elf/tst-audit9.c: New file.
20933         * elf/tst-auditmod9a.c: New file.
20934         * elf/tst-auditmod9b.c: New file.
20935         * elf/Makefile: Add rules to build and run tst-audit9.
20937 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20939         [BZ #15347]
20940         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20942 2014-02-25  Will Newton  <will.newton@linaro.org>
20944         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20945         (__longjmp): Restore sp and lr before restoring callee
20946         saved registers.  Add longjmp and longjmp_target
20947         SystemTap probe point.
20948         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20949         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20950         Define to zero to match jmpbuf layout.
20951         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20952         (__sigsetjmp): Save sp and lr before saving callee
20953         saved registers.  Add setjmp SystemTap probe point.
20955 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20957         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20959 2014-02-24  Andreas Schwab  <schwab@suse.de>
20961         [BZ #15804]
20962         * elf/pldd.c (wait_for_ptrace_stop): New function.
20963         (main): Call it after attaching.
20965 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20967         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20968         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20969         Versions files is now verboten.
20970         * hurd/Versions (libc: GLIBC_2.0):
20971         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20972         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20973         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20974         * mach/Versions: Likewise.
20976         * csu/Versions: Remove unused %include.
20977         * resolv/Versions: Likewise.
20979 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20981         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20982         ($(objpfx)check-local-headers.out): Likewise.
20983         ($(objpfx)begin-end-check.out): Likewise.
20984         * Makerules (check-abi-%.out): Likewise.
20985         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20986         ($(objpfx)test2.cat): Likewise.
20987         ($(objpfx)de/libc.cat): Likewise.
20988         ($(objpfx)test-gencat.out): Likewise.
20989         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20990         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20991         ($(objpfx)noload-mem): Likewise.
20992         ($(objpfx)tst-pathopt.out): Likewise.
20993         ($(objpfx)tst-rtld-load-self.out): Likewise.
20994         ($(objpfx)tst-array1-cmp.out): Likewise.
20995         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20996         ($(objpfx)tst-array2-cmp.out): Likewise.
20997         ($(objpfx)tst-array3-cmp.out): Likewise.
20998         ($(objpfx)tst-array4-cmp.out): Likewise.
20999         ($(objpfx)tst-array5-cmp.out): Likewise.
21000         ($(objpfx)tst-array5-static-cmp.out): Likewise.
21001         ($(objpfx)check-textrel.out): Likewise.
21002         ($(objpfx)check-execstack.out): Likewise.
21003         ($(objpfx)check-localplt.out): Likewise.
21004         ($(objpfx)order2-cmp.out): Likewise.
21005         ($(objpfx)tst-leaks1-mem): Likewise.
21006         ($(objpfx)tst-leaks1-static-mem): Likewise.
21007         ($(objpfx)tst-initorder-cmp.out): Likewise.
21008         ($(objpfx)tst-initorder2-cmp.out): Likewise.
21009         ($(objpfx)tst-unused-dep.out): Likewise.
21010         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
21011         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
21012         * iconv/Makefile (test-iconvconfig): Likewise.
21013         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21014         ($(objpfx)iconv-test.out): Likewise.
21015         ($(objpfx)tst-tables.out): Likewise.
21016         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21017         ($(objpfx)tst-gettext.out): Likewise.
21018         ($(objpfx)tst-translit.out): Likewise.
21019         ($(objpfx)tst-gettext2.out): Likewise.
21020         ($(objpfx)tst-gettext4.out): Likewise.
21021         ($(objpfx)tst-gettext6.out): Likewise.
21022         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21023         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21024         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21025         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21026         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21027         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21028         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21029         ($(objpfx)wordexp-tst.out): Likewise.
21030         ($(objpfx)annexc.out): Likewise.
21031         ($(objpfx)tst-fnmatch-mem): Likewise.
21032         ($(objpfx)bug-regex2-mem): Likewise.
21033         ($(objpfx)bug-regex14-mem): Likewise.
21034         ($(objpfx)bug-regex21-mem): Likewise.
21035         ($(objpfx)bug-regex31-mem): Likewise.
21036         ($(objpfx)tst-vfork3-mem): Likewise.
21037         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21038         ($(objpfx)tst-pcre-mem): Likewise.
21039         ($(objpfx)tst-boost-mem): Likewise.
21040         ($(objpfx)tst-getconf.out): Likewise.
21041         ($(objpfx)bug-ga2-mem): Likewise.
21042         ($(objpfx)bug-glob2-mem): Likewise.
21043         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21044         ($(objpfx)mtrace-tst-leaks2): Likewise.
21045         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21046         ($(objpfx)tst-printf.out): Likewise.
21047         ($(objpfx)tst-setvbuf1.out): Likewise.
21048         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21049         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21050         ($(objpfx)tst-fmtmsg.out): Likewise.
21051         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21052         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21054         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21055         * bits/sigaction.h [__USE_MISC]: Likewise.
21056         * bits/waitstatus.h: Update #endif comments.
21057         * ctype/ctype.h: Likewise.
21058         * dirent/dirent.h: Likewise.
21059         [__USE_MISC]: Remove redundant conditionals.
21060         * grp/grp.h: Update #endif comments.
21061         [__USE_GNU]: Remove redundant conditionals.
21062         [__USE_MISC]: Likewise.
21063         * inet/netinet/in.h [__USE_GNU]: Likewise.
21064         * io/sys/stat.h [__USE_MISC]: Likewise.
21065         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21066         * libio/bits/stdio.h: Update #endif comments.
21067         [__USE_MISC]: Remove redundant conditionals.
21068         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21069         * libio/stdio.h: Update #endif comments.
21070         [__USE_MISC]: Remove redundant conditionals.
21071         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21072         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21073         * math/math.h: Update #else and #endif comments.
21074         [__USE_MISC]: Remove redundant conditionals.
21075         * misc/sys/uio.h: Update #endif comments.
21076         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21077         * posix/glob.h [__USE_MISC]: Likewise.
21078         * posix/sys/types.h: Update #endif comments.
21079         [__USE_MISC]: Remove redundant conditionals.
21080         * posix/sys/wait.h: Update #endif comments.
21081         [__USE_MISC]: Remove redundant conditionals.
21082         * posix/unistd.h: Update #endif comments.
21083         [__USE_MISC]: Remove redundant conditionals.
21084         * pwd/pwd.h [__USE_GNU]: Likewise.
21085         [__USE_MISC]: Likewise.
21086         * resolv/netdb.h [__USE_GNU]: Likewise.
21087         * signal/signal.h: Update #endif comments.
21088         [__USE_MISC]: Remove redundant conditionals.
21089         * stdlib/stdlib.h: Update #else and #endif comments.
21090         [__USE_MISC]: Remove redundant conditionals.
21091         [__USE_GNU]: Likewise.
21092         * string/bits/string2.h [__USE_MISC]: Likewise.
21093         * string/string.h: Update #endif comments.
21094         [__USE_MISC]: Remove redundant conditionals.
21095         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21096         Likewise.
21097         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21098         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21099         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21100         Likewise.
21101         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21102         Likewise.
21103         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21104         comments.
21105         [__USE_MISC]: Remove redundant conditionals.
21106         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21107         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21108         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21109         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21110         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21111         Likewise.
21112         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21113         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21114         Likewise.
21115         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21116         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21117         Likewise.
21118         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21119         Likewise.
21120         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21121         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21122         Likewise.
21123         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21124         Likewise.
21125         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21126         * sysdeps/x86/bits/string.h: Update #endif comments.
21127         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21128         conditionals.
21129         * time/sys/time.h: Update #endif comments.
21130         * time/time.h: Likewise.
21131         [__USE_MISC]: Remove redundant conditionals.
21133 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21135         [BZ #16600]
21136         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21138 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21140         * Versions.def (librt): Add GLIBC_2.17.
21142 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21144         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21145         synonym for _SYS_AUXV_H to allow direct inclusion.
21146         * sysdeps/sparc/bits/hwcap.h: Likewise.
21147         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21148         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21149         * sysdeps/sparc/sysdep.h: Likewise.
21151 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21153         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21155 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21157         * benchtests/bench-strrchr.c: Print length instead of position.
21159 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21161         [BZ #16611]
21162         * sysdeps/unix/sysv/linux/kernel-features.h
21163         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21164         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21165         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21166         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21167         Likewise.
21168         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21169         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21170         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21171         (__ASSUME_SENDMMSG): Define instead of using previous
21172         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21173         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21174         (__ASSUME_SENDMMSG_SYSCALL): Define.
21175         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21176         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21179         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21180         Likewise.
21181         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21182         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21183         Likewise.
21184         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21185         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21186         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21187         [__ASSUME_SENDMMSG]: Change conditionals to
21188         [__ASSUME_SENDMMSG_SOCKETCALL].
21189         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21190         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21191         Define.
21192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21193         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21194         Likewise.
21195         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21196         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21197         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21198         [!__ASSUME_SENDMMSG]: Change conditional to
21199         [!__ASSUME_SENDMMSG_SOCKETCALL].
21200         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21201         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21202         Define.
21204         [BZ #16610]
21205         * sysdeps/unix/sysv/linux/kernel-features.h
21206         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21207         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21208         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21209         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21210         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21211         [__i386__ || __sparc__]
21212         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21213         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21214         (__ASSUME_RECVMMSG): Define instead of using previous
21215         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21216         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21217         (__ASSUME_RECVMMSG_SYSCALL): Define.
21218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21219         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21220         Likewise.
21221         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21223         Likewise.
21224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21226         Likewise.
21227         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21228         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21229         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21230         [__ASSUME_RECVMMSG]: Change condition to
21231         [__ASSUME_RECVMMSG_SOCKETCALL].
21232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21233         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21234         Define.
21235         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21236         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21238         Likewise.
21239         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21240         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21241         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21242         [!__ASSUME_RECVMMSG]: Change condition to
21243         [!__ASSUME_RECVMMSG_SOCKETCALL].
21244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21245         (__ASSUME_RECVMMSG_SYSCALL): Define.
21247         [BZ #16609]
21248         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21249         __powerpc__ || __s390__ || __sh__ || __sparc__]
21250         (__ASSUME_SOCKETCALL): Define.
21251         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21252         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21253         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21254         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21255         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21256         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21257         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21258         (__ASSUME_ACCEPT4): Define instead of using previous
21259         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21260         __powerpc__ || __sparc__ || __s390__)] condition.
21261         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21262         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21263         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21264         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21265         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21266         [!__ASSUME_ACCEPT4]: Change condition to
21267         [!__ASSUME_ACCEPT4_SOCKETCALL].
21268         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21269         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21270         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21271         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21272         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21273         __ASSUME_ACCEPT4_SYSCALL.
21274         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21275         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21276         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21277         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21278         __ASSUME_ACCEPT4_SYSCALL.
21279         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21280         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21281         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21282         [__ASSUME_ACCEPT4]: Change condition to
21283         [__ASSUME_ACCEPT4_SOCKETCALL].
21284         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21285         (__ASSUME_SOCKETCALL): Define.
21286         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21287         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21288         (__ASSUME_SOCKETCALL): Define.
21289         (__ASSUME_ACCEPT4): Remove.
21290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21291         Define.
21292         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21293         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21294         Likewise.
21295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21296         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21298         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21299         macro.
21300         (HWCAP_ARM_LPAE): Likewise.
21301         (HWCAP_ARM_EVTSTRM): Likewise.
21302         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21303         Add vpfd32, lpae and evtstrm.
21304         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21305         Increase to 22.
21307 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21309         * math/auto-libm-test-in: Add tests of clog10.
21310         * math/auto-libm-test-out: Regenerated.
21311         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21312         * sysdeps/i386/fpu/libm-test-ulps: Update.
21313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21315 2014-02-18  Andreas Schwab  <schwab@suse.de>
21317         [BZ #16574]
21318         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21319         Store non-zero if the second buffer was newly allocated.
21320         (send_dg): Likewise.
21321         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21322         to send_vc and send_dg.
21323         (res_nsend): Pass NULL for ansp2_malloced.
21324         * resolv/res_query.c (__libc_res_nquery): Add parameter
21325         answerp2_malloced and pass it down to __libc_res_nsend.
21326         (res_nquery): Pass additional NULL to __libc_res_nquery.
21327         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21328         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21329         second answer buffer if answerp2_malloced was set.
21330         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21331         (__libc_res_nquerydomain): Add parameter
21332         answerp2_malloced and pass it down to __libc_res_nquery.
21333         (res_nquerydomain): Pass additional NULL to
21334         __libc_res_nquerydomain.
21335         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21336         additional NULL to __libc_res_nsend and __libc_res_nquery.
21337         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21338         additional NULL to __libc_res_nsearch.
21339         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21340         parameter of __libc_res_nsearch to check for separately allocated
21341         second buffer.
21342         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21343         __libc_res_nquery.
21344         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21345         additional NULL to __libc_res_nquery.
21346         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21347         __libc_res_nsearch.
21348         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21349         * include/resolv.h: Update prototypes of __libc_res_nquery,
21350         __libc_res_nsearch, __libc_res_nsend.
21352 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21354         * math/auto-libm-test-in: Add tests of fma.
21355         * math/auto-libm-test-out: Regenerated.
21356         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21357         (fma_towardzero_test_data): Likewise.
21358         (fma_downward_test_data): Likewise.
21359         (fma_upward_test_data): Likewise.
21360         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21361         mpc_mode.
21362         (rounding_modes): Add values for new field.
21363         (func_calc_method): Add value mpfr_fff_f.
21364         (func_calc_desc): Add mpfr_fff_f union field.
21365         (test_function): Add field exact_args.
21366         (FUNC): Add macro argument EXACT_ARGS.
21367         (FUNC_mpfr_f_f): Update call to FUNC.
21368         (FUNC_mpfr_f_f): Likewise.
21369         (FUNC_mpfr_ff_f): Likewise.
21370         (FUNC_mpfr_if_f): Likewise.
21371         (FUNC_mpc_c_f): Likewise.
21372         (FUNC_mpc_c_c): Likewise.
21373         (test_functions): Add fma.  Update calls to FUNC.
21374         (handle_input_arg): Add argument exact_args.
21375         (add_test): Update call to handle_input_arg.
21376         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21377         (output_for_one_input_case): Update call to calc_generic_results.
21378         Recalculate exact zero results in each rounding mode.
21380         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21381         non-negative before setting low bit.
21382         * math/auto-libm-test-in: Mark one asin test possibly having
21383         spurious underflow.
21384         * math/auto-libm-test-out: Regenerated.
21385         * sysdeps/i386/fpu/libm-test-ulps: Update.
21386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21388 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21390         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21391         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21392         ports/sysdeps/unix/sysv/linux/microblaze.
21393         * README: Add missing listing for microblaze*-*-linux-gnu.
21395 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21398         duplicate code
21400 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21402         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21403         * sysdeps/unix/sysv/linux/ia64: Move directory from
21404         ports/sysdeps/unix/sysv/linux/ia64.
21405         * README: Update listing for ia64-*-linux-gnu.
21407 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21408             Joseph Myers  <joseph@codesourcery.com>
21410         * Makeconfig (test-name): New variable.
21411         (evaluate-test): Likewise.
21412         * Makerules (do-test-clean): Remove .test-result files.
21413         (common-mostlyclean): Likewise.
21414         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21415         * scripts/evaluate-test.sh: New file.
21417 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21419         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21420         separate $(objpfx)tst-fopenloc-cmp.out and
21421         $(objpfx)tst-fopenloc-mem.out targets.
21422         (tests): Update dependencies.
21423         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21424         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21425         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21426         (tst-rxspencer-no-utf8-ARGS): New variable.
21427         (tst-rxspencer-no-utf8-ENV): Likewise.
21428         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21429         instead of $(objpfx)tst-rxspencer-mem.
21430         ($(objpfx)tst-rxspencer-mem): Change target to
21431         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21432         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21433         * posix/tst-rxspencer-no-utf8.c: New file.
21435         * elf/Makefile ($(objpfx)order.out): Remove rule.
21436         [$(run-built-tests) = yes] (tests): Depend on
21437         $(objpfx)order-cmp.out.
21438         ($(objpfx)order-cmp.out): New rule.
21439         [$(run-built-tests) = yes] (tests): Depend on
21440         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21441         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21442         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21443         $(objpfx)tst-array5-static-cmp.out.
21444         ($(objpfx)tst-array1.out): Remove rule.
21445         ($(objpfx)tst-array1-cmp.out): New rule.
21446         ($(objpfx)tst-array1-static.out): Remove rule.
21447         ($(objpfx)tst-array1-static-cmp.out): New rule.
21448         ($(objpfx)tst-array2.out): Remove rule.
21449         ($(objpfx)tst-array2-cmp.out): New rule.
21450         ($(objpfx)tst-array3.out): Remove rule.
21451         ($(objpfx)tst-array3-cmp.out): New rule.
21452         ($(objpfx)tst-array4.out): Remove rule.
21453         ($(objpfx)tst-array4-cmp.out): New rule.
21454         ($(objpfx)tst-array5.out): Remove rule.
21455         ($(objpfx)tst-array5-cmp.out): New rule.
21456         ($(objpfx)tst-array5-static.out): Remove rule.
21457         ($(objpfx)tst-array5-static-cmp.out): New rule.
21458         [$(run-built-tests) = yes] (tests): Depend on
21459         $(objpfx)order2-cmp.out.
21460         ($(objpfx)order2.out): Remove rule.
21461         ($(objpfx)order2-cmp.out): New rule.
21462         ($(objpfx)tst-initorder.out): Remove rule.
21463         [$(run-built-tests) = yes] (tests): Depend on
21464         $(objpfx)tst-initorder-cmp.out.
21465         ($(objpfx)tst-initorder-cmp.out): New rule.
21466         ($(objpfx)tst-initorder2.out): Remove rule.
21467         [$(run-built-tests) = yes] (tests): Depend on
21468         $(objpfx)tst-initorder2-cmp.out.
21469         ($(objpfx)tst-initorder2-cmp.out): New rule.
21470         [$(run-built-tests) = yes] (tests): Depend on
21471         $(objpfx)tst-unused-dep-cmp.out.
21472         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21473         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21474         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21475         on $(objpfx)tst-setvbuf1-cmp.out.
21476         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21477         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21478         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21479         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21480         ($(objpfx)tst-svc.out): Remove rule.
21481         ($(objpfx)tst-svc-cmp.out): New rule.
21483 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21485         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21486         * ctype/ctype.h [__USE_MISC]: Likewise.
21487         * dirent/dirent.h [__USE_MISC]: Likewise.
21488         * grp/grp.h [__USE_MISC]: Likewise.
21489         * io/fcntl.h [__USE_MISC]: Likewise.
21490         * io/sys/stat.h [__USE_MISC]: Likewise.
21491         * libio/stdio.h [__USE_MISC]: Likewise.
21492         * posix/unistd.h [__USE_MISC]: Likewise.
21493         * pwd/pwd.h [__USE_MISC]: Likewise.
21494         * stdlib.h [__USE_MISC]: Likewise.
21495         * string/bits/string2.h [__USE_MISC]: Likewise.
21496         * string/string.h [__USE_MISC]: Likewise.
21497         * time/time.h [__USE_MISC]: Likewise.
21499 2014-02-13  Andreas Schwab  <schwab@suse.de>
21501         [BZ #16574]
21502         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21503         second answer buffer if it was separately allocated.
21505 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21507         * sysdeps/mips/math-tests.h: Include <features.h>.
21508         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21509         (ROUNDING_TESTS_long_double): Do not define.
21510         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21511         (EXCEPTION_TESTS_long_double): Likewise.
21512         * sysdeps/mips/mips64/libm-test-ulps: Update.
21514         * include/features.h (__USE_BSD): Remove macro definitions.
21515         (__USE_SVID): Likewise.
21516         (_BSD_SOURCE): Likewise.
21517         (_SVID_SOURCE): Likewise.
21518         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21519         from definition of _DEFAULT_SOURCE.
21520         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21521         [_DEFAULT_SOURCE].
21522         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21523         * bits/mman.h [__USE_BSD]: Likewise.
21524         * bits/termios.h [__USE_BSD]: Likewise.
21525         * bits/waitstatus.h [__USE_BSD]: Likewise.
21526         * ctype/ctype.h [__USE_SVID]: Likewise.
21527         * dirent/dirent.h [__USE_BSD]: Likewise.
21528         * grp/grp.h [__USE_SVID]: Likewise.
21529         [__USE_BSD]: Likewise.
21530         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21531         * io/fcntl.h [__USE_BSD]: Likewise.
21532         * io/ftw.h [__USE_BSD]: Likewise.
21533         * io/sys/stat.h [__USE_BSD]: Likewise.
21534         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21535         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21536         * libio/stdio.h [__USE_SVID]: Likewise.
21537         [__USE_BSD]: Likewise.
21538         * math/math.h [__USE_SVID]: Likewise.
21539         [__USE_BSD]: Likewise.
21540         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21541         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21542         * misc/search.h [__USE_SVID]: Likewise.
21543         * misc/sys/mman.h [__USE_BSD]: Likewise.
21544         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21545         * misc/sys/uio.h [__USE_BSD]: Likewise.
21546         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21547         * posix/glob.h [__USE_BSD]: Likewise.
21548         * posix/regex.h [__USE_BSD]: Likewise.
21549         * posix/sys/types.h [__USE_BSD]: Likewise.
21550         [__USE_SVID]: Likewise.
21551         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21552         * posix/sys/wait.h [__USE_BSD]: Likewise.
21553         [__USE_SVID]: Likewise.
21554         * posix/unistd.h [__USE_BSD]: Likewise.
21555         [__USE_SVID]: Likewise.
21556         * pwd/pwd.h [__USE_SVID]: Likewise.
21557         * resolv/netdb.h [__USE_BSD]: Likewise.
21558         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21559         * signal/signal.h [__USE_BSD]: Likewise.
21560         [__USE_SVID]: Likewise.
21561         * socket/sys/socket.h [__USE_BSD]: Likewise.
21562         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21563         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21564         [__USE_SVID]: Likewise.
21565         * string/bits/string2.h [__USE_BSD]: Likewise.
21566         [__USE_SVID]: Likewise.
21567         * string/bits/string3.h [__USE_BSD]: Likewise.
21568         * string/endian.h [__USE_BSD]: Likewise.
21569         * string/string.h [__USE_SVID]: Likewise.
21570         [__USE_BSD]: Likewise.
21571         * string/strings.h [__USE_BSD]: Likewise.
21572         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21573         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21574         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21575         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21576         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21577         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21578         Likewise.
21579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21580         Likewise.
21581         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21582         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21583         Likewise.
21584         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21585         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21586         Likewise.
21587         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21588         Likewise.
21589         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21590         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21591         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21592         Likewise.
21593         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21594         Likewise.
21595         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21596         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21597         * termios/termios.h [__USE_BSD]: Likewise.
21598         * time/sys/time.h [__USE_BSD]: Likewise.
21599         * time/time.h [__USE_BSD]: Likewise.
21600         [__USE_SVID]: Likewise.
21602         * Makefile (subdir_targets): Remove subdir_lint.out.
21604         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21605         (do-tst-printf): Likewise.
21606         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21607         $(objpfx)tst-printf.out.
21609         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21611         * Makerules (check-abi-%): Change target to
21612         $(objpfx)check-abi-%.out.
21613         (check-abi target): Update dependencies.
21614         (check-abi-pattern variable): Redirect output of diff to $@.
21615         (check-abi variable): Likewise.
21616         * elf/Makefile (check-abi): Update dependencies.
21618         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21619         unused.
21620         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21621         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21622         subnormal range.
21623         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21624         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21625         value has largest subnormal exponent.
21626         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21627         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21628         * sysdeps/aarch64/soft-fp/sfp-machine.h
21629         (_FP_TININESS_AFTER_ROUNDING): New macro.
21630         * sysdeps/alpha/soft-fp/sfp-machine.h
21631         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21632         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21633         Likewise.
21634         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21635         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21636         * sysdeps/mips/soft-fp/sfp-machine.h
21637         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21638         * sysdeps/powerpc/soft-fp/sfp-machine.h
21639         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21640         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21641         Likewise.
21642         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21643         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21644         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21645         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21646         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21647         Likewise.
21649 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21651         [BZ #16545]
21652         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21653         model 1.
21655 2014-02-12  Richard Henderson  <rth@redhat.com>
21657         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21658         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21659         * sysdeps/unix/sysv/linux/alpha: Move directory from
21660         ports/sysdeps/unix/sysv/linux/alpha.
21661         * README: Update listing for alpha-*-linux-gnu.
21663 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21665         * include/features.h: Update comment documenting feature test
21666         macros.
21667         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21668         _DEFAULT_SOURCE.
21669         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21670         (_SVID_SOURCE): Likewise.
21671         (_DEFAULT_SOURCE): Update description of default features.
21672         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21673         with _GNU_SOURCE.
21674         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21675         (S_ISVTX): Likewise.
21676         * manual/math.texi (Mathematical Constants): Likewise.
21677         * manual/signal.texi (Interrupted Primitives): Likewise.
21678         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21679         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21680         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21681         Don't refer to _SVID_SOURCE in warning text.
21683         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21685         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21686         already defined.
21687         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21688         * sysdeps/mips/dl-lookup.c: Remove.
21689         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21691 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21693         [BZ #16447]
21694         * math/auto-libm-test-in: Add testcase for expl.
21695         * math/auto-libm-test-out: Regenerate.
21696         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21697         calculation of unsafe.
21698         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21700 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21702         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21703         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21704         ports/sysdeps/unix/sysv/linux/aarch64.
21705         * README: Update listing for aarch64*-*-linux-gnu.
21707 2014-02-11  Will Newton  <will.newton@linaro.org>
21709         * manual/probes.texi (Mathematical Function Probes): Use
21710         "triggered" instead of "hit".
21712         * manual/probes.texi (Internal Probes): Add documentation
21713         of setjmp, longjmp and longjmp_target probes.
21715         * include/stap-probe.h: Add comment about probe argument
21716         format.
21718         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21719         definition.  (tr_where, tr_freehook, tr_mallochook,
21720         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21722 2014-02-11  David S. Miller  <davem@davemloft.net>
21724         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21725         processing int_tests.
21727 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21729         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21730         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21731         * sysdeps/unix/sysv/linux/mips: Move directory from
21732         ports/sysdeps/unix/sysv/linux/mips.
21733         * README: Update listing for mips-*-linux-gnu and
21734         mips64-*-linux-gnu.
21736 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21738         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21739         * sysdeps/unix/sysv/linux/m68k: Move directory from
21740         ports/sysdeps/unix/sysv/linux/m68k.
21741         * README: Update listing for m68k-*-linux-gnu.
21743 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21745         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21746         * sysdeps/unix/sysv/linux/generic: Move directory from
21747         ports/sysdeps/unix/sysv/linux/generic.
21748         * sysdeps/unix/sysv/linux/tile: Move directory from
21749         ports/sysdeps/unix/sysv/linux/tile.
21750         * README: Update listing for tile*-*-linux-gnu.
21752 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21754         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21755         __builtin_expect.
21756         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21757         * catgets/open_catalog.c (__open_catalog): Likewise.
21758         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21759         * debug/confstr_chk.c: Likewise.
21760         * debug/fread_chk.c (__fread_chk): Likewise.
21761         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21762         * debug/getgroups_chk.c: Likewise.
21763         * debug/mbsnrtowcs_chk.c: Likewise.
21764         * debug/mbsrtowcs_chk.c: Likewise.
21765         * debug/mbstowcs_chk.c: Likewise.
21766         * debug/memcpy_chk.c: Likewise.
21767         * debug/memmove_chk.c: Likewise.
21768         * debug/mempcpy_chk.c: Likewise.
21769         * debug/memset_chk.c: Likewise.
21770         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21771         * debug/strcat_chk.c (__strcat_chk): Likewise.
21772         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21773         * debug/strncat_chk.c (__strncat_chk): Likewise.
21774         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21775         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21776         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21777         * debug/wcpncpy_chk.c: Likewise.
21778         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21779         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21780         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21781         * debug/wcsncpy_chk.c: Likewise.
21782         * debug/wcsnrtombs_chk.c: Likewise.
21783         * debug/wcsrtombs_chk.c: Likewise.
21784         * debug/wcstombs_chk.c: Likewise.
21785         * debug/wmemcpy_chk.c: Likewise.
21786         * debug/wmemmove_chk.c: Likewise.
21787         * debug/wmempcpy_chk.c: Likewise.
21788         * debug/wmemset_chk.c: Likewise.
21789         * dirent/scandirat.c (SCANDIRAT): Likewise.
21790         * dlfcn/dladdr1.c (dladdr1): Likewise.
21791         * dlfcn/dladdr.c (dladdr): Likewise.
21792         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21793         * dlfcn/dlerror.c (__dlerror): Likewise.
21794         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21795         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21796         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21797         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21798         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21799         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21800         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21801         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21802         Likewise.
21803         * elf/dl-conflict.c: Likewise.
21804         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21805         * elf/dl-dst.h: Likewise.
21806         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21807         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21808         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21809         * elf/dl-init.c (call_init, _dl_init): Likewise.
21810         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21811         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21812         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21813         Likewise.
21814         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21815         Likewise.
21816         * elf/dl-minimal.c (__libc_memalign): Likewise.
21817         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21818         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21819         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21820         * elf/dl-sym.c (do_sym): Likewise.
21821         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21822         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21823         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21824         * elf/dl-writev.h (_dl_writev): Likewise.
21825         * elf/ldconfig.c (search_dir): Likewise.
21826         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21827         (dl_main): Likewise.
21828         * elf/setup-vdso.h (setup_vdso): Likewise.
21829         * grp/compat-initgroups.c (compat_call): Likewise.
21830         * grp/fgetgrent.c (fgetgrent): Likewise.
21831         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21832         * grp/putgrent.c (putgrent): Likewise.
21833         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21834         Likewise.
21835         * hurd/hurdinit.c: Likewise.
21836         * iconvdata/8bit-gap.c (struct): Likewise.
21837         * iconvdata/ansi_x3.110.c : Likewise.
21838         * iconvdata/big5.c : Likewise.
21839         * iconvdata/big5hkscs.c : Likewise.
21840         * iconvdata/cp1255.c: Likewise.
21841         * iconvdata/cp1258.c : Likewise.
21842         * iconvdata/cp932.c : Likewise.
21843         * iconvdata/euc-cn.c: Likewise.
21844         * iconvdata/euc-jisx0213.c : Likewise.
21845         * iconvdata/euc-jp.c: Likewise.
21846         * iconvdata/euc-jp-ms.c : Likewise.
21847         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21848         * iconvdata/gb18030.c : Likewise.
21849         * iconvdata/gbbig5.c (const): Likewise.
21850         * iconvdata/gbgbk.c: Likewise.
21851         * iconvdata/gbk.c : Likewise.
21852         * iconvdata/ibm1364.c : Likewise.
21853         * iconvdata/ibm930.c : Likewise.
21854         * iconvdata/ibm932.c: Likewise.
21855         * iconvdata/ibm933.c : Likewise.
21856         * iconvdata/ibm935.c : Likewise.
21857         * iconvdata/ibm937.c : Likewise.
21858         * iconvdata/ibm939.c : Likewise.
21859         * iconvdata/ibm943.c: Likewise.
21860         * iconvdata/iso_11548-1.c: Likewise.
21861         * iconvdata/iso-2022-cn.c : Likewise.
21862         * iconvdata/iso-2022-cn-ext.c : Likewise.
21863         * iconvdata/iso-2022-jp-3.c: Likewise.
21864         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21865         * iconvdata/iso-2022-kr.c : Likewise.
21866         * iconvdata/iso646.c (gconv_end): Likewise.
21867         * iconvdata/iso_6937-2.c : Likewise.
21868         * iconvdata/iso_6937.c : Likewise.
21869         * iconvdata/iso8859-1.c: Likewise.
21870         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21871         * iconvdata/shift_jisx0213.c : Likewise.
21872         * iconvdata/sjis.c : Likewise.
21873         * iconvdata/t.61.c : Likewise.
21874         * iconvdata/tcvn5712-1.c : Likewise.
21875         * iconvdata/tscii.c: Likewise.
21876         * iconvdata/uhc.c : Likewise.
21877         * iconvdata/unicode.c (gconv_end): Likewise.
21878         * iconvdata/utf-16.c (gconv_end): Likewise.
21879         * iconvdata/utf-32.c (gconv_end): Likewise.
21880         * iconvdata/utf-7.c (base64): Likewise.
21881         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21882         * iconv/gconv_close.c (__gconv_close): Likewise.
21883         * iconv/gconv_open.c (__gconv_open): Likewise.
21884         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21885         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21886         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21887         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21888         (ucs4le_internal_loop_single): Likewise.
21889         * iconv/iconv.c (iconv): Likewise.
21890         * iconv/iconv_close.c: Likewise.
21891         * iconv/loop.c (SINGLE): Likewise.
21892         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21893         * include/atomic.h: Likewise.
21894         * inet/inet6_option.c (option_alloc): Likewise.
21895         * intl/bindtextdom.c (set_binding_values): Likewise.
21896         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21897         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21898         * intl/localealias.c (read_alias_file): Likewise.
21899         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21900         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21901         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21902         * libio/fmemopen.c (fmemopen): Likewise.
21903         * libio/iofgets.c (_IO_fgets): Likewise.
21904         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21905         * libio/iofgetws.c (fgetws): Likewise.
21906         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21907         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21908         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21909         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21910         * locale/findlocale.c (_nl_find_locale): Likewise.
21911         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21912         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21913         Likewise.
21914         * locale/setlocale.c (setlocale): Likewise.
21915         * login/programs/pt_chown.c (main): Likewise.
21916         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21917         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21918         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21919         (mmap, mmap64, mremap, munmap): Likewise.
21920         * math/e_exp2l.c: Likewise.
21921         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21922         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21923         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21924         * math/s_catan.c (__catan): Likewise.
21925         * math/s_catanf.c (__catanf): Likewise.
21926         * math/s_catanh.c (__catanh): Likewise.
21927         * math/s_catanhf.c (__catanhf): Likewise.
21928         * math/s_catanhl.c (__catanhl): Likewise.
21929         * math/s_catanl.c (__catanl): Likewise.
21930         * math/s_ccosh.c (__ccosh): Likewise.
21931         * math/s_ccoshf.c (__ccoshf): Likewise.
21932         * math/s_ccoshl.c (__ccoshl): Likewise.
21933         * math/s_cexp.c (__cexp): Likewise.
21934         * math/s_cexpf.c (__cexpf): Likewise.
21935         * math/s_cexpl.c (__cexpl): Likewise.
21936         * math/s_clog10.c (__clog10): Likewise.
21937         * math/s_clog10f.c (__clog10f): Likewise.
21938         * math/s_clog10l.c (__clog10l): Likewise.
21939         * math/s_clog.c (__clog): Likewise.
21940         * math/s_clogf.c (__clogf): Likewise.
21941         * math/s_clogl.c (__clogl): Likewise.
21942         * math/s_csin.c (__csin): Likewise.
21943         * math/s_csinf.c (__csinf): Likewise.
21944         * math/s_csinh.c (__csinh): Likewise.
21945         * math/s_csinhf.c (__csinhf): Likewise.
21946         * math/s_csinhl.c (__csinhl): Likewise.
21947         * math/s_csinl.c (__csinl): Likewise.
21948         * math/s_csqrt.c (__csqrt): Likewise.
21949         * math/s_csqrtf.c (__csqrtf): Likewise.
21950         * math/s_csqrtl.c (__csqrtl): Likewise.
21951         * math/s_ctan.c (__ctan): Likewise.
21952         * math/s_ctanf.c (__ctanf): Likewise.
21953         * math/s_ctanh.c (__ctanh): Likewise.
21954         * math/s_ctanhf.c (__ctanhf): Likewise.
21955         * math/s_ctanhl.c (__ctanhl): Likewise.
21956         * math/s_ctanl.c (__ctanl): Likewise.
21957         * math/w_pow.c: Likewise.
21958         * math/w_powf.c: Likewise.
21959         * math/w_powl.c: Likewise.
21960         * math/w_scalb.c (sysv_scalb): Likewise.
21961         * math/w_scalbf.c (sysv_scalbf): Likewise.
21962         * math/w_scalbl.c (sysv_scalbl): Likewise.
21963         * misc/error.c (error_tail): Likewise.
21964         * misc/pselect.c (__pselect): Likewise.
21965         * nis/nis_callback.c (__nis_create_callback): Likewise.
21966         * nis/nis_call.c (__nisfind_server): Likewise.
21967         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21968         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21969         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21970         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21971         * nis/nis_lookup.c (nis_lookup): Likewise.
21972         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21973         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21974         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21975         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21976         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21977         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21978         * nis/nss_compat/compat-initgroups.c (add_group)
21979         (internal_getgrent_r): Likewise.
21980         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21981         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21982         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21983         (internal_getspnam_r): Likewise.
21984         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21985         (_nss_nis_getaliasbyname_r): Likewise.
21986         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21987         (_nss_nis_getntohost_r): Likewise.
21988         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21989         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21990         (_nss_nis_getgrgid_r): Likewise.
21991         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21992         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21993         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21994         (_nss_nis_gethostbyname4_r): Likewise.
21995         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21996         (initgroups_netid): Likewise.
21997         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21998         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21999         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
22000         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
22001         (_nss_nis_getprotobynumber_r): Likewise.
22002         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
22003         (_nss_nis_getsecretkey): Likewise.
22004         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
22005         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
22006         (_nss_nis_getpwuid_r): Likewise.
22007         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
22008         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
22009         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
22010         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
22011         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
22012         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22013         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22014         Likewise.
22015         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22016         (_nss_nisplus_getntohost_r): Likewise.
22017         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22018         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22019         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22020         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22021         Likewise.
22022         * nis/nss_nisplus/nisplus-initgroups.c
22023         (_nss_nisplus_initgroups_dyn): Likewise.
22024         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22025         (_nss_nisplus_getnetbyaddr_r): Likewise.
22026         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22027         (_nss_nisplus_getprotobynumber_r): Likewise.
22028         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22029         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22030         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22031         Likewise.
22032         * nis/nss_nisplus/nisplus-service.c
22033         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22034         (_nss_nisplus_getservbyport_r): Likewise.
22035         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22036         (_nss_nisplus_getspnam_r): Likewise.
22037         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22038         Likewise.
22039         * nscd/aicache.c (addhstaiX): Likewise.
22040         * nscd/cache.c (cache_search, prune_cache): Likewise.
22041         * nscd/connections.c (register_traced_file, send_ro_fd)
22042         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22043         (main_loop_epoll): Likewise.
22044         * nscd/grpcache.c (addgrbyX): Likewise.
22045         * nscd/hstcache.c (addhstbyX): Likewise.
22046         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22047         * nscd/mem.c (gc, mempool_alloc): Likewise.
22048         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22049         (addinnetgrX): Likewise.
22050         * nscd/nscd-client.h (__nscd_acquire_maplock)
22051         (__nscd_drop_map_ref): Likewise.
22052         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22053         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22054         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22055         Likewise.
22056         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22057         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22058         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22059         (__nscd_get_map_ref): Likewise.
22060         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22061         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22062         Likewise.
22063         * nscd/pwdcache.c (addpwbyX): Likewise.
22064         * nscd/selinux.c (preserve_capabilities): Likewise.
22065         * nscd/servicescache.c (addservbyX): Likewise.
22066         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22067         * posix/fnmatch.c (fnmatch): Likewise.
22068         * posix/getopt.c (_getopt_internal_r): Likewise.
22069         * posix/glob.c (glob, glob_in_dir): Likewise.
22070         * posix/wordexp.c (exec_comm_child): Likewise.
22071         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22072         (getanswer_r, gaih_getanswer_slice): Likewise.
22073         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22074         * resolv/res_init.c: Likewise.
22075         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22076         * resolv/res_query.c (__libc_res_nquery): Likewise.
22077         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22078         Likewise.
22079         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22080         * stdio-common/perror.c (perror): Likewise.
22081         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22082         * stdio-common/tmpnam.c (tmpnam): Likewise.
22083         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22084         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22085         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22086         Likewise.
22087         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22088         * stdlib/putenv.c (putenv): Likewise.
22089         * stdlib/setenv.c (__add_to_environ): Likewise.
22090         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22091         * stdlib/strtol_l.c (INTERNAL): Likewise.
22092         * string/memmem.c (memmem): Likewise.
22093         * string/strerror.c (strerror): Likewise.
22094         * string/strnlen.c (__strnlen): Likewise.
22095         * string/test-memmem.c (simple_memmem): Likewise.
22096         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22097         * sunrpc/pm_getport.c (__get_socket): Likewise.
22098         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22099         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22100         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22101         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22102         Likewise.
22103         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22104         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22105         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22106         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22107         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22108         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22109         Likewise.
22110         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22111         Likewise.
22112         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22113         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22115         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22116         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22118         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22119         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22120         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22121         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22122         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22123         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22124         Likewise.
22125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22126         Likewise.
22127         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22128         Likewise.
22129         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22130         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22132         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22133         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22134         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22135         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22136         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22138         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22139         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22141         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22142         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22144         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22145         Likewise.
22146         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22147         Likewise.
22148         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22149         Likewise.
22150         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22151         Likewise.
22152         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22154         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22155         Likewise.
22156         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22157         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22158         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22159         * sysdeps/posix/sleep.c: Likewise.
22160         * sysdeps/posix/tempname.c: Likewise.
22161         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22162         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22163         Likewise.
22164         * sysdeps/powerpc/powerpc32/dl-machine.h
22165         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22166         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22167         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22168         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22169         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22170         Likewise.
22171         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22172         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22173         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22174         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22175         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22176         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22177         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22178         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22179         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22180         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22181         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22182         (elf_machine_lazy_rel): Likewise.
22183         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22185         (elf_machine_lazy_rel): Likewise.
22186         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22187         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22188         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22189         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22190         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22191         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22192         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22193         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22194         Likewise.
22195         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22196         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22197         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22198         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22199         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22200         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22201         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22202         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22203         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22204         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22205         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22206         Likewise.
22207         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22208         (__posix_fallocate64_l64): Likewise.
22209         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22210         (posix_fallocate): Likewise.
22211         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22212         Likewise.
22213         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22214         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22215         (getifaddrs_internal): Likewise.
22216         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22217         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22218         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22219         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22220         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22221         (__posix_fallocate64_l64): Likewise.
22222         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22223         Likewise.
22224         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22225         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22226         (__get_clockfreq): Likewise.
22227         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22228         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22229         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22231         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22232         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22233         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22234         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22235         Likewise.
22236         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22237         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22238         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22239         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22240         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22241         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22242         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22243         Likewise.
22244         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22245         (posix_fallocate): Likewise.
22246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22247         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22248         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22249         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22250         (elf_machine_rela, elf_machine_rela_relative)
22251         (elf_machine_lazy_rel): Likewise.
22252         * time/asctime.c (asctime_internal): Likewise.
22253         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22254         * time/tzset.c (__tzset_parse_tz): Likewise.
22255         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22256         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22257         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22258         * wcsmbs/wcsmbsload.h: Likewise.
22260         [BZ #15894]
22261         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22263         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22264         (arena_get2): Remove THREAD_STATS conditionals.
22265         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22266         (__malloc_stats, int): Likewise.
22268 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22270         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22271         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22273         * manual/setjmp.texi: Fix typos/grammar errors.
22275         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22276         Only return early when n is <= 0.  Delete unused return statement.
22278         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22279         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22280         * debug/tst-longjmp_chk3.c: New file.
22282         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22283         (test_main): Replace code with set_fortify_handler call.
22284         * debug/test-strcpy_chk.c: Likewise.
22285         * debug/tst-chk1.c: Likewise.
22286         * debug/tst-longjmp_chk.c: Likewise.
22287         * test-skeleton.c: Include fcntl.h & paths.h
22288         (set_fortify_handler): Define.
22290         * debug/tst-longjmp_chk.c: Add header comment and include
22291         ../test-skeleton.c.
22292         (do_test): Mark static.
22293         (TEST_FUNCTION): Define.
22295         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22296         (IP_PMTUDISC_INTERFACE): Likewise.
22297         (IP_MULTICAST_IF): Likewise.
22298         (IP_MULTICAST_TTL): Likewise.
22299         (IP_MULTICAST_LOOP): Likewise.
22300         (IP_ADD_MEMBERSHIP): Likewise.
22301         (IP_DROP_MEMBERSHIP): Likewise.
22302         (IP_UNBLOCK_SOURCE): Likewise.
22303         (IP_BLOCK_SOURCE): Likewise.
22304         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22305         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22306         (IP_MSFILTER): Likewise.
22307         (MCAST_JOIN_GROUP): Likewise.
22308         (MCAST_BLOCK_SOURCE): Likewise.
22309         (MCAST_UNBLOCK_SOURCE): Likewise.
22310         (MCAST_LEAVE_GROUP): Likewise.
22311         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22312         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22313         (MCAST_MSFILTER): Likewise.
22314         (IP_MULTICAST_ALL): Likewise.
22315         (IP_UNICAST_IF): Likewise.
22317         * timezone/Makefile: Delete $(have-ksh) check.
22318         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22319         * timezone/tzselect.ksh: Add +x mode bits.
22321         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22322         (ANON_INODE_FS_MAGIC): Likewise.
22323         (BDEVFS_MAGIC): Likewise.
22324         (BINFMTFS_MAGIC): Likewise.
22325         (BTRFS_TEST_MAGIC): Likewise.
22326         (CRAMFS_MAGIC_WEND): Likewise.
22327         (DEBUGFS_MAGIC): Likewise.
22328         (ECRYPTFS_SUPER_MAGIC): Likewise.
22329         (EXT3_SUPER_MAGIC): Likewise.
22330         (EXT4_SUPER_MAGIC): Likewise.
22331         (FUTEXFS_SUPER_MAGIC): Likewise.
22332         (HOSTFS_SUPER_MAGIC): Likewise.
22333         (HUGETLBFS_MAGIC): Likewise.
22334         (MINIX3_SUPER_MAGIC): Likewise.
22335         (MTD_INODE_FS_MAGIC): Likewise.
22336         (NILFS_SUPER_MAGIC): Likewise.
22337         (OPENPROM_SUPER_MAGIC): Likewise.
22338         (PIPEFS_MAGIC): Likewise.
22339         (PSTOREFS_MAGIC): Likewise.
22340         (QNX6_SUPER_MAGIC): Likewise.
22341         (RAMFS_MAGIC): Likewise.
22342         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22343         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22344         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22345         (SECURITYFS_MAGIC): Likewise.
22346         (SELINUX_MAGIC): Likewise.
22347         (SMACK_MAGIC): Likewise.
22348         (SOCKFS_MAGIC): Likewise.
22349         (SQUASHFS_MAGIC): Likewise.
22350         (STACK_END_MAGIC): Likewise.
22351         (TMPFS_MAGIC): Likewise.
22352         (USBDEVICE_SUPER_MAGIC): Likewise.
22353         (V9FS_MAGIC): Likewise.
22354         (XENFS_SUPER_MAGIC): Likewise.
22355         (CRAMFS_MAGIC): Fix typo in comment.
22356         (EXT2_SUPER_MAGIC): Update comment.
22357         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22359 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22361         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22362         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22363         * sysdeps/unix/sysv/linux/arm: Move directory from
22364         ports/sysdeps/unix/sysv/linux/arm.
22365         * README: Update listing for arm-*-linux-gnueabi.
22367         * README: Remove mention of am33.
22369 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22371         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22372         than the comma operator, to avoid "rhs of comma has no effect"
22373         compiler warnings.
22374         (__sigfillset, __sigandset, __sigorset): Likewise.
22375         * include/signal.h (__sigemptyset): Likewise.
22376         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22378 2014-02-07  Allan McRae  <allan@archlinux.org>
22380         * version.h (RELEASE): Set to "development".
22381         (VERSION): Set to "2.19.90"
22382         * NEWS: Add 2.20 section.
22384 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22386         [BZ #16529]
22387         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22389 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22391         * manual/contrib.texi: Update entry for Carlos O'Donell,
22392         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22394 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22396         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22398         * sysdeps/unix/sysv/linux/kernel-features.h
22399         [__LINUX_KERNEL_VERSION >= 0x020621]
22400         (__ASSUME_PROC_PID_TASK_COMM): Define.
22402 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22404         [BZ #16398]
22405         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22406         conversion when destination buffer does not have enough space.
22407         * libio/tst-ftell-partial-wide.c: New test case.
22408         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22410         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22411         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22412         Leonard and Allan McRae.
22414 2014-02-04  David S. Miller  <davem@davemloft.net>
22416         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22417         32-bit.
22419 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22422         New file
22423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22424         New file
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22426         New file.
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22428         New file.
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22430         New file.
22431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22432         New file.
22433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22434         New file.
22435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22436         New file.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22438         New file.
22439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22440         New file.
22441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22442         New file.
22443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22444         New file.
22445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22446         New file.
22448 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22450         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22451         * shlib-versions: Likewise.
22453 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22454             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22456         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22457         (abilist-pattern): New variable, set to %-le.abilist.
22459         * Makerules (abilist-pattern): New variable.
22460         (vpath): Use $(abilist-pattern) in place of %.abilist.
22461         (check-abi-% pattern rule): Likewise.
22462         (check-abi, update-abi): Likewise.
22464 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22468 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22470         * manual/startup.texi: Add next, previous, and top entries for
22471         the `Program Arguments' and `Environment Variables' nodes.
22473 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22475         * manual/macros.texi: Add comments before MTASC-safety macros.
22477         * manual/users.texi: Document MTASC-safety properties.
22479         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22480         (pthread_getspecific, pthread_setspecific): Format with
22481         @deftypefun, and add @safety note.
22482         * manual/signal.texi: Move comments that analyze the above
22483         functions to their home place.
22485 2014-02-03  Allan McRae  <allan@archlinux.org>
22487         * po/sl.po: Update Slovenian translation from translation project.
22489 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22491         * manual/time.texi (timegm): Add missing blank after @c.
22492         Reported by Joseph Myers <joseph@codesourcery.com>.
22494 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22496         * manual/check-safety.sh: New.
22497         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22499         * manual/terminal.texi: Document MTASC-safety properties.
22501         * manual/filesys.texi: Document MTASC-safety properties.
22503         * manual/errno.texi: Document MTASC-safety properties.
22505         * manual/intro.texi: Document safety identifiers and
22506         conditionals.
22508         * manual/string.texi (wcstok): Fix prototype.
22509         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22511         * manual/time.texi: Document MTASC-safety properties.
22513         * manual/string.texi: Document MTASC-safety properties.
22515         * manual/threads.texi: Document MTASC-safety properties.
22517         * manual/stdio.texi: Document MTASC-safety properties.
22519         * manual/syslog.texi: Document MTASC-safety properties.
22521         * manual/sysinfo.texi: Document MTASC-safety properties.
22523         * manual/startup.texi: Document MTASC-safety properties.
22525         * manual/socket.texi: Document MTASC-safety properties.
22527         * manual/signal.texi: Document MTASC-safety properties.
22529 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22531         * manual/setjmp.texi: Document MTASC-safety properties.
22533         * manual/search.texi: Document MTASC-safety properties.
22535         * manual/resource.texi: Document MTASC-safety properties.
22537         * manual/process.texi: Document MTASC-safety properties.
22539         * manual/platform.texi: Document MTASC-safety properties.
22541         * manual/pipe.texi: Document MTASC-safety properties.
22543         * manual/pattern.texi: Document MTASC-safety properties.
22545         * manual/message.texi: Document MTASC-safety properties.
22547         [BZ #12751]
22548         * manual/memory.texi: Document MTASC-safety properties.
22550         * manual/math.texi: Document MTASC-safety properties.
22552         * manual/locale.texi: Document MTASC-safety properties.
22554         * manual/llio.texi: Document MTASC-safety properties.
22556         * manual/libdl.texi: New.
22558         * manual/lang.texi: Document MTASC-safety properties.
22560         * manual/job.texi: Document MTASC-safety properties.
22562         * manual/getopt.texi: Document MTASC-safety properties.
22564         * manual/ctype.texi: Document MTASC-safety properties.
22566 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22568         [BZ #16046]
22569         * csu/libc-tls.c (static_map): Remove variable.
22570         (__libc_setup_tls): Use main executable's link map for TLS data.
22571         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22572         casing for LM_ID_BASE and GL(dl_nns).
22573         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22574         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22575         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22576         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22577         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22578         member.
22579         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22580         l_phnum members.
22582 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22584         * manual/debug.texi: Document MTASC-safety properties.
22586 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22588         [BZ #16510]
22589         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22590         of __x86_64__ when disabling x87 inline functions.
22592 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22594         * manual/charset.texi: Document MTASC-safety properties.
22596         * manual/crypt.texi: Document MTASC-safety properties.
22598         * manual/conf.texi: Document MTASC-safety properties.
22600         * manual/arith.texi: Document MTASC-safety properties.
22602         * manual/argp.texi: Document MTASC-safety properties.
22604         * manual/macros.texi: Introduce macros to document multi
22605         thread, asynchronous signal and asynchronous cancellation
22606         safety properties.
22607         * manual/intro.texi: Introduce the properties themselves.
22609 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22611         * sysdeps/sh/sh4/Makefile: New file.
22613 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22615         * math/gen-libm-test.pl ($srcdir): New variable.
22616         ($auto_input): Use it.
22618 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22620         [BZ #16506]
22621         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22622         access beyond array bounds when parsing netgroups file.
22624         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22625         the old buffer before realloc.
22627 2014-01-27  Allan McRae  <allan@archlinux.org>
22629         * po/fr.po: Update French translation from translation project.
22631 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22633         * sysdeps/sh/libm-test-ulps: Regenerate.
22635 2014-01-24  David S. Miller  <davem@davemloft.net>
22637         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22639 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22641         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22642         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22644 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22646         [BZ #16474]
22647         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22648         string pointers after reallocation.
22650 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22652         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22653         __SH4A__ instead of __SH_FPU_ANY__.
22655 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22657         * sysdeps/sh/fpu_control.h: New file.
22658         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22659         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22660         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22661         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22662         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22663         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22664         * sysdeps/sh/sys/ucontext.h: Remove.
22665         * sysdeps/sh/sys: Remove directory.
22667 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22669         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22670         s390/sys/ucontext.h.
22671         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22674 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22676         [BZ #15605]
22677         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22679 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22681         [BZ#16431]
22682         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22683         Adjust the vDSO correctly for internal calls.
22684         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22686 2014-01-20  Allan McRae  <allan@archlinux.org>
22688         * po/ca.po: Update Catalan translation from translation project.
22690 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22692         * sysdeps/s390/sotruss-lib.c: New file.
22694 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22696         [BZ#16430]
22697         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22698         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22699         local calls issues by not having a PLT stub required for IFUNC calls.
22700         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22702 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22704         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22705         * math/test-fpucw-static.c: Likewise.
22707 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22709         [BZ #16453]
22710         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22712 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22714         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22715         implementation for powerpc.
22717 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22719         [BZ #14782]
22720         * sysdeps/posix/system.c (__libc_system): Do not enable
22721         asynchronous cancellation.
22723 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22725         [BZ #16427]
22726         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22727         handling only for numbers special also in the IEEE case.
22729 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22731         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22733 2014-01-11  Allan McRae  <allan@archlinux.org>
22735         * po/bg.po: Update Bulgarian translation from translation project.
22737         * po/de.po: Update German translation from translation project.
22739 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22741         * sysdeps/generic/gcc-compat.h: New file.
22743 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22745         * benchtests/asin-inputs: Correct slow inputs.
22746         * benchtests/acos-inputs: Likewise.
22748 2014-01-10  Allan McRae  <allan@archlinux.org>
22750         * po:sv.po: Update Swedish translation from translation project.
22752         * po/vi.po: Update Vietnamese translation from translation project.
22754         * po/eo.po: Update Esperanto translation from translation project.
22756         * po/cs.po: Update Czech translation from translation project.
22758         * po/nl.po: Update Dutch translation from translation project.
22760         * po/pl.po: Update Polish translation from translation project.
22762         * po/ru.po: Update Russian translation from translation project.
22764         * po/uk.po: Update Ukrainian translation from translation project.
22766 2014-01-08  Brooks Moses  <bmoses@google.com>
22768         * elf/dl-load.c: Fix comment typo.
22770 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22772         * po/header.pot: Rename to...
22773         * po/pot.header: ... this.
22774         * po/Makefile: Use pot.header.
22776 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22777             Maxim Kuvyrkov  <maxim@kugelworks.com>
22779         [BZ #16394]
22780         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22781         SRC and DEST against LEN.
22783 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22785         [BZ #16414]
22786         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22787         implementation.
22788         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22790 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22794 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22796         [BZ #16408]
22797         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22798         for large positive arguments.
22800 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22802         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22804         * math/auto-libm-test-in: Mark various tests with
22805         xfail-rounding:ldbl-128ibm.
22806         * math/auto-libm-test-out: Regenerated.
22808         [BZ #16407]
22809         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22810         Increase overflow threshold.
22812 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22814         [BZ #14286]
22815         * stdio-common/vfprintf.c: Check for integer overflow.
22817 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22819         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22820         the first argument and return value of __tls_get_addr_internal.
22822 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22824         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22825         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22827 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22829         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22830         * sysdeps/s390/rtld-global-offsets.sym: New file.
22831         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22832         GLIBC_2.19 symbol.
22833         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22834         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22835         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22836         ... this.
22837         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22838         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22839         ... this.
22840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22841         Regenerate.
22842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22843         Regenerate.
22844         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22845         halfs of GPRs for high_gprs contexts.
22846         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22847         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22848         field.
22849         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22850         uc_flags field.
22851         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22852         64 bit versions:
22853         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22854         for high GPRs (uc_high_gprs) and for future extensions
22855         (__reserved).
22856         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22857         for future extensions (__reserved).
22858         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22859         64 bit versions:
22860         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22861         SC_HIGHGPRS offset definition.
22862         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22863         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22865         * Versions.def: Add GLIBC_2.19 for libpthread.
22866         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22867         siglongjmp for libpthread with GLIBC_2.19 symver.
22868         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22869         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22870         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22871         * sysdeps/s390/__longjmp.c: New file.
22872         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22873         * sysdeps/s390/longjmp.c: New file.
22874         * sysdeps/s390/setjmp.S: New file.
22875         * sysdeps/s390/sigjmp.S: New file.
22876         * sysdeps/s390/v1-longjmp.c: New file.
22877         * sysdeps/s390/v1-setjmp.h: New file.
22878         * sysdeps/s390/v1-sigjmp.c: New file.
22879         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22880         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22881         GLIBC_2.19 version.
22882         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22883         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22884         versioned symbols for ____longjmp_chk.
22885         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22886         Likewise.
22887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22888         Regenerate.
22889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22890         Regenerate.
22891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22892         Regenerate.
22893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22894         Regenerate.
22895         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22896         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22897         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22898         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22899         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22900         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22901         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22902         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22903         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22904         * sysdeps/s390/rtld-__longjmp.c: New file.
22905         * sysdeps/s390/rtld-setjmp.S: New file.
22907 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22909         [BZ #16400]
22910         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22911         Return -__logl (x) for small positive arguments without evaluating
22912         a polynomial.
22914 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22916         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22917         Rename to ...
22918         (__ptrace_peeksiginfo_args): ... this.
22919         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22920         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22921         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22923 2014-01-06  Allan McRae  <allan@archlinux.org>
22925         * inet/netinet/in.h: Fix typo in comment.
22927 2014-01-05  Andreas Jaeger  <aj@suse.de>
22929         * sysdeps/i386/fpu/libm-test-ulps: Update.
22931 2014-01-05  Allan McRae  <allan@archlinux.org>
22933         * po/libc.pot: Regenerated.
22935         * malloc/memusagestat.c: Fix gettext call formatting.
22937 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22939         * nscd/nscd.c: Improve usage() output.
22941 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22943         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22944         * sysdeps/unix/sysv/linux/configure: Regenerated.
22945         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22946         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22948 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22950         [BZ #16390]
22951         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22952         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22954 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22956         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22957         extra tokens at end of #undef directive.
22958         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22959         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22960         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22962 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22964         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22966         * math/auto-libm-test-in: Mark various tests with
22967         xfail-rounding:ldbl-128ibm.
22968         * math/auto-libm-test-out: Regenerated.
22970 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22972         [BZ #16386]
22973         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22974         numbers with subnormal high part when calculating exponent.
22976         [BZ #16385]
22977         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22978         fabs.
22980         [BZ #16384]
22981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22982         M_LN2l.
22983         (__ieee754_acoshl): Use __log1pl not __log1p.
22985 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22987         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22988         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22989         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22990         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22991         (reused_arena, arena_get2): Convert to GNU style.
22992         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22993         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22994         (memalign_check, __malloc_set_state): Likewise.
22995         * malloc/mallocbug.c (main): Likewise.
22996         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22997         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22998         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22999         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
23000         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
23001         (__posix_memalign, malloc_info): Likewise.
23002         * malloc/malloc.h: Likewise.
23003         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
23004         (mallochook, memalignhook, reallochook, mabort): Likewise.
23005         * malloc/mcheck.h: Likewise.
23006         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
23007         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
23008         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
23009         * malloc/morecore.c (__default_morecore): Likewise.
23010         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
23011         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
23012         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23013         (print_and_abort): Likewise.
23014         * malloc/obstack.h: Likewise.
23015         * malloc/set-freeres.c (__libc_freeres): Likewise.
23016         * malloc/tst-mallocstate.c (main): Likewise.
23017         * malloc/tst-mtrace.c (main): Likewise.
23018         * malloc/tst-realloc.c (do_test): Likewise.
23020 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23022         [BZ #16366]
23023         * nscd/netgroupcache.c (do_notfound): New function.
23024         (addgetnetgrentX): Use it.
23026         [BZ # 16365]
23027         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23028         NSS_STATUS_NOTFOUND.
23030 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23032         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23035 2014-01-01  Allan McRae  <allan@archlinux.org>
23037         * scripts/update-copyrights: Update configure input file suffix.
23039         * NEWS: Update copyright year.
23040         * catgets/gencat.c: Likewise.
23041         * csu/version.c: Likewise.
23042         * debug/catchsegv.sh: Likewise.
23043         * debug/pcprofiledump.c: Likewise.
23044         * debug/xtrace.sh: Likewise.
23045         * elf/ldconfig.c: Likewise.
23046         * elf/ldd.bash.in: Likewise.
23047         * elf/pldd.c: Likewise.
23048         * elf/sotruss.ksh: Likewise.
23049         * elf/sprof.c: Likewise.
23050         * iconv/iconv_prog.c: Likewise.
23051         * iconv/iconvconfig.c: Likewise.
23052         * locale/programs/locale.c: Likewise.
23053         * locale/programs/localedef.c: Likewise.
23054         * login/programs/pt_chown.c: Likewise.
23055         * malloc/memusage.sh: Likewise.
23056         * malloc/memusagestat.c: Likewise.
23057         * malloc/mtrace.pl: Likewise.
23058         * manual/libc.texinfo: Likewise.
23059         * nscd/nscd.c: Likewise.
23060         * nss/getent.c: Likewise.
23061         * nss/makedb.c: Likewise.
23062         * posix/getconf.c: Likewise.
23063         * scripts/test-installation.pl: Likewise.
23065         * All files with FSF copyright notices: Update copyright dates
23066         using scripts/update-copyrights.
23067         * intl/plural.c: Regenerated.
23068         * locale/programs/charmap-kw.h: Likewise.
23069         * locale/programs/locfile-kw.h: Likewise.
23071 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23073         * sysdeps/unix/sysv/linux/configure: Regenerated.
23074         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23075         the linux/fanotify.h header.
23076         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23077         HAVE_LINUX_FANOTIFY_H is defined.
23079 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23081         * benchtests/cos-inputs: New inputs.
23082         * benchtests/sin-inputs: Likewise.
23084         * benchtests/atan-inputs: New inputs. Fix name of multiple
23085         precision fallback inputs.
23087         * benchtests/atanh-inputs: New inputs.
23088         * benchtests/tanh-inputs: Likewise.
23090         * benchtests/acosh-inputs: New inputs.
23091         * benchtests/asinh-inputs: Likewise.
23093         * benchtests/cosh-inputs: New inputs.
23094         * benchtests/sinh-inputs: Likewise.
23096         * benchtests/acos-inputs: Add more inputs.
23097         * benchtests/asin-inputs: Likewise.
23099 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23101         [BZ #16375]
23102         * manual/arith.texi: Fix spelling.
23103         * manual/charset.texi: Likewise.
23104         * manual/errno.texi: Likewise.
23105         * manual/filesys.texi: Likewise.
23106         * manual/lang.texi: Likewise.
23107         * manual/llio.texi: Likewise.
23108         * manual/locale.texi: Likewise.
23109         * manual/message.texi: Likewise.
23110         * manual/resource.texi: Likewise.
23111         * manual/search.texi: Likewise.
23112         * manual/setjmp.texi: Likewise.
23113         * manual/stdio.texi: Likewise.
23114         * manual/string.texi: Likewise.
23115         * manual/sysinfo.texi: Likewise.
23116         * manual/time.texi: Likewise.
23118 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23120         * po/sl.po: New file.
23122 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23124         * .gitignore: Add core/.gdbinit/.gdb_history.
23126 2013-12-27  Allan McRae  <allan@archlinux.org>
23128         [BZ #16369]
23129         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23130         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23132 2013-12-24  Brooks Moses  <bmoses@google.com>
23134         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23135         all compilers that claim C++98 compliance, not just GCC.
23136         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23137         Likewise.
23139 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23141         * NEWS: Restore accidentally deleted bug-fix entries.
23143 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23144             Ondřej Bílka  <neleai@seznam.cz>
23146         [BZ #15073]
23147         * malloc/malloc.c (_int_free): Perform sanity check only if we
23148         have_lock.
23150 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23152         [BZ #12986]
23153         * manual/stdio.texi (String Input Conversions): Clarify that character
23154         classes are not supported.
23156 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23160 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23162         [BZ #16337]
23163         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23164         Calculate results for small negative arguments directly rather
23165         than using reflection formula with special underflow handling.
23167         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23168         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23169         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23170         (fchflags): Likewise.
23171         (revoke): Likewise.
23172         (setlogin): Likewise.
23173         (sigaltstack): Likewise.
23174         (wait4): Likewise.
23175         (sigblock): Remove.
23176         (sigsetmask): Likewise.
23177         (wait3): Likewise.
23178         (waitpid): Likewise.
23179         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23180         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23181         file.
23182         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23183         * sysdeps/unix/bsd/Makefile: ... here.
23184         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23185         * sysdeps/unix/bsd/Versions: ... here.
23186         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23187         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23188         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23189         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23190         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23191         * sysdeps/unix/bsd/sigblock.c: ... here.
23192         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23193         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23194         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23195         * sysdeps/unix/bsd/sigvec.c: ... here.
23196         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23197         * sysdeps/unix/bsd/tcdrain.c: ... here.
23198         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23199         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23200         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23201         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23202         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23203         * sysdeps/unix/bsd/wait.c: ... here.
23204         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23205         * sysdeps/unix/bsd/wait3.c: ... here.
23206         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23207         * sysdeps/unix/bsd/waitpid.c: ... here.
23209 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23211         [BZ #16356]
23212         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23213         round-to-nearest for [!USE_AS_EXPM1L].
23214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23215         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23216         more tests of exp and exp10.  Expect some exp10 tests to miss
23217         exceptions or fail in directed rounding modes.
23218         * math/auto-libm-test-out: Regenerated.
23219         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23220         (exp10_test_tonearest): New function.
23221         (exp10_towardzero_test_data): New array.
23222         (exp10_test_towardzero): New function.
23223         (exp10_downward_test_data): New array.
23224         (exp10_test_downward): New function.
23225         (exp10_upward_test_data): New array.
23226         (exp10_test_upward): New function.
23227         (main): Call the new functions.
23228         * sysdeps/i386/fpu/libm-test-ulps: Update.
23229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23231 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23233         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23234         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23235         * math/auto-libm-test-out: Regenerated.
23236         * math/libm-test.inc (acosh_test_data): Add more tests.
23237         (atanh_test_data): Likewise.
23238         (ceil_test_data): Likewise.
23239         (copysign_test_data): Likewise.
23240         * sysdeps/i386/fpu/libm-test-ulps: Update.
23241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23243         * timezone/checktab.awk: Update from tzcode 2013i.
23244         * timezone/private.h: Likewise.
23245         * timezone/scheck.c: Likewise.
23246         * timezone/tzfile.h: Likewise.
23247         * timezone/tzselect.ksh: Likewise.
23248         * timezone/zdump.c: Likewise.
23249         * timezone/zic.c: Likewise.
23251         * math/auto-libm-test-in: Add tests of cpow.
23252         * math/auto-libm-test-out: Regenerated.
23253         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23254         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23255         mpc_cc_c.
23256         (func_calc_desc): Add mpc_cc_c union field.
23257         (test_functions): Add cpow.
23258         (special_fill_2pi): New function.
23259         (special_real_inputs): Add 2pi.
23260         (calc_generic_results): Handle mpc_cc_c.
23261         * sysdeps/i386/fpu/libm-test-ulps: Update.
23262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23264         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23265         csqrt, ctan and ctanh.
23266         * math/auto-libm-test-out: Regenerated.
23267         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23268         (TEST_COND_x86): Likewise.
23269         (ccos_test_data): Use AUTO_TESTS_c_c.
23270         (ccosh_test_data): Likewise.
23271         (cexp_test_data): Likewise.
23272         (clog_test_data): Likewise.
23273         (csqrt_test_data): Likewise.
23274         (ctan_test_data): Likewise.
23275         (ctan_tonearest_test_data): Likewise.
23276         (ctan_towardzero_test_data): Likewise.
23277         (ctan_downward_test_data): Likewise.
23278         (ctan_upward_test_data): Likewise.
23279         (ctanh_test_data): Likewise.
23280         (ctanh_tonearest_test_data): Likewise.
23281         (ctanh_towardzero_test_data): Likewise.
23282         (ctanh_downward_test_data): Likewise.
23283         (ctanh_upward_test_data): Likewise.
23284         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23285         mpc_c_c.
23286         (func_calc_desc): Add mpc_c_c union field.
23287         (FUNC_mpc_c_c): New macro.
23288         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23289         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23290         ctanh.
23291         (special_fill_min_subnorm_p120): New function.
23292         (special_real_inputs): Add min_subnorm_p120.
23293         (calc_generic_results): Handle mpc_c_c.
23294         * sysdeps/i386/fpu/libm-test-ulps: Update.
23295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23297 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23299         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23300         (do_sin_slow): New functions.
23301         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23302         (cslow2, csloww1, csloww2): Use the new functions.
23304         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23305         Use M to change sign of result instead of X.  Assume X is
23306         positive.
23307         (csloww1): Likewise.
23308         (__sin): Adjust.
23309         (__cos): Adjust.
23311         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23312         arguments A and DA.
23313         (__sin): Adjust.
23314         (__cos): Likewise.
23316         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23317         (__cos): Likewise.
23318         (sloww1): Don't adjust sign of DX.
23319         (csloww1): Likewise.
23320         (sloww2): Use X directly and don't adjust sign of DX.
23321         (csloww2): Likewise.
23323 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23325         * math/auto-libm-test-in: Add tests of cabs and carg.
23326         * math/auto-libm-test-out: Regenerated.
23327         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23328         (carg_test_data): Likewise.
23329         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23330         mpc_c_f.
23331         (func_calc_desc): Add mpc_c_f union field.
23332         (test_functions): Add cabs and carg.
23333         (calc_generic_results): Handle mpc_c_f.
23335         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23336         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23337         as a macro and a compat symbol.
23338         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23339         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23340         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23341         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23342         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23343         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23344         not use .hidden.
23345         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23346         Likewise.
23347         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23348         Likewise.
23349         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23350         Likewise.
23351         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23352         Likewise.
23353         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23354         Likewise.
23355         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23356         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23357         from GLIBC_2.3.2.
23359 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23363 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23365         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23366         trailing whitespace removed.
23367         * scripts/config.guess: Update to version 2013-11-29.
23368         * scripts/config.sub: Update to version 2013-10-01.
23370         * math/auto-libm-test-in: Add tests of sincos.
23371         * math/auto-libm-test-out: Regenerated.
23372         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23373         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23374         mpfr_f_11.
23375         (func_calc_desc): Add mpfr_f_11 union field.
23376         (test_functions): Add sincos.
23377         (calc_generic_results): Handle mpfr_f_11.
23378         * sysdeps/i386/fpu/libm-test-ulps: Update.
23379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23381 2013-12-19  Andreas Schwab  <schwab@suse.de>
23383         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23384         CALL_MCOUNT.
23385         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23386         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23387         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23389 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23391         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23392         * sysdeps/i386/fpu/libm-test-ulps: Update.
23393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23395         [BZ #16293]
23396         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23397         round-to-nearest mode when using frndint.
23398         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23399         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23401         Likewise.
23402         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23403         sinh test to fail.
23404         * math/auto-libm-test-out: Regenerated.
23405         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23406         (TEST_COND_x86): Likewise.
23407         (expm1_tonearest_test_data): New array.
23408         (expm1_test_tonearest): New function.
23409         (expm1_towardzero_test_data): New array.
23410         (expm1_test_towardzero): New function.
23411         (expm1_downward_test_data): New array.
23412         (expm1_test_downward): New function.
23413         (expm1_upward_test_data): New array.
23414         (expm1_test_upward): New function.
23415         (main): Run the new test functions.
23416         * sysdeps/i386/fpu/libm-test-ulps: Update.
23417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23419         * include/features.h: Update comment documenting feature test
23420         macros.  Mention _DEFAULT_SOURCE in comment.
23421         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23422         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23423         _BSD_SOURCE and _SVID_SOURCE.
23424         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23425         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23426         !_SVID_SOURCE]: Likewise.
23427         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23428         (__USE_POSIX_IMPLICITLY): Define.
23429         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23430         (_POSIX_SOURCE): Undefine and redefine.
23431         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23432         (_POSIX_C_SOURCE): Likewise.
23433         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23434         (Feature Test Macros): Update documentation of default features.
23436 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23438         * benchtests/Makefile: Add bench-strtok.
23439         * benchtests/bench-strtok.c: New file: strtok benchtest.
23441 2013-12-19  Allan McRae  <allan@archlinux.org>
23443         * manual/install.texi: Suppress menu for plain text output.
23444         * INSTALL: Regenerated.
23446 2013-12-18  Brooks Moses  <bmoses@google.com>
23448         [BZ #15846]
23449         * misc/getauxval.c: Include errno.h.
23450         (__getauxval): Set errno to ENOENT if the requested type is not
23451         found.
23452         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23453         don't declare with __attribute_const__.
23454         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23455         * manual/startup.texi: Document that getauxval sets errno.
23457 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23459         * math/auto-libm-test-in: Add tests of jn and yn.
23460         * math/auto-libm-test-out: Regenerated.
23461         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23462         (yn_test_data): Likewise.
23463         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23464         mpfr_if_f.
23465         (func_calc_desc): Add mpfr_if_f union field.
23466         (FUNC_mpfr_if_f): New macro.
23467         (test_functions): Add jn and yn.
23468         (calc_generic_results): Assert type of second input for
23469         mpfr_ff_f.  Handle mpfr_if_f.
23470         (output_for_one_input_case): Disable all checking for arguments
23471         fitting floating-point types in case of an integer argument.
23472         * sysdeps/i386/fpu/libm-test-ulps: Update.
23473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23476         Don't expect fegetround reference in libm.so.
23478 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23480         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23481         $(config-cflags-nofma).
23483 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23485         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23486         * math/auto-libm-test-out: Regenerated.
23488         [BZ #16338]
23489         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23490         to determine exponent and adjust argument to have exponent of -1.
23491         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23492         log2.
23493         * math/auto-libm-test-out: Regenerated.
23494         * sysdeps/i386/fpu/libm-test-ulps: Update.
23495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23497 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23499         * manual/probes.texi: Remove cases when per-thread arenas are
23500         disabled.
23502 2013-12-18  Andreas Schwab  <schwab@suse.de>
23504         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23505         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23506         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23507         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23508         * sysdeps/i386/i686/multiarch/Makefile: Update.
23509         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23511 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23513         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23514         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23516 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23518         [BZ #15968]
23519         Support TZ transition times < 00:00:00.
23520         This is needed for version-3 tz-format files; it supports time
23521         stamps past 2037 for America/Godthab (the only entry in the tz
23522         database for which this change is relevant).
23523         * manual/time.texi (TZ Variable): Document transition times
23524         from -167:59:59 through -00:00:01.
23525         * time/tzset.c (tz_rule): Time of day is now signed.
23526         (__tzset_parse_tz): Parse negative time of day.
23528         Document TZ transition times >= 25:00:00.
23529         * manual/time.texi (TZ Variable): Document transition times from
23530         25:00:00 through 167:59:59.  These are already supported, and this
23531         support will help with version-3 tz-format files.
23533         * manual/time.texi (TZ Variable): Modernize North America example
23534         to reflect current (i.e., 2007-and-later) daylight saving rules.
23536         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23538 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23540         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23541         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23543         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23544         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23545         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23546         * sysdeps/unix/bsd/clock.c: Likewise.
23547         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23548         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23549         * sysdeps/unix/bsd/init-posix.c: Likewise.
23550         * sysdeps/unix/bsd/poll.c: Likewise.
23551         * sysdeps/unix/bsd/ptsname.c: Likewise.
23552         * sysdeps/unix/bsd/seekdir.c: Likewise.
23553         * sysdeps/unix/bsd/setegid.c: Likewise.
23554         * sysdeps/unix/bsd/seteuid.c: Likewise.
23555         * sysdeps/unix/bsd/setgid.c: Likewise.
23556         * sysdeps/unix/bsd/setrgid.c: Likewise.
23557         * sysdeps/unix/bsd/setruid.c: Likewise.
23558         * sysdeps/unix/bsd/setsid.c: Likewise.
23559         * sysdeps/unix/bsd/setuid.c: Likewise.
23560         * sysdeps/unix/bsd/sigaction.c: Likewise.
23561         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23562         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23563         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23564         * sysdeps/unix/bsd/telldir.c: Likewise.
23565         * sysdeps/unix/bsd/times.c: Likewise.
23566         * sysdeps/unix/bsd/usleep.c: Likewise.
23568         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23569         ($(objpfx)libbsd-compat.a): Remove rule.
23571         * include/features.h (__FAVOR_BSD): Do not define.
23572         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23573         features conflicting with POSIX.
23574         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23575         (_BSD_SOURCE): Remove description of not being a subset of other
23576         feature test macros.
23577         * manual/job.texi (getpgrp): Do not document BSD version.
23578         (getpgid): Do not document by reference to BSD getpgrp.
23579         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23580         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23581         * signal/signal.h [__FAVOR_BSD]: Likewise.
23582         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23583         instead of making contents conditional on [__FAVOR_BSD].
23584         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23586 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23590 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23592         [BZ #16314]
23593         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23594         values below 2**-450, not 2**-500.
23595         * math/auto-libm-test-in: Don't allow spurious underflow from
23596         hypot.
23597         * math/auto-libm-test-out: Regenerated.
23599         [BZ #16316]
23600         [BZ #16330]
23601         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23602         values of ha and hb and sort them after adjusting subnormal
23603         arguments.
23604         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23605         Likewise.
23606         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23607         values of ea and eb and sort them after adjusting subnormal
23608         arguments.
23609         * math/auto-libm-test-in: Do not expect some hypot tests of
23610         subnormals to fail.  Add more hypot tests.
23611         * math/auto-libm-test-out: Regenerated.
23613 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23615         [BZ #13304]
23616         * sysdeps/sh/s_fma.c: New file.
23617         * sysdeps/sh/s_fmaf.c: New file.
23618         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23619         version.
23620         * sysdeps/sh/Implies: Add sh/soft-fp.
23622 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23624         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23625         level of indirection to members `objname', `errstring', `malloced'.
23626         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23627         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23628         it as the __longjmp argument (just pass 1 instead).
23629         (_dl_catch_error): Initialize C with argument pointers and address of
23630         volatile local ERRCODE rather than copying values out of C at return.
23632 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23634         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23635         * math/auto-libm-test-out: Regenerated.
23636         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23637         (hypot_test_data): Likewise.
23638         (pow_test_data): Likewise.
23639         (pow_tonearest_test_data): Likewise.
23640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23641         mpfr_ff_f.
23642         (func_calc_desc): Add mpfr_ff_f union field.
23643         (FUNC_mpfr_ff_f): New macro.
23644         (test_functions): Add atan2, hypot and pow.
23645         (special_fill_min): New function.
23646         (special_fill_minus_min): Likewise.
23647         (special_fill_min_subnorm): Likewise.
23648         (special_fill_minus_min_subnorm): Likewise.
23649         (special_real_inputs): Add min, -min, min_subnorm and
23650         -min_subnorm.
23651         (calc_generic_results): Handle mpfr_ff_f.
23652         * sysdeps/i386/fpu/libm-test-ulps: Update.
23653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23655 2013-12-16  Will Newton  <will.newton@linaro.org>
23657         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23658         (Aligned Memory Blocks): Add documentation for aligned_alloc
23659         and suggest it as an alternative to posix_memalign.
23660         (Hooks for Malloc): Document __memalign_hook is also called
23661         for aligned_alloc.  (Summary of Malloc): Add summary for
23662         aligned alloc.  Document __memalign_hook is also called
23663         for aligned_alloc.
23665 2013-12-16  Will Newton  <will.newton@linaro.org>
23667         * manual/memory.texi (Malloc Examples): Clarify default
23668         alignment documentation.  Suggest posix_memalign rather
23669         than memalign or valloc.
23670         (Aligned Memory Blocks): Remove suggestion to use memalign
23671         or valloc.  Remove obsolete comment about BSD.
23672         Document memalign errno values and mark the function obsolete.
23673         Document posix_memalign returned error codes.  Mark valloc
23674         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23675         called for posix_memalign and valloc.
23676         (Summary of Malloc): Add posix_memalign to function summary.
23677         __memalign_hook is also called for posix_memalign and valloc.
23679 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23681         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23682         TAYLOR_SIN.
23683         (__sin): Adjust.
23684         (__cos): Likewise.
23685         (sloww): Use mynumber union.  Expand ternary operator into
23686         if-else statements.
23687         (cslow): use mynumber union.
23689 2013-12-16  Allan McRae  <allan@archlinux.org>
23691         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23692         * configure: Regenerated.
23694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23696         [BZ #14120]
23697         * configure.ac: Added --enable-maintainer-mode. Check for
23698         autoconf when enabled.
23699         * configure: Regenerated.
23701         * nscd/nscd.service: New file.
23702         * nscd/nscd.tmpfiles: New file.
23704 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23706         [BZ #12100]
23707         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23708         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23709         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23710         (strstr): Add __strstr_sse2_unaligned ifunc.
23711         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23712         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23713         (strcasestr): Remove __strcasestr_sse42 ifunc.
23714         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23718 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23720         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23721         * sysdeps/sh/bits/fenv.h: ... here.
23722         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23724 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23726         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23729         hypotf multiarch implementations.
23730         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23731         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23732         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23733         multiarch hypot for PPC64.
23734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23735         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23736         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23737         multiarch hypotf for PPC64.
23739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23740         modff multiarch implementations.
23741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23744         multiarch modf for PPC64.
23745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23748         multiarch modff for PPC64.
23750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23751         and logl multiarch implementations.
23752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23755         multiarch logb for PPC64.
23756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23759         multiarch logb for PPC64.
23760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23763         multiarch logb for PPC64.
23765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23766         isinff multiarch implementation.
23767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23768         file.
23769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23771         multiarch isinf for PPC64.
23772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23773         file.
23774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23775         multiarch isinff for PPC64.
23777         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23778         finitef multiarch implementation.
23779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23780         file.
23781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23783         multiarch finite for PPC64.
23784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23785         file.
23786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23787         multiarch finitef for PPC64.
23789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23790         lrint multiarch implementation.
23791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23792         file.
23793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23795         multiarch llrint for PPC64.
23796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23797         multiarch lrint for PPC64.
23799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23800         copysignf multiarch implementation.
23801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23802         file.
23803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23804         file.
23805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23806         multiarch copysign for PPC64.
23807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23808         multiarch copysignf for PPC64.
23810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23811         multiarch implementation.
23812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23813         file.
23814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23815         file.
23816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23817         file.
23818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23819         file.
23820         multiarch llround for PPC64.
23821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23822         multiarch trunc for PPC64.
23823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23824         multiarch truncf for PPC64.
23826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23827         multiarch implementation.
23828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23829         file.
23830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23831         file.
23832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23833         file.
23834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23835         file.
23836         multiarch llround for PPC64.
23837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23838         multiarch round for PPC64.
23839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23840         multiarch roundf for PPC64.
23842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23843         multiarch implementation.
23844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23845         file.
23846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23847         file.
23848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23849         file.
23850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23851         file.
23852         multiarch llround for PPC64.
23853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23854         multiarch floor for PPC64.
23855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23856         multiarch floorf for PPC64.
23858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23859         multiarch implementation.
23860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23861         file.
23862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23863         file.
23864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23865         file.
23866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23867         file.
23868         multiarch llround for PPC64.
23869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23870         multiarch ceil for PPC64.
23871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23872         multiarch ceilf for PPC64.
23874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23875         multiarch implementation.
23876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23877         file.
23878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23879         file.
23880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23881         file.
23882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23883         multiarch llround for PPC64.
23884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23885         multiarch lround for PPC64.
23887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23888         multiarch implementation.
23889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23892         file.
23893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23896         multiarch isnan for PPC64.
23897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23898         multiarch isnanf for PPC64.
23900         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23901         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23902         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23903         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23904         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23907         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23908         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23913         multiarch implementations.
23914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23915         (__libc_ifunc_impl_list): Likewise.
23916         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23919         multiarch stpcpy for PPC64.
23921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23922         multiarch implementations.
23923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23924         (__libc_ifunc_impl_list): Likewise.
23925         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23926         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23927         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23928         multiarch strcpy for PPC64.
23930         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23931         redefine function name.
23932         (_wordcopy_fwd_dest_aligned): Likewise.
23933         (_wordcopy_bwd_aligned): Likewise.
23934         (_wordcopy_bwd_dest_aligned): Likewise.
23935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23936         multiarch implementations.
23937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23938         (__libc_ifunc_impl_list): Likewise.
23939         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23940         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23943         multiarch wcscpy for PPC64.
23945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23946         multiarch implementations.
23947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23948         (__libc_ifunc_impl_list): Likewise.
23949         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23950         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23951         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23952         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23953         multiarch wcscpy for PPC64.
23955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23956         multiarch implementations.
23957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23958         (__libc_ifunc_impl_list): Likewise.
23959         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23960         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23961         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23963         multiarch wcsrchr for PPC64.
23965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23966         multiarch implementations.
23967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23968         (__libc_ifunc_impl_list): Likewise.
23969         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23970         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23971         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23972         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23973         multiarch wcschr for PPC64.
23975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23976         multiarch implementations.
23977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23978         (__libc_ifunc_impl_list): Likewise.
23979         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23980         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23981         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23982         multiarch strchrnul for PPC64.
23984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23985         implementations.
23986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23987         (__libc_ifunc_impl_list): Likewise.
23988         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23989         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23990         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23991         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23992         strchr for PPC64.
23994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23995         implementations.
23996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23997         (__libc_ifunc_impl_list): Likewise.
23998         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23999         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
24000         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
24001         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
24002         strncmp for PPC64.
24004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
24005         multiarch implementations.
24006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24007         (__libc_ifunc_impl_list): Likewise.
24008         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
24009         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
24010         strncasecmp for PPC64.
24011         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
24012         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24013         multiarch strncasecmp_l for PPC64.
24015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24016         multiarch implementations.
24017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24018         (__libc_ifunc_impl_list): Likewise.
24019         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24020         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24021         multiarch strcasecmp for PPC64.
24022         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24023         file.
24024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24025         multiarch strcasecmp_l for PPC64.
24027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24028         implementations.
24029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24030         (__libc_ifunc_impl_list): Likewise.
24031         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24032         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24033         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24034         strnlen for PPC64.
24036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24037         implementations.
24038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24039         (__libc_ifunc_impl_list): Likewise.
24040         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24041         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24042         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24043         strlen for PPC64.
24045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24046         implementations.
24047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24048         (__libc_ifunc_impl_list): Likewise.
24049         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24050         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24051         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24052         rawmemrchr for PPC64.
24054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24055         implementation.
24056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24057         (__libc_ifunc_impl_list): Likewise.
24058         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24059         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24060         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24061         memrchr for PPC64.
24063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24064         implementation.
24065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24066         (__libc_ifunc_impl_list): Likewise.
24067         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24068         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24069         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24070         memchr for PPC64.
24072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24073         implementation.
24074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24075         (__libc_ifunc_impl_list): Likewise.
24076         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24077         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24078         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24079         mempcpy for PPC64.
24081         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24082         avoid cretion of __bzero symbol.
24083         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24084         Likewise.
24085         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24086         Likewise.
24087         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24088         Likewise.
24089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24090         multiarch implementations.
24091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24092         (__libc_ifunc_impl_list): Likewise.
24093         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24094         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24095         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24096         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24097         bzero for PPC32.
24098         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24099         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24100         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24101         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24102         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24103         memset for PPC64.
24104         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24106         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24108         implementations.
24109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24110         (__libc_ifunc_impl_list): Likewise.
24111         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24112         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24113         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24114         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24115         memcmp for PPC64.
24117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24118         multiarch for POWER/PPC64.
24119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24120         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24121         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24122         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24123         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24124         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24125         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24126         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24127         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24128         memcpy for PPC64.
24130         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24131         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24132         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24133         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24134         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24135         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24136         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24137         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24138         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24139         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24140         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24141         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24142         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24143         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24144         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24153 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24155         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24157 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159         * benchtests/Makefile (bench): Add exp2 and log2.
24160         (LDLIBS-bench-exp2): Add -lm.
24161         (LDLIBS-bench-log2): Likewise.
24162         * benchtests/exp2-inputs: New inputs file.
24163         * benchtests/log2-inputs: New inputs file.
24164         * benchtests/log-inputs: Add new inputs.
24165         * benchtests/tan-inputs: Likewise.
24167 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24170         definition...
24171         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24172         (csloww2): ... from here.
24174         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24175         instead of structures.
24176         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24177         (POLYNOMIAL): Likewise.
24178         (TAYLOR_SLOW): Likewise.
24179         (__sin): Likewise.
24180         (__cos): Likewise.
24181         (slow1): Likewise.
24182         (slow2): Likewise.
24183         (sloww): Likewise.
24184         (sloww1); Likewise.
24185         (sloww2): Likewise.
24186         (bsloww1): Likewise.
24187         (bsloww2): Likewise.
24188         (cslow2): Likewise.
24189         (csloww): Likewise.
24190         (csloww1): Likewise.
24191         (csloww2): Likewise.
24193 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24195         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24196         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24197         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24198         * malloc/hooks.c (realloc_check): Likewise.
24200         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24201         * malloc/arena.c: Remove PER_THREAD conditional.
24202         [!PER_THREAD]: Remove code.
24203         (ptmalloc_unlock_all2): Likewise.
24204         (ptmalloc_init): Likewise.
24205         (_int_new_arena): Likewise.
24206         (arena_get2): Likewise.
24207         * malloc/hooks.c (__malloc_get_state): Likewise.
24208         (__malloc_set_state): Likewise.
24209         * malloc/malloc.c: Likewise.
24210         (struct malloc_state): Likewise.
24211         (struct malloc_par): Likewise.
24212         (__libc_realloc): Likewise.
24213         (__libc_mallopt): Likewise.
24215 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24217         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24219 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24221         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24222         macro to a function.  Check for zero perturb_byte.
24223         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24225         * malloc/malloc.c: (force_reg): Remove.
24226         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24227         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24228         force_reg by atomic_forced_read.
24229         * malloc/arena.c (ptmalloc_init): Likewise.
24230         * malloc/hooks.c (top_check): Likewise.
24232 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24236 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24240 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24242         * math/auto-libm-test-in: Add tests of lgamma.
24243         * math/auto-libm-test-out: Regenerated.
24244         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24245         (M_LOG_2_SQRT_PIl): Likewise.
24246         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24247         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24248         mpfr_f_f1.
24249         (func_calc_desc): Add mpfr_f_f1 union field.
24250         (ARGS1): New macro.
24251         (ARGS2): Likewise.
24252         (ARGS3): Likewise.
24253         (ARGS4): Likewise.
24254         (RET1): Likewise.
24255         (RET2): Likewise.
24256         (CALC): Likewise.
24257         (FUNC): Likewise.
24258         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24259         (test_functions): Add lgamma.
24260         (calc_generic_results): Handle mpfr_f_f1.
24261         * sysdeps/i386/fpu/libm-test-ulps: Update.
24262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24264 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24266         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24267         __mpn_add_n for PowerPC64/POWER7.
24268         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24269         __mpn_sub_n for PowerPC64/POWER7.
24271         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24272         __mpn_addmul_1 for PowerPC64.
24273         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24274         __mpn_submul_1 for PowerPC64.
24275         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24276         for PowerPC64.
24277         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24278         for PowerPC64.
24280 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24282         [BZ #15089]
24283         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24285 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24287         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24289         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24290         add multiarch folders.
24291         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24292         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24293         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24294         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24295         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24296         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24297         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24298         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24299         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24300         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24301         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24310         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24312         New file.
24313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24314         New file.
24315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24316         multiarch __ieee754_hypot for PowerPC32.
24317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24318         New file.
24319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24320         New file.
24321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24322         multiarch __ieee754_hypotf for PowerPC32.
24324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24325         long_double_symbol only if __logbl is defined.
24326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24327         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24329         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24331         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24332         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24333         path for implementation.
24334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24335         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24337         logb, and logbl multiarch implementations for PowerPC32.
24338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24339         file.
24340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24341         file.
24342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24343         multiarch logb for PowerPC32.
24344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24345         file.
24346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24347         file.
24348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24349         multiarch logbf for PowerPC32.
24350         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24352         file.
24353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24354         multiarch logbl implementation for PowerPC32.
24356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24357         and modff multiarch implementations.
24358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24359         New file.
24360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24361         New file.
24362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24363         multiarch modf for PowerPC32.
24364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24365         New file.
24366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24367         New file.
24368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24369         multiarch modff for PowerPC32.
24371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24372         and lrintf multiarch implementations.
24373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24374         New file.
24375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24376         New file.
24377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24378         multiarch lrint for PowerPC32.
24379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24380         file: multiarch lrintf for PowerPC32.
24382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24383         and lroundf multiarch implementations.
24384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24385         New file.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24387         New file.
24388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24389         New file.
24390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24391         multiarch lround for PowerPC32.
24392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24393         file: multiarch lroundf for PowerPC32.
24395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24396         copysign and copysignf multiarch implementations.
24397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24398         New file.
24399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24400         New file.
24401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24402         file: multiarch copysign for PowerPC32.
24403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24404         file: multiarch copysignf for PowerPC32.
24406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24407         and truncf multiarch implementations.
24408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24409         New file.
24410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24411         file.
24412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24413         multiarch trunc for PowerPC32.
24414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24415         New file.
24416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24417         New file.
24418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24419         multiarch truncf for PowerPC32.
24421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24422         and roundf multiarch implementations.
24423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24424         New file.
24425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24426         file.
24427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24428         multiarch round for PowerPC32.
24429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24430         New file.
24431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24432         New file.
24433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24434         multiarch roundf for PowerPC32.
24436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24437         and floorf multiarch implementations.
24438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24439         New file.
24440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24441         file.
24442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24443         multiarch floor for PowerPC32.
24444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24445         New file.
24446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24447         New file.
24448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24449         multiarch floorf for PowerPC32.
24451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24452         and ceilf multiarch implementations.
24453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24454         New file.
24455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24456         file.
24457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24458         multiarch ceil for PowerPC32.
24459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24460         New file.
24461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24462         file.
24463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24464         multiarch ceilf for PowerPC32.
24466         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24467         is defined.
24468         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24469         FINITEF is defined.
24470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24471         and finitef multiarch implementations.
24472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24473         New file.
24474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24475         file.
24476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24477         multiarch finite for PowerPC32.
24478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24479         New file.
24480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24481         file: multiarch finitef for PowerPC32.
24483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24484         and isinff multiarch implementations.
24485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24486         file.
24487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24488         file.
24489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24490         multiarch isinf for PowerPC32.
24491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24492         New file.
24493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24494         multiarch isinff for PowerPC32.
24496         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24497         alias when __isnan is defined.
24498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24499         and isnanf multiarch implementations.
24500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24501         file.
24502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24503         file.
24504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24505         file.
24506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24507         file.
24508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24509         multiarch isnan for PowerPC32.
24510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24511         New file.
24512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24513         New file.
24514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24515         multiarch isnanf for PowerPC32.
24517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24518         and sqrtf multiarch implementations.
24519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24520         file.
24521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24522         file.
24523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24524         multiarch sqrt for PowerPC32.
24525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24526         file.
24527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24528         file.
24529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24530         multiarch sqrtf for PowerPC32.
24532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24533         and llroundf multiarch implementations.
24534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24535         New file.
24536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24537         New file.
24538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24539         New file.
24540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24541         file: multiarch llround for PowerPC32.
24542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24543         file: multiarch llroundf for PowerPC32.
24545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24546         multiarch PowerPC32 fpu implementations.
24547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24548         New file.
24549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24550         New file.
24551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24552         multiarch llrint for PowerPC32.
24553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24554         New file.
24555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24556         New file.
24557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24558         file.
24560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24563         file.
24564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24565         file.
24566         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24567         file.
24568         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24569         multiarch wordcopy for PPC32.
24570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24571         wordcopy objects.
24572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24573         (__libc_ifunc_impl_list): Likewise.
24574         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24575         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24576         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24577         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24578         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24579         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24581         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24582         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24583         file.
24584         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24585         file.
24586         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24587         file.
24588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24589         multiarch wcscpy for PPC32.
24590         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24591         multiarch objects.
24592         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24593         (__libc_ifunc_impl_list): Likewise.
24594         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24595         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24596         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24597         sysdeps/powerpc/power6/wcscpy.c.
24599         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24601         file.
24602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24603         file.
24604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24605         file.
24606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24607         multiarch wcsrchr for PPC32.
24608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24609         multiarch objects.
24610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24611         (__libc_ifunc_impl_list): Likewise.
24612         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24613         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24614         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24615         sysdeps/powerpc/power6/wcsrchr.c.
24617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24618         file.
24619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24620         file.
24621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24622         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24623         multiarch wcschr for PPc32.
24624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24625         multiarch objects.
24626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24627         (__libc_ifunc_impl_list): Likewise.
24628         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24629         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24630         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24631         sysdeps/powerpc/power6/wcschr.c.
24633         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24634         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24635         file.
24636         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24637         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24638         file: multiarch strchr for PPC32.
24639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24640         multiarch objects.
24641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24642         (__libc_ifunc_impl_list): Likewise.
24644         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24645         name.
24646         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24647         file.
24648         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24649         file.
24650         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24651         multiarch strchrnul for PPC32.
24652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24653         multiarch objects.
24654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24655         (__libc_ifunc_impl_list): Likewise.
24657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24658         file.
24659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24660         multiarch strncasecmp for PPC32.
24661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24662         file.
24663         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24664         multiarch strncasecmp_l for PPC32.
24665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24666         strncasecmp multiarch objects.
24667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24668         (__libc_ifunc_impl_list): Likewise.
24670         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24671         file.
24672         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24673         multiarch strncasecmp for PPC32.
24674         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24675         New file.
24676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24677         multiarch strcasecmp_l for PPC32.
24678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24679         multiarch objects.
24680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24681         (__libc_ifunc_impl_list): Likewise.
24683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24684         file.
24685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24686         file.
24687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24688         multiarch strncmp for PPC32.
24689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24690         multiarch objects.
24691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24692         (__libc_ifunc_impl_list): Likewise.
24694         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24695         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24696         file.
24697         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24698         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24700         multiarch objects.
24701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24702         (__libc_ifunc_impl_list): Likewise.
24704         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24705         file.
24706         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24707         file.
24708         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24710         multiarch objects.
24711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24712         (__libc_ifunc_impl_list): Likewise.
24714         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24715         file.
24716         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24717         file.
24718         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24719         multiarch rawmemchr for PPC32.
24720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24721         multiarch objects.
24722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24723         (__libc_ifunc_impl_list): Likewise.
24725         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24726         file.
24727         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24728         file.
24729         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24730         file: memrchr multiarch for PPC32.
24731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24732         multiarch objects.
24733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24734         (__libc_ifunc_impl_list): Likewise.
24736         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24738         file.
24739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24740         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24741         multiarch memchr for PPC32.
24742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24743         multiarch objects.
24744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24745         (__libc_ifunc_impl_list): Likewise.
24747         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24748         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24749         file.
24750         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24751         file.
24752         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24753         file: multiarch mempcpy for PPC32.
24754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24755         multiarch objects.
24756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24757         (__libc_ifunc_impl_list): Likewise.
24759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24760         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24761         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24763         multiarch bzero for PPC32.
24764         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24765         file.
24766         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24767         file.
24768         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24769         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24770         file: multiarch memset for PPC32.
24771         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24773         memset multiarch objects.
24774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24775         (__libc_ifunc_impl_list): Likewise.
24777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24778         file.
24779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24780         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24781         memcmp for PPC32.
24782         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24783         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24784         multiarch objects.
24785         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24786         (__libc_ifunc_impl_list): Likewise.
24788         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24789         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24791         file.
24792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24793         file.
24794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24795         file.
24796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24797         multiarch memcpy for PPC32.
24798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24799         multiarch objects.
24800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24801         (__libc_ifunc_impl_list): Likewise.
24803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24804         support multiarch for POWER/PPC32.
24805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24806         Likewise.
24807         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24809         Implies file to make multiarch folder appers before the fpu and
24810         default folder for power4 configuration.
24812 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24814         * scripts/bench.pl: Append volatile keyword to type.
24816 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24818         * sysdeps/sh/sotruss-lib.c: New file.
24819         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24821 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24825 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24827         [BZ #6810]
24828         * math/w_tgamma.c: Include <errno.h>.
24829         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24830         * math/w_tgammaf.c: Include <errno.h>.
24831         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24832         * math/w_tgammal.c: Include <errno.h>.
24833         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24834         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24835         underflow.  Add more tgamma tests.
24836         * math/auto-libm-test-out: Regenerated.
24837         * sysdeps/i386/fpu/libm-test-ulps: Update.
24838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24840         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24841         sin, sinh, tan, tanh, tgamma, y0 and y1.
24842         * math/auto-libm-test-out: Regenerated.
24843         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24844         (TEST_COND_x86): Likewise.
24845         (M_E2l): Remove macro.
24846         (M_E3l): Likewise.
24847         (M_2_SQRT_PIl): Likewise.
24848         (M_SQRT_PIl): Likewise.
24849         (M_1_DIV_El): Likewise.
24850         (log_test_data): Use AUTO_TESTS_f_f.
24851         (log10_test_data): Likewise.
24852         (log1p_test_data): Likewise.
24853         (log2_test_data): Likewise.
24854         (sin_test_data): Likewise.
24855         (sin_tonearest_test_data): Likewise.
24856         (sin_towardzero_test_data): Likewise.
24857         (sin_downward_test_data): Likewise.
24858         (sin_upward_test_data): Likewise.
24859         (sinh_test_data): Likewise.
24860         (sinh_tonearest_test_data): Likewise.
24861         (sinh_towardzero_test_data): Likewise.
24862         (sinh_downward_test_data): Likewise.
24863         (sinh_upward_test_data): Likewise.
24864         (tan_test_data): Likewise.
24865         (tan_tonearest_test_data): Likewise.
24866         (tan_towardzero_test_data): Likewise.
24867         (tan_downward_test_data): Likewise.
24868         (tan_upward_test_data): Likewise.
24869         (tanh_test_data): Likewise.
24870         (tgamma_test_data): Likewise.
24871         (y0_test_data): Likewise.
24872         (y1_test_data): Likewise.
24873         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24874         (special_real_inputs): Add pi/4.
24875         * sysdeps/i386/fpu/libm-test-ulps: Update.
24876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24878 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24880         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24881         "longjmp_target" static probes.
24882         (__longjmp): Rename to __longjmp_symbol.
24883         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24884         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24885         on which longjmp to generate.
24886         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24887         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24888         probe.
24889         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24890         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24891         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24892         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24893         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24894         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24896         __longjmp_symbol based on which __longjmp to generate.
24897         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24898         probe.
24899         (setjmp): Rename to setjmp_symbol.
24900         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24901         (_setjmp): Rename to _setjmp_symbol.
24902         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24903         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24904         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24905         which setjmp to generate.
24906         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24907         "longjmp_target" static probes.
24909 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24911         * benchtests/README: Add note about output arguments.
24912         * benchtests/bench-sincos.c: Remove file.
24913         * benchtests/sincos-inputs: New file.
24914         * scripts/bench.pl: Identify output arguments and define
24915         static variables for them.
24917         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24919         [BZ #15941]
24920         * Makefile (INSTALL): Add install-plain.texi as the primary
24921         dependency.
24922         * manual/install-plain.texi: New file.
24923         * manual/install.texi: Include node directive only for
24924         non-plaintext output.
24926 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24928         * stdlib/longlong.h: Update from GCC.
24930         [BZ #6807]
24931         [BZ #15901]
24932         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24933         * math/w_j0f.c (y0f): Likewise.
24934         * math/w_j0l.c (__y0l): Likewise.
24935         * math/w_j1.c (y1): Likewise.
24936         * math/w_j1f.c (y1f): Likewise.
24937         * math/w_j1l.c (__y1l): Likewise
24938         * math/w_jn.c (yn): Likewise.
24939         * math/w_jnf.c (ynf): Likewise.
24940         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24941         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24942         value for Bessel function domain errors outside _SVID_ mode.
24943         Adjust sign of return value for yn (negative integer, 0).
24944         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24945         by zero in return for negative x and set sign appropriately for
24946         negative n.
24947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24948         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24949         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24950         expectations in error cases.
24951         (y1_test_data): Likewise.
24952         (yn_test_data): Likewise.
24953         * sysdeps/i386/fpu/libm-test-ulps: Update.
24954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24956 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24958         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24959         "64" to "64-v1".  Add "64-v2".
24960         (abi-64-options): Rename to ...
24961         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24962         (abi-64-condition): Rename to ...
24963         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24964         (abi-64-ld-soname): Rename to ...
24965         (abi-64-v1-ld-soname): ... this.
24966         (abi-64-v2-options): Define.
24967         (abi-64-v2-condition): Likewise.
24968         (abi-64-v2-ld-soname): Likewise.
24969         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24970         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24975 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24976             Alan Modra  <amodra@gmail.com>
24978         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24979         New versions for use with the ELFv2 ABI.
24980         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24981         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24982         declaration.
24983         (struct La_ppc64v2_retval): Likewise.
24984         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24985         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24986         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24987         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24988         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24989         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24990         Do not save or restore CR.
24991         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24992         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24993         return values for ELFv2 ABI.  Fix location of FPR return registers.
24994         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24995         updated values for _CALL_ELF == 2.
24996         (La_regs, La_retval, int_retval): Likewise.
24998 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25000         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
25001         (FRAME_MIN_SIZE_PARM): Likewise.
25002         (FRAME_BACKCHAIN): Likewise.
25003         (FRAME_CR_SAVE): Likewise.
25004         (FRAME_LR_SAVE): Likewise.
25005         (FRAME_TOC_SAVE): Likewise.
25006         (FRAME_PARM_SAVE): Likewise.
25007         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
25008         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
25009         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25010         (call_mcount_parm_offset): New macro.
25011         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
25012         (PROF): Use symbolic stack frame offsets.
25013         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25014         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25015         Redefine in terms of FRAME_MIN_SIZE.
25016         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25017         (_dl_profile_resolve): Likewise.  Update comment.
25018         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25019         symbols stack frame offsets.
25020         (__sigsetjmp): Likewise.
25021         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25022         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25023         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25024         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25027         (FRAME_BACKCHAIN): Remove.
25028         (FRAME_CR_SAVE): Likewise.
25029         (FRAME_LR_SAVE): Likewise.
25030         (FRAME_COMPILER_DW): Likewise.
25031         (FRAME_LINKER_DW): Likewise.
25032         (FRAME_TOC_SAVE): Likewise.
25033         (FRAME_PARM_SAVE): Likewise.
25034         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25035         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25036         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25038         (CHECK_SP): Use symbolic stack frame offsets.
25039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25040         zone" instead of caller's parameter save area for temp storage.
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25042         Likewise.  Also, use symbolic stack frame offsets.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25044         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25045         our own stack frame instead of the caller's.
25046         (__socket): Use symbolic stack frame offsets.
25048 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25049             Alan Modra  <amodra@gmail.com>
25051         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25052         Define.
25053         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25054         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25055         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25056         New function.
25057         (elf_machine_fixup_plt): Call it.
25058         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25059         reloc arguments.
25060         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25062         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25063         r2 before calling target.
25065 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25066             Alan Modra  <amodra@gmail.com>
25068         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25069         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25070         versions of macros to support ELFv2 ABI.
25071         (LOCALENTRY): New macro.
25072         (ENTRY, EALIGN): Use it.
25073         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25074         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25075         fall through into ENTRY entry point.
25076         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25077         Only define if _CALL_ELF != 2.
25079         (elf_machine_matches_host): Verify ABI version matches.
25080         (RTLD_START): Use LOCALENTRY.
25081         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25082         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25083         (PLT_ENTRY_WORDS): New macro.
25084         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25085         (elf_machine_runtime_setup): Support ELFv2 ABI.
25086         (elf_machine_fixup_plt): Likewise.
25087         (elf_machine_plt_conflict): Likewise.
25088         (resolve_ifunc): Likewise.
25089         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25091         Likewise.
25092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25093         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25095         (makecontext): Support ELFv2 ABI.
25096         * elf/elf.h (EF_PPC64_ABI): Define.
25098 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25100         * sysdeps/powerpc/powerpc64/sysdep.h
25101         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25102         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25103         (ENTRY) [ASSEMBLER]: ... but instead here ...
25104         (EALIGN) [ASSEMBLER]: ... and here.
25105         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25106         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25107         (ENTRY_2) [!ASSEMBLER]: Use it.
25108         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25109         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25110         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25111         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25112         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25114         Use PPC64_LOAD_FUNCPTR.
25116         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25118 2013-12-04  Alan Modra  <amodra@gmail.com>
25120         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25121         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25122         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25123         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25126         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25127         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25128         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25129         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25130         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25132 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25135         (__makecontext): Fix incorrect CFI when backtracing out of
25136         context created via makecontext.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25138         (__setcontext): Fix incorrect CFI during switch to new context.
25139         (__novec_setcontext): Likewise.
25141 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25143         [BZ #4772]
25144         * time/strptime_l.c (__strptime_internal): Allow modifiers
25145         in strptime.
25146         * time/tst-strptime.c (day_tests): Add testcase.
25148 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25150         * scripts/bench.pl: Skip over blank lines.
25152 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25154         [BZ #926]
25155         * manual/time.texi (Calendar Time): Clarify what timezone functions
25156         use.
25158 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25162 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25164         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25165         implementation.
25166         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25167         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25168         * debug/memset_chk.c (__memset_chk): Likewise.
25169         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25170         * debug/strncpy_chk.c: Likewise.
25172 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25174         [BZ #15268]
25175         [BZ #15425]
25176         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25177         (__ieee754_exp): For possibly underflowing results, check size of
25178         result and force underflow exception if required.
25179         * math/auto-libm-test-in: Add more tests of exp.
25180         * math/auto-libm-test-out: Regenerated.
25181         * sysdeps/i386/fpu/libm-test-ulps: Update.
25182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25184         [BZ #16283]
25185         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25186         * math/w_exp2f.c (__exp2f): Likewise.
25187         * math/w_exp2l.c (__exp2l): Likewise.
25188         * math/auto-libm-test-in: Do not allow missing errno on exp2
25189         underflow.
25190         * math/auto-libm-test-out: Regenerated.
25192 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25194         [BZ #16274]
25195         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25196         handle filename validation.
25197         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25198         (do_open): Delete.
25200 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25202         [BZ #6786]
25203         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25204         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25205         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25206         <float.h>.
25207         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25208         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25209         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25210         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25211         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25212         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25213         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25214         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25215         Add more erfc tests.
25216         * math/auto-libm-test-out: Regenerated.
25217         * sysdeps/i386/fpu/libm-test-ulps: Update.
25218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25220         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25221         exp2, expm1, j0 and j1.
25222         * math/auto-libm-test-out: Regenerated.
25223         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25224         (erfc_test_data): Likewise.
25225         (exp_test_data): Likewise.
25226         (exp_tonearest_test_data): Likewise.
25227         (exp_towardzero_test_data): Likewise.
25228         (exp_downward_test_data): Likewise.
25229         (exp_upward_test_data): Likewise.
25230         (exp10_test_data): Likewise.
25231         (exp2_test_data): Likewise.
25232         (expm1_test_data): Likewise.
25233         (j0_test_data): Likewise.
25234         (j1_test_data): Likewise.
25235         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25236         (input_flag_type): Add flag_xfail_rounding.
25237         (input_flags): Add xfail-rounding.
25238         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25239         (output_for_one_input_case): Handle flag_xfail_rounding.
25240         * sysdeps/i386/fpu/libm-test-ulps: Update.
25241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25243 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25245         [BZ #16289]
25246         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25247         division by 0.
25249 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25251         [BZ #16195]
25252         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25253         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25254         (STAP_PROBE0): New macro.
25255         (STAP_PROBE1): Likewise.
25256         (STAP_PROBE2): Likewise.
25257         (STAP_PROBE3): Likewise.
25258         (STAP_PROBE4): Likewise.
25260 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25262         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25264 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25266         * benchtests/Makefile (bench): Add sqrt.
25267         (LDLIBS-bench-sqrt): New.
25268         * benchtests/sqrt-input: New.
25270 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25272         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25273         (GAIH_EAI): Likewise.
25274         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25275         (gaih_inet): Likewise.
25276         (getaddrinfo): Don't use GAIH_EAI.
25278         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25279         (struct gaih): Remove definition.
25281 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25283         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25284         Use HERRNOP directly.
25286 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25290 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25292         * math/gen-auto-libm-tests.c (test_functions): Add more
25293         single-argument functions.
25294         (special_fill_pi_2): New function.
25295         (special_fill_minus_pi_2): Likewise.
25296         (special_fill_pi_6): Likewise.
25297         (special_fill_minus_pi_6): Likewise.
25298         (special_fill_pi_3): Likewise.
25299         (special_fill_2pi_3): Likewise.
25300         (special_fill_e): Likewise.
25301         (special_fill_1_e): Likewise.
25302         (special_fill_e_minus_1): Likewise.
25303         (special_real_inputs): Add more special inputs.
25304         (output_for_one_input_case): Do not require ERANGE on underflow to
25305         zero if round-to-nearest result does not underflow to zero, unless
25306         exact results required.
25307         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25308         atan, atanh, cbrt, cos and cosh.
25309         * math/auto-libm-test-out: Regenerated.
25310         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25311         (acos_tonearest_test_data): Likewise.
25312         (acos_towardzero_test_data): Likewise.
25313         (acos_downward_test_data): Likewise.
25314         (acos_upward_test_data): Likewise.
25315         (acosh_test_data): Likewise.
25316         (asin_test_data): Likewise.
25317         (asin_tonearest_test_data): Likewise.
25318         (asin_towardzero_test_data): Likewise.
25319         (asin_upward_test_data): Likewise.
25320         (asinh_test_data): Likewise.
25321         (atan_test_data): Likewise.
25322         (atanh_test_data): Likewise.
25323         (cbrt_test_data): Likewise.
25324         (cos_test_data): Likewise.
25325         (cos_tonearest_test_data): Likewise.
25326         (cos_towardzero_test_data): Likewise.
25327         (cos_downward_test_data): Likewise.
25328         (cos_upward_test_data): Likewise.
25329         (cosh_test_data): Likewise.
25330         (cosh_tonearest_test_data): Likewise.
25331         (cosh_towardzero_test_data): Likewise.
25332         (cosh_downward_test_data): Likewise.
25333         (cosh_upward_test_data): Likewise.
25334         * sysdeps/i386/fpu/libm-test-ulps: Update.
25335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25337 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25339         [BZ #6787]
25340         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25341         * math/w_exp10f.c (__exp10f): Likewise.
25342         * math/w_exp10l.c (__exp10l): Likewise.
25343         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25344         errno settings in existing tests.
25346         [BZ #14032]
25347         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25348         precision control set to double precision.
25349         * sysdeps/i386/fpu/w_sqrt.c: New file.
25350         * math/auto-libm-test-in: Add more tests.
25351         * math/auto-libm-test-out: Update.
25353         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25354         (sqrt_test_tonearest): New function.
25355         (sqrt_towardzero_test_data): New variable.
25356         (sqrt_test_towardzero): New function.
25357         (sqrt_downward_test_data): New variable.
25358         (sqrt_test_downward): New function.
25359         (sqrt_upward_test_data): New variable.
25360         (sqrt_test_upward): New function.
25361         (main): Call the new functions.
25363         * math/gen-auto-libm-tests.c: New file.
25364         * math/auto-libm-test-in: Likewise.
25365         * math/auto-libm-test-out: New generated file.
25366         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25367         variables.
25368         (%beautify): Add generated representations of zero.
25369         (top level): Set $auto_input and call parse_auto_input.
25370         (beautify): Remove trailing "f" from hex float constants.
25371         (parse_args): Handle XFAIL_TEST.
25372         (convert_condition): New function.
25373         (or_value): Likewise.
25374         (or_cond_value): Likewise.
25375         (generate_testfile): Handle AUTO_TESTS_* lines.
25376         (parse_auto_input): New function.
25377         * math/libm-test.inc (XFAIL_TEST): New macro.
25378         (ERRNO_UNCHANGED): Update value.
25379         (ERRNO_EDOM): Likewise.
25380         (ERRNO_ERANGE): Likewise.
25381         (IGNORE_RESULT): Likewise.
25382         (TEST_COND_flt_32): New macro.
25383         (TEST_COND_dbl_64): Likewise.
25384         (TEST_COND_ldbl_96_intel): Likewise.
25385         (TEST_COND_ldbl_96_m68k): Likewise.
25386         (TEST_COND_ldbl_128): Likewise.
25387         (TEST_COND_ldbl_128ibm): Likewise.
25388         (TEST_COND_long32): Likewise.
25389         (TEST_COND_long64): Likewise.
25390         (TEST_COND_before_rounding): Likewise.
25391         (TEST_COND_after_rounding): Likewise.
25392         (enable_test): Handle XFAIL_TEST flag.
25393         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25394         with finite results.
25395         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25396         auto-libm-test-out.
25398 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25399             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25401         [BZ #16214]
25402         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25403         __tls_get_addr_internal instead of __tls_get_offset in order to
25404         avoid GOT pointer dependency.  Make rtld export
25405         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25406         __tls_get_addr since we are a __tls_get_offset platform.
25407         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25408         GOT pointer being set up before.
25409         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25411 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25413         * manual/math.texi (Errors in Math Functions): Document accuracy
25414         goals.
25416         [BZ #15004]
25417         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25418         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25420         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25421         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25422         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25423         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25424         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25425         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25426         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25427         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25428         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25429         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25430         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25431         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25432         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25434         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25435         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25436         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25437         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25438         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25439         Likewise.
25440         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25441         Likewise.
25442         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25443         Likewise.
25444         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25445         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25446         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25447         atomic-feupdateenv and flt-rounds.
25448         * sysdeps/powerpc/nofpu/Versions (libc): Add
25449         __atomic_feholdexcept, __atomic_feclearexcept,
25450         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25451         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25452         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25454         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25455         here.
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25457         Update.
25459         * manual/arith.texi (FP Exceptions): Document that exceptions may
25460         not be raised when matherr is used.
25461         (Math Error Reporting): Document overflow in directed rounding
25462         modes.  Document that errno may not be set when finite values are
25463         returned on overflow.  Document intent to set errno on underflow
25464         only for underflow to zero.
25466         [BZ #16271]
25467         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25468         round-to-nearest then adjust result for other rounding modes.
25469         * include/fenv.h (fegetround): Use libm_hidden_proto.
25470         * math/fegetround.c (fegetround): Use libm_hidden_def.
25471         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25472         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25473         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25475         Likewise.
25476         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25477         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25478         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25479         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25481 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25483         [BZ #16077]
25484         * nss/Versions (libnss_files): Add
25485         _nss_files_gethostbyname3_r.
25486         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25487         New function.
25488         (HOST_DB_LOOKUP): Remove macro.
25489         (_nss_files_gethostbyname_r): Implement function without the
25490         HOST_DB_LOOKUP macro.
25491         (_nss_files_gethostbyname2_r): Likewise.
25493 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25495         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25497 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25499         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25500         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25501         warning.
25503 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25506         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25507         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25508         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25509         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25510         __fe_nomask_env_priv and attribute_hidden.
25511         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25512         (libc_feupdateenv_test_ppc): Likewise.
25513         (libc_feresetround_ppc): Likewise.
25514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25515         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25516         compat_symbol macro.
25517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25518         (__fe_nomask_env): Likewise.
25519         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25521 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25523         * string/Makefile: Remove ifunc tests.
25524         * string/test-string.h: Define TEST_IFUNC.
25525         * string/test-bcopy-ifunc.c: Remove.
25526         * string/test-bzero-ifunc.c: Likewise.
25527         * string/test-memccpy-ifunc.c: Likewise.
25528         * string/test-memchr-ifunc.c: Likewise.
25529         * string/test-memcmp-ifunc.c: Likewise.
25530         * string/test-memcpy-ifunc.c: Likewise.
25531         * string/test-memmem-ifunc.c: Likewise.
25532         * string/test-memmove-ifunc.c: Likewise.
25533         * string/test-mempcpy-ifunc.c: Likewise.
25534         * string/test-memrchr-ifunc.c: Likewise.
25535         * string/test-memset-ifunc.c: Likewise.
25536         * string/test-rawmemchr-ifunc.c: Likewise.
25537         * string/test-stpcpy-ifunc.c: Likewise.
25538         * string/test-stpncpy-ifunc.c: Likewise.
25539         * string/test-strcasecmp-ifunc.c: Likewise.
25540         * string/test-strcasestr-ifunc.c: Likewise.
25541         * string/test-strcat-ifunc.c: Likewise.
25542         * string/test-strchr-ifunc.c: Likewise.
25543         * string/test-strchrnul-ifunc.c: Likewise.
25544         * string/test-strcmp-ifunc.c: Likewise.
25545         * string/test-strcpy-ifunc.c: Likewise.
25546         * string/test-strcspn-ifunc.c: Likewise.
25547         * string/test-strlen-ifunc.c: Likewise.
25548         * string/test-strncasecmp-ifunc.c: Likewise.
25549         * string/test-strncat-ifunc.c: Likewise.
25550         * string/test-strncmp-ifunc.c: Likewise.
25551         * string/test-strncpy-ifunc.c: Likewise.
25552         * string/test-strnlen-ifunc.c: Likewise.
25553         * string/test-strpbrk-ifunc.c: Likewise.
25554         * string/test-strrchr-ifunc.c: Likewise.
25555         * string/test-strspn-ifunc.c: Likewise.
25556         * string/test-strstr-ifunc.c: Likewise.
25558 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25560         * benchtests/Makefile: Remove ifunc tests.
25561         * benchtests/bench-string.h: Define TEST_IFUNC.
25562         * benchtests/bench-bcopy-ifunc.c: Remove.
25563         * benchtests/bench-bzero-ifunc.c: Likewise.
25564         * benchtests/bench-memccpy-ifunc.c: Likewise.
25565         * benchtests/bench-memchr-ifunc.c: Likewise.
25566         * benchtests/bench-memcmp-ifunc.c: Likewise.
25567         * benchtests/bench-memcpy-ifunc.c: Likewise.
25568         * benchtests/bench-memmem-ifunc.c: Likewise.
25569         * benchtests/bench-memmove-ifunc.c: Likewise.
25570         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25571         * benchtests/bench-memrchr-ifunc.c: Likewise.
25572         * benchtests/bench-memset-ifunc.c: Likewise.
25573         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25574         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25575         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25576         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25577         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25578         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25579         * benchtests/bench-strcat-ifunc.c: Likewise.
25580         * benchtests/bench-strchr-ifunc.c: Likewise.
25581         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25582         * benchtests/bench-strcmp-ifunc.c: Likewise.
25583         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25584         * benchtests/bench-strcpy-ifunc.c: Likewise.
25585         * benchtests/bench-strcspn-ifunc.c: Likewise.
25586         * benchtests/bench-strlen-ifunc.c: Likewise.
25587         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25588         * benchtests/bench-strncat-ifunc.c: Likewise.
25589         * benchtests/bench-strncmp-ifunc.c: Likewise.
25590         * benchtests/bench-strncpy-ifunc.c: Likewise.
25591         * benchtests/bench-strnlen-ifunc.c: Likewise.
25592         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25593         * benchtests/bench-strrchr-ifunc.c: Likewise.
25594         * benchtests/bench-strsep-ifunc.c: Likewise.
25595         * benchtests/bench-strspn-ifunc.c: Likewise.
25596         * benchtests/bench-strstr-ifunc.c: Likewise.
25598 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25600         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25602 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25604         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25605         * rt/aio.h: Likewise.
25606         * sysdeps/gnu/bits/utmp.h: Likewise.
25607         * sysdeps/gnu/bits/utmpx.h: Likewise.
25608         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25609         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25610         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25611         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25612         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25613         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25614         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25615         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25616         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25617         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25618         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25619         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25620         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25622         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25623         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25624         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25625         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25626         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25627         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25628         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25629         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25630         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25631         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25632         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25633         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25634         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25635         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25636         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25637         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25638         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25639         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25640         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25641         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25642         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25643         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25644         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25645         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25646         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25647         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25648         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25649         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25651 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25653         [BZ #16245]
25654         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25655         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25657 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25659         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25660         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25661         Likewise.
25663 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25666         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25667         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25668         (__fesetround): Remove define.
25669         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25670         rounding and exceptions handling.
25671         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25672         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25673         (__fe_nomask_env): Likewise.
25674         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25675         __fegetround instead of fegetround.
25676         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25677         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25679 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25681         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25682         it's there.
25684         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25686 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25688         [BZ #11157]
25689         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25690         (encrypt_r): Likewise.
25691         * malloc/obstack.h (obstack_free): Likewise.
25692         * posix/unistd.h (encrypt): Likewise.
25694 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25696         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25697         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25698         DL_CALL_DT_FINI() that call the functions directly.
25699         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25700         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25701         * elf/dl-fini.c: Likewise.
25703 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25705         * malloc/hooks.c (memalign_check): Add alignment rounding.
25706         * malloc/malloc.c (_mid_memalign): New function.
25707         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25708         Implement by calling _mid_memalign.
25709         * manual/probes.texi (Memory Allocation Probes): Remove
25710         memory_valloc_retry and memory_pvalloc_retry.
25712 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25714         * locale/programs/locarchive.c (open_archive): Add const
25715         qualifier to ARCHIVEFNAME and copy default fname to
25716         DEFAULT_FNAME.
25718         [BZ #15601]
25719         * libio/tst-widetext.input: Rename Oriya to Odia.
25720         * locale/iso-639.def: Likewise.
25722         * manual/probes.texi (Mathematical Function Probes): Add
25723         documentation for sin, cos, asin and acos probes.
25724         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25725         (__sin32): Add slowasin probe.
25726         (__cos32): Add slowacos probe.
25727         (__mpsin): Add slowsin probe.
25728         (__mpcos): Add slowcos probe.
25730 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25732         [BZ #15483]
25733         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25734         thread-local __sim_exceptions_thread and global
25735         __sim_exceptions_global.
25736         (__sim_disabled_exceptions): Change to thread-local
25737         __sim_disabled_exceptions_thread and global
25738         __sim_disabled_exceptions_global.
25739         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25740         and global __sim_round_mode_global.
25741         (__simulate_exceptions): Use thread-local floating-point state and
25742         set global state from it as needed.
25743         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25744         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25745         __sim_round_mode_thread.
25746         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25747         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25748         and global __sim_exceptions_global.
25749         (__sim_disabled_exceptions): Change to thread-local
25750         __sim_disabled_exceptions_thread and global
25751         __sim_disabled_exceptions_global.
25752         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25753         and global __sim_round_mode_global.
25754         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25755         (SIM_SET_GLOBAL): Likewise.
25756         * sysdeps/powerpc/soft-fp/sfp-machine.h
25757         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25758         __sim_round_mode_thread.
25759         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25760         __sim_disabled_exceptions_thread.
25761         (__sim_exceptions): Change to __sim_exceptions_thread.
25762         (__sim_disabled_exceptions): Change to
25763         __sim_disabled_exceptions_thread.
25764         (__sim_round_mode): Change to __sim_round_mode_thread.
25765         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25766         thread-local floating-point state and set global state from it as
25767         needed.
25768         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25769         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25770         (__sim_disabled_exceptions): Remove extern declaration.
25771         (feenableexcept): Use thread-local floating-point state and set
25772         global state from it as needed.
25773         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25774         extern declaration.
25775         (__sim_disabled_exceptions): Likewise.
25776         (__sim_round_mode): Likewise.
25777         (__fegetenv): Use thread-local floating-point state.
25778         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25779         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25780         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25781         floating-point state and set global state from it as needed.
25782         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25783         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25784         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25785         Likewise.
25786         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25787         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25788         Likewise.
25789         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25790         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25791         Use __sim_round_mode_thread.
25792         * math/test-fenv-tls.c: New file.
25793         * math/Makefile (tests): Add test-fenv-tls.
25794         ($(objpfx)test-fenv-tls): Depend on
25795         $(common-objpfx)nptl/libpthread.so.
25797 2013-11-19  Andreas Schwab  <schwab@suse.de>
25799         * locale/programs/locale.c (show_info): Decode wordarray elements.
25800         * locale/categories.def (LC_MONETARY): Add element for
25801         _NL_MONETARY_CRNCYSTR.
25802         * locale/C-monetary.c (conversion_rate): New variable.
25803         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25804         element.
25806 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25808         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25809         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25811 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25813         * elf/Makefile (tst-auxv): New test.
25814         * elf/tst-auxv.c: New
25815         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25817 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25819         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25820         (hidden_proto): Caller changed.
25821         (hidden_tls_proto): New macro.
25822         (libc_hidden_tls_proto): Likewise.
25823         (rtld_hidden_tls_proto): Likewise.
25824         (libm_hidden_tls_proto): Likewise.
25825         (libresolv_hidden_tls_proto): Likewise.
25826         (librt_hidden_tls_proto): Likewise.
25827         (libdl_hidden_tls_proto): Likewise.
25828         (libnss_files_hidden_tls_proto): Likewise.
25829         (libnsl_hidden_tls_proto): Likewise.
25830         (libnss_nisplus_hidden_tls_proto): Likewise.
25831         (libutil_hidden_tls_proto): Likewise.
25833 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25835         [BZ #10253]
25836         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25837         (decompose_rpath): Defer expansion to fillin_rpath.
25838         (_dl_init_paths): Pass linkmap to fillin_rpath.
25840 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25842         * benchtests/Makefile: Add strsep.
25843         * benchtests/bench-strsep.c: New file: strsep benchtest.
25844         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25846 2013-11-18  Andreas Schwab  <schwab@suse.de>
25848         * locale/programs/locale.c (show_info) [case byte]: Check for
25849         '\377' instead of '\177'.
25850         * locale/C-monetary.c (not_available): Always use "\377".
25851         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25852         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25853         detect unavailable sign_posn locale elements.
25854         * locale/localeconv.c (__localeconv): For grouping and
25855         mon_grouping handle "\177" and "\377" like no grouping.
25856         (INT_ELEM): New macro.  Use it to set all numeric members.
25857         * locale/programs/ld-monetary.c (monetary_read)
25858         <tok_mon_grouping>: Normalize single -1 to the empty string.
25859         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25860         Likewise.
25862 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25864         [BZ #16055]
25865         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25866         when we match (nil).
25867         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25869 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25871         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25872         (NO_TEST_INLINE): Update value.
25873         (ERRNO_UNCHANGED): Likewise.
25874         (ERRNO_EDOM): Likewise.
25875         (ERRNO_ERANGE): Likewise.
25876         (IGNORE_RESULT): Likewise.
25877         (check_float_internal): Check signs of NaN results if
25878         TEST_NAN_SIGN used.
25879         (check_complex): Pass TEST_NAN_SIGN flag through to second
25880         check_float_internal call.
25881         (copysign_test_data): Add tests with quiet NaNs as second
25882         argument.  Use TEST_NAN_SIGN.
25883         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25884         TEST_NAN_SIGN.
25885         (signbit_test_data): Add tests of quiet NaN argument.
25886         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25888         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25889         $ignore_result.
25890         (parse_args): Handle function results specified as IGNORE.
25891         * math/libm-test.inc (IGNORE_RESULT): New macro.
25892         (check_float_internal): Do not check numerical result if flag
25893         IGNORE_RESULT set.
25894         (check_complex): Pass through IGNORE_RESULT to second
25895         check_float_internal call.
25896         (check_int): Do not check numerical result if flag IGNORE_RESULT
25897         set.
25898         (check_long): Likewise.
25899         (check_bool): Likewise.
25900         (check_longlong): Likewise.
25901         (lrint_test_data): Add tests of infinite and NaN arguments.
25902         (lrint_tonearest_test_data): Likewise.
25903         (lrint_towardzero_test_data): Likewise.
25904         (lrint_downward_test_data): Likewise.
25905         (lrint_upward_test_data): Likewise.
25906         (llrint_test_data): Likewise.
25907         (llrint_tonearest_test_data): Likewise.
25908         (llrint_towardzero_test_data): Likewise.
25909         (llrint_downward_test_data): Likewise.
25910         (llrint_upward_test_data): Likewise.
25911         (lround_test_data): Likewise.
25912         (llround_test_data): Likewise.
25914         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25915         (ERRNO_UNCHANGED): Update value.
25916         (ERRNO_EDOM): Likewise.
25917         (ERRNO_ERANGE): Likewise.
25918         (NO_TEST_INLINE_FLOAT): New macro.
25919         (NO_TEST_INLINE_DOUBLE): Likewise.
25920         (enable_test): New function.
25921         (RUN_TEST_f_f): Check enable_test before running test.
25922         (RUN_TEST_2_f): Likewise.
25923         (RUN_TEST_fff_f): Likewise.
25924         (RUN_TEST_c_f): Likewise.
25925         (RUN_TEST_f_f1): Likewise.
25926         (RUN_TEST_fF_f1): Likewise.
25927         (RUN_TEST_fI_f1): Likewise.
25928         (RUN_TEST_ffI_f1): Likewise.
25929         (RUN_TEST_c_c): Likewise.
25930         (RUN_TEST_cc_c): Likewise.
25931         (RUN_TEST_f_i): Likewise.
25932         (RUN_TEST_f_i_tg): Likewise.
25933         (RUN_TEST_ff_i_tg): Likewise.
25934         (RUN_TEST_f_b): Likewise.
25935         (RUN_TEST_f_b_tg): Likewise.
25936         (RUN_TEST_f_l): Likewise.
25937         (RUN_TEST_f_L): Likewise.
25938         (RUN_TEST_fFF_11): Likewise.
25939         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25940         conditionals.
25941         (cosh_test_data): Likewise.
25942         (exp_test_data): Likewise.
25943         (expm1_test_data): Likewise.
25944         (hypot_test_data): Likewise.
25945         (pow_test_data): Likewise.
25946         (sinh_test_data): Likewise.
25947         (tanh_test_data): Likewise.
25948         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25949         flags argument.
25951         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25952         tests with quiet NaN input and output.
25953         (acosh_test_data): Likewise.
25954         (asin_test_data): Likewise.
25955         (asinh_test_data): Likewise.
25956         (atan_test_data): Likewise.
25957         (atanh_test_data): Likewise.
25958         (atan2_test_data): Likewise.
25959         (cbrt_test_data): Likewise.
25960         (cos_test_data): Likewise.
25961         (cosh_test_data): Likewise.
25962         (erf_test_data): Likewise.
25963         (erfc_test_data): Likewise.
25964         (exp_test_data): Likewise.
25965         (exp10_test_data): Likewise.
25966         (exp2_test_data): Likewise.
25967         (expm1_test_data): Likewise.
25968         (hypot_test_data): Likewise.
25969         (j0_test_data): Likewise.
25970         (j1_test_data): Likewise.
25971         (jn_test_data): Likewise.
25972         (lgamma_test_data): Likewise.
25973         (log_test_data): Likewise.
25974         (log10_test_data): Likewise.
25975         (log1p_test_data): Likewise.
25976         (log2_test_data): Likewise.
25977         (pow_test_data): Likewise.
25978         (scalb_test_data): Likewise.
25979         (sin_test_data): Likewise.
25980         (sincos_test_data): Likewise.
25981         (sinh_test_data): Likewise.
25982         (tan_test_data): Likewise.
25983         (tanh_test_data): Likewise.
25984         (tgamma_test_data): Likewise.
25985         (y0_test_data): Likewise.
25986         (y1_test_data): Likewise.
25987         (yn_test_data): Likewise.
25989         [BZ #16167]
25990         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25991         argument being NaN and avoid computations with second argument in
25992         that case.
25993         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25994         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25995         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25997 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25999         * locale/iso-639.def: Add Chitwani Tharu (the).
26001 2013-11-14  Andreas Schwab  <schwab@suse.de>
26003         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
26004         word instead of empty string.
26006 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26009         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26011         (__fe_nomask_env): Likewise.
26013 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26015         * benchtests/bench-timing.h: Include time.h.
26017 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26019         [BZ #15997]
26020         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26021         to 3.4.0 for x32.
26022         * sysdeps/unix/sysv/linux/configure: Regenerated.
26024 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26026         [BZ #16151]
26027         * stdlib/strtod_l.c (round_and_return): Do not consider
26028         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26029         exponent one less than half the least subnormal exponent.
26030         * stdlib/test-strtod-round-data: Add more tests.
26031         * stdlib/tst-strtod-round.c (tests): Regenerated.
26033 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26035         [BZ #14143]
26036         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26037         (__fe_mask_env): Likewise.
26038         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26039         libm_hidden_proto and add function prototype.
26040         (__fe_mask_env): Add function prototype.
26041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26042         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26044         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26046         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26048 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26050         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26051         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26053 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26055         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26056         of htab_find_slot().
26058 2013-11-11  David S. Miller  <davem@davemloft.net>
26060         [BZ #16150]
26061         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26062         symbol in the non-vis3 case in static builds.
26063         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26064         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26065         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26066         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26068 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26070         [BZ #387]
26071         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26072         it is empty.
26074 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26076         * benchtests/Makefile: Add bench-strtod.
26077         * benchtests/bench-strtod.c: New file: strtod benchtest
26079 2013-11-11  Andreas Schwab  <schwab@suse.de>
26081         [BZ #16153]
26082         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26083         terminating NUL in key length.
26085 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26087         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26088         Add artificial ODP entry for vDSO symbol for PPC64.
26089         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26090         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26092 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26094         [BZ #15374]
26095         * nss/getent.c (services_keys): Recognize services starting with digit.
26097 2013-11-06  David S. Miller  <davem@davemloft.net>
26099         [BZ #15985]
26100         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26101         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26103 2013-11-06  Will Newton  <will.newton@linaro.org>
26105         * manual/memory.texi (Malloc Examples): Remove register
26106         keyword from examples.
26108 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26110         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26112 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26114         [BZ #6981]
26115         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26116         depending on [__GCC_IEC_559 > 0].
26117         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26118         depending on [__GCC_IEC_559_COMPLEX > 0].
26120 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26122         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26123         to iso-639.def.
26125 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26127         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26129 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26131         [BZ #16112]
26132         * malloc/malloc (malloc_info): Do not handle first bin as
26133         special case.
26135 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26137         * locale/iso-639.def: Add Central Nahuatl (nhn).
26139 2013-11-01  Bruno Haible  <bruno@clisp.org>
26141         [BZ #7003]
26142         * manual/math.texi (BSD Random): Specify range upper bound as
26143         in POSIX.
26145 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26147         * locale/iso-639.def: Add Meadow Mari (mhr).
26149 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26151         [BZ #14752], [BZ #15763]
26152         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26153         Validate name.
26154         * rt/tst_shm.c: Add test for escaping directory.
26156 2013-10-31  Andreas Schwab  <schwab@suse.de>
26158         [BZ #15917]
26159         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26160         followed by 'x' as part of digit sequence.
26161         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26163 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26165         [BZ #16037]
26166         * configure.ac: allow GNU Make 4.0 and greater.
26167         * configure: Regenerated.
26169 2013-10-30  Will Newton  <will.newton@linaro.org>
26171         [BZ #16038]
26172         * malloc/hooks.c (memalign_check): Limit alignment to the
26173         maximum representable power of two.
26174         * malloc/malloc.c (__libc_memalign): Likewise.
26175         * malloc/tst-memalign.c (do_test): Add test for very
26176         large alignment values.
26177         * malloc/tst-posix_memalign.c (do_test): Likewise.
26179 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26181         [BZ #11087]
26182         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26183         (munmap_chunk): Likewise.
26184         (mremap_chunk): Likewise.
26186 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26188         [BZ #15799]
26189         * stdlib/div.c (div): Remove obsolete code.
26190         * stdlib/ldiv.c (ldiv): Likewise.
26191         * stdlib/lldiv.c (lldiv): Likewise.
26193 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26195         [BZ #16071]
26196         * nss/nss_files/files-XXX.c (get_contents_ret): New
26197         enumerator.
26198         (get_contents): New function.
26199         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26201 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26203         * configure.in: Moved to ...
26204         * configure.ac: ... here. Change reference to configure.in
26205         to configure.ac.
26206         * sysdeps/arm/preconfigure.ac: ... here.
26207         configure.in to configure.ac.
26208         * sysdeps/gnu/configure.in: Moved to ...
26209         * sysdeps/gnu/configure.ac: ... here.
26210         * sysdeps/i386/configure.in: Moved to ...
26211         * sysdeps/i386/configure.ac: ... here.
26212         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26213         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26214         * sysdeps/mach/configure.in: Moved to ...
26215         * sysdeps/mach/configure.ac: ... here.
26216         * sysdeps/mach/hurd/configure.in: Moved to ...
26217         * sysdeps/mach/hurd/configure.ac: ... here.
26218         * sysdeps/powerpc/configure.in: Moved to ...
26219         * sysdeps/powerpc/configure.ac: ... here.
26220         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26221         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26222         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26223         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26224         * sysdeps/s390/s390-32/configure.in: Moved to ...
26225         * sysdeps/s390/s390-32/configure.ac: ... here.
26226         * sysdeps/s390/s390-64/configure.in: Moved to ...
26227         * sysdeps/s390/s390-64/configure.ac: ... here.
26228         * sysdeps/sh/configure.in: Moved to ...
26229         * sysdeps/sh/configure.ac: ... here.
26230         * sysdeps/sparc/configure.in: Moved to ...
26231         * sysdeps/sparc/configure.ac: ... here.
26232         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26233         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26234         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26235         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26236         * sysdeps/x86_64/configure.in: Moved to ...
26237         * sysdeps/x86_64/configure.ac: ... here.
26238         * sysdeps/x86_64/preconfigure.in: Moved to ...
26239         * sysdeps/x86_64/preconfigure.ac: ... here.
26240         * aclocal.m4: Change reference to configure.in to configure.ac.
26241         * config.h.in: Likewise.
26242         * manual/install.texi: Likewise.
26243         * manual/maint.texi: Likewise.
26244         * Makefile: Likewise.
26245         * malloc/Makefile: Likewise.
26246         * nscd/Makefile: Likewise.
26247         * Makeconfig: Change reference to configure.in and
26248         preconfigure.in to configure.ac and preconfigure.ac
26249         respectively.
26250         * INSTALL: Regenerated.
26251         * configure: Likewise.
26252         * sysdeps/gnu/configure: Likewise.
26253         * sysdeps/i386/configure: Likewise.
26254         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26255         * sysdeps/mach/configure: Likewise.
26256         * sysdeps/mach/hurd/configure: Likewise.
26257         * sysdeps/powerpc/configure: Likewise.
26258         * sysdeps/powerpc/powerpc32/configure: Likewise.
26259         * sysdeps/powerpc/powerpc64/configure: Likewise.
26260         * sysdeps/s390/s390-32/configure: Likewise.
26261         * sysdeps/s390/s390-64/configure: Likewise.
26262         * sysdeps/sh/configure: Likewise.
26263         * sysdeps/sparc/configure: Likewise.
26264         * sysdeps/unix/sysv/linux/configure: Likewise.
26265         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26266         * sysdeps/x86_64/configure: Likewise.
26267         * sysdeps/x86_64/preconfigure: Likewise.
26269 2013-10-29  Andreas Schwab  <schwab@suse.de>
26271         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26273 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26275         * benchtests/pow-inputs: Add new inputs.
26277         * benchtests/exp-inputs: Add new inputs.
26279         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26280         conditional check for return value.
26281         (__cos32): Likewise.
26283 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26285         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26286         to provide a boost for large inputs with word alignment.
26287         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26288         implementation based on optimized PPC64 strcpy.
26289         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26290         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26291         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26292         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26294 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26296         [BZ #2801]
26297         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26299 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26301         [BZ #14876]
26302         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26303         * time/tst-strptime.c (day_tests): Add testcase.
26305 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26307         [BZ #14029]
26308         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26310 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26312         [BZ #16074]
26313         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26314         MAP_FAILED on error.
26316 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26318         [BZ #16072]
26319         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26320         heap for large requests.
26322 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26324         [BZ #9954]
26325         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26326         result if the result has no associated interface.
26327         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26328         interface for all 127.X.Y.Z addresses.
26330 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26332         * locale/iso-639.def: Add Ligurian (lij)
26334 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26336         [BZ #15825]
26337         * sunrpc/rpc_main.c: Document rpcgen -5.
26339 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26341         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26343 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26345         [BZ #10278]
26346         * posix/glob.c: Match only directories when trailing slash is present.
26347         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26348         (main): Add testcase.
26350 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26352         [BZ #15670]
26353         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26355 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26357         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26358         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26359         AUTH_DES and cindex for FIPS 140-2.
26360         (DES Encryption): Add cindex FIPS 46-3.
26362         * locale/locarchive.h (struct locarhandle): Add fname.
26363         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26364         if an optional argument was specified to --list-archive,
26365         otherwise NULL.
26366         * locale/programs/locarchive.c (show_archive_content): Take new
26367         argument fname and pass it via ah.fname to open_archive.
26368         * locale/programs/localedef.h: Update decl.
26369         (open_archive): If AH->fname is non-null, open that file
26370         rather than the default file name, and don't ignore ENOENT.
26371         (create_archive): Set AH.fname to NULL.
26372         (delete_locales_from_archive): Likewise.
26373         (add_locales_to_archive): Likewise.
26374         * locale/programs/locfile.c (write_all_categories): Likewise.
26376 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26377             Aldy Hernandez  <aldyh@redhat.com>
26379         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26380         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26381         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26382         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26383         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26384         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26385         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26386         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26387         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26388         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26389         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26390         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26391         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26392         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26393         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26394         Likewise.
26395         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26396         Likewise.
26397         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26398         Likewise.
26399         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26400         Likewise.
26401         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26402         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26403         Likewise.
26404         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26405         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26406         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26407         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26408         Likewise.
26409         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26410         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26411         * sysdeps/powerpc/preconfigure: Likewise.
26412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26413         Likewise.
26414         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26415         Replace contents of file by #include of <fenv_libc.h>.
26416         * sysdeps/powerpc/soft-fp/sfp-machine.h
26417         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26418         and <sys/prctl.h>.
26419         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26420         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26421         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26422         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26423         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26424         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26428         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26432         Allow copysignl PLT reference to be missing.
26434 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26435             Joseph Myers  <joseph@codesourcery.com
26437         [BZ #15948]
26438         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26439         single character.
26440         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26442 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26444         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26445         * elf/tst-tls1.c: Likewise.
26446         * elf/tst-tls10.h: Likewise.
26447         * elf/tst-tls14.c: Likewise.
26448         * elf/tst-tls2.c: Likewise.
26449         * elf/tst-tls3.c: Likewise.
26450         * elf/tst-tls4.c: Likewise.
26451         * elf/tst-tls5.c: Likewise.
26452         * elf/tst-tls6.c: Likewise.
26453         * elf/tst-tls7.c: Likewise.
26454         * elf/tst-tls8.c: Likewise.
26455         * elf/tst-tls9.c: Likewise.
26456         * elf/tst-tlsmod1.c: Likewise.
26457         * elf/tst-tlsmod13.c: Likewise.
26458         * elf/tst-tlsmod13a.c: Likewise.
26459         * elf/tst-tlsmod14a.c: Likewise.
26460         * elf/tst-tlsmod16a.c: Likewise.
26461         * elf/tst-tlsmod16b.c: Likewise.
26462         * elf/tst-tlsmod2.c: Likewise.
26463         * elf/tst-tlsmod3.c: Likewise.
26464         * elf/tst-tlsmod4.c: Likewise.
26465         * elf/tst-tlsmod5.c: Likewise.
26466         * elf/tst-tlsmod6.c: Likewise.
26468 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26470         [BZ #12486]
26471         * malloc/malloc.c: remove checks for statistics.
26473 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26475         [BZ #15277]
26476         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26477         * inet/tst-network.c: Add testcase.
26479 2013-10-17  Andreas Schwab  <schwab@suse.de>
26481         [BZ #15218]
26482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26483         to determine canonical name.
26485 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26487         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26488         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26489         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26490         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26491         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26492         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26493         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26494         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26495         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26496         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26497         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26498         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26499         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26500         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26501         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26502         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26503         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26504         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26505         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26506         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26507         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26509         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26510         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26511         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26512         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26513         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26514         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26515         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26516         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26517         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26518         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26519         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26520         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26521         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26522         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26523         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26524         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26525         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26526         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26527         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26528         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26529         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26530         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26531         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26532         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26533         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26534         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26535         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26536         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26537         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26538         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26539         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26540         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26541         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26542         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26543         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26544         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26546 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26548         [BZ #16041]
26549         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26550         make result into a quiet NaN.
26552 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26554         * soft-fp/adddf3.c: Fix horizontal whitespace.
26555         * soft-fp/addsf3.c: Likewise.
26556         * soft-fp/addtf3.c: Likewise.
26557         * soft-fp/divdf3.c: Likewise.
26558         * soft-fp/divsf3.c: Likewise.
26559         * soft-fp/divtf3.c: Likewise.
26560         * soft-fp/double.h: Likewise.
26561         * soft-fp/eqdf2.c: Likewise.
26562         * soft-fp/eqsf2.c: Likewise.
26563         * soft-fp/eqtf2.c: Likewise.
26564         * soft-fp/extenddftf2.c: Likewise.
26565         * soft-fp/extended.h: Likewise.
26566         * soft-fp/extendsfdf2.c: Likewise.
26567         * soft-fp/extendsftf2.c: Likewise.
26568         * soft-fp/extendxftf2.c: Likewise.
26569         * soft-fp/fixdfdi.c: Likewise.
26570         * soft-fp/fixdfsi.c: Likewise.
26571         * soft-fp/fixdfti.c: Likewise.
26572         * soft-fp/fixsfdi.c: Likewise.
26573         * soft-fp/fixsfsi.c: Likewise.
26574         * soft-fp/fixsfti.c: Likewise.
26575         * soft-fp/fixtfdi.c: Likewise.
26576         * soft-fp/fixtfsi.c: Likewise.
26577         * soft-fp/fixtfti.c: Likewise.
26578         * soft-fp/fixunsdfdi.c: Likewise.
26579         * soft-fp/fixunsdfsi.c: Likewise.
26580         * soft-fp/fixunsdfti.c: Likewise.
26581         * soft-fp/fixunssfdi.c: Likewise.
26582         * soft-fp/fixunssfsi.c: Likewise.
26583         * soft-fp/fixunssfti.c: Likewise.
26584         * soft-fp/fixunstfdi.c: Likewise.
26585         * soft-fp/fixunstfsi.c: Likewise.
26586         * soft-fp/fixunstfti.c: Likewise.
26587         * soft-fp/floatdidf.c: Likewise.
26588         * soft-fp/floatdisf.c: Likewise.
26589         * soft-fp/floatditf.c: Likewise.
26590         * soft-fp/floatsidf.c: Likewise.
26591         * soft-fp/floatsisf.c: Likewise.
26592         * soft-fp/floatsitf.c: Likewise.
26593         * soft-fp/floattidf.c: Likewise.
26594         * soft-fp/floattisf.c: Likewise.
26595         * soft-fp/floattitf.c: Likewise.
26596         * soft-fp/floatundidf.c: Likewise.
26597         * soft-fp/floatundisf.c: Likewise.
26598         * soft-fp/floatunditf.c: Likewise.
26599         * soft-fp/floatunsidf.c: Likewise.
26600         * soft-fp/floatunsisf.c: Likewise.
26601         * soft-fp/floatunsitf.c: Likewise.
26602         * soft-fp/floatuntidf.c: Likewise.
26603         * soft-fp/floatuntisf.c: Likewise.
26604         * soft-fp/floatuntitf.c: Likewise.
26605         * soft-fp/fmadf4.c: Likewise.
26606         * soft-fp/fmasf4.c: Likewise.
26607         * soft-fp/fmatf4.c: Likewise.
26608         * soft-fp/gedf2.c: Likewise.
26609         * soft-fp/gesf2.c: Likewise.
26610         * soft-fp/getf2.c: Likewise.
26611         * soft-fp/ledf2.c: Likewise.
26612         * soft-fp/lesf2.c: Likewise.
26613         * soft-fp/letf2.c: Likewise.
26614         * soft-fp/muldf3.c: Likewise.
26615         * soft-fp/mulsf3.c: Likewise.
26616         * soft-fp/multf3.c: Likewise.
26617         * soft-fp/negdf2.c: Likewise.
26618         * soft-fp/negsf2.c: Likewise.
26619         * soft-fp/negtf2.c: Likewise.
26620         * soft-fp/op-1.h: Likewise.
26621         * soft-fp/op-2.h: Likewise.
26622         * soft-fp/op-4.h: Likewise.
26623         * soft-fp/op-8.h: Likewise.
26624         * soft-fp/op-common.h: Likewise.
26625         * soft-fp/quad.h: Likewise.
26626         * soft-fp/single.h: Likewise.
26627         * soft-fp/soft-fp.h: Likewise.
26628         * soft-fp/sqrtdf2.c: Likewise.
26629         * soft-fp/sqrtsf2.c: Likewise.
26630         * soft-fp/sqrttf2.c: Likewise.
26631         * soft-fp/subdf3.c: Likewise.
26632         * soft-fp/subsf3.c: Likewise.
26633         * soft-fp/subtf3.c: Likewise.
26634         * soft-fp/truncdfsf2.c: Likewise.
26635         * soft-fp/trunctfdf2.c: Likewise.
26636         * soft-fp/trunctfsf2.c: Likewise.
26637         * soft-fp/trunctfxf2.c: Likewise.
26638         * soft-fp/unorddf2.c: Likewise.
26639         * soft-fp/unordsf2.c: Likewise.
26640         * soft-fp/unordtf2.c: Likewise.
26642 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26644         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26645         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26647 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26649         * elf/dl-libc.c: Clear initfini list after freeing.
26651 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26653         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26654         * soft-fp/addsf3.c: Likewise.
26655         * soft-fp/addtf3.c: Likewise.
26656         * soft-fp/divdf3.c: Likewise.
26657         * soft-fp/divsf3.c: Likewise.
26658         * soft-fp/divtf3.c: Likewise.
26659         * soft-fp/double.h: Likewise.
26660         * soft-fp/eqdf2.c: Likewise.
26661         * soft-fp/eqsf2.c: Likewise.
26662         * soft-fp/eqtf2.c: Likewise.
26663         * soft-fp/extenddftf2.c: Likewise.
26664         * soft-fp/extended.h: Likewise.
26665         * soft-fp/extendsfdf2.c: Likewise.
26666         * soft-fp/extendsftf2.c: Likewise.
26667         * soft-fp/extendxftf2.c: Likewise.
26668         * soft-fp/fixdfdi.c: Likewise.
26669         * soft-fp/fixdfsi.c: Likewise.
26670         * soft-fp/fixdfti.c: Likewise.
26671         * soft-fp/fixsfdi.c: Likewise.
26672         * soft-fp/fixsfsi.c: Likewise.
26673         * soft-fp/fixsfti.c: Likewise.
26674         * soft-fp/fixtfdi.c: Likewise.
26675         * soft-fp/fixtfsi.c: Likewise.
26676         * soft-fp/fixtfti.c: Likewise.
26677         * soft-fp/fixunsdfdi.c: Likewise.
26678         * soft-fp/fixunsdfsi.c: Likewise.
26679         * soft-fp/fixunsdfti.c: Likewise.
26680         * soft-fp/fixunssfdi.c: Likewise.
26681         * soft-fp/fixunssfsi.c: Likewise.
26682         * soft-fp/fixunssfti.c: Likewise.
26683         * soft-fp/fixunstfdi.c: Likewise.
26684         * soft-fp/fixunstfsi.c: Likewise.
26685         * soft-fp/fixunstfti.c: Likewise.
26686         * soft-fp/floatdidf.c: Likewise.
26687         * soft-fp/floatdisf.c: Likewise.
26688         * soft-fp/floatditf.c: Likewise.
26689         * soft-fp/floatsidf.c: Likewise.
26690         * soft-fp/floatsisf.c: Likewise.
26691         * soft-fp/floatsitf.c: Likewise.
26692         * soft-fp/floattidf.c: Likewise.
26693         * soft-fp/floattisf.c: Likewise.
26694         * soft-fp/floattitf.c: Likewise.
26695         * soft-fp/floatundidf.c: Likewise.
26696         * soft-fp/floatundisf.c: Likewise.
26697         * soft-fp/floatunsidf.c: Likewise.
26698         * soft-fp/floatunsisf.c: Likewise.
26699         * soft-fp/floatuntidf.c: Likewise.
26700         * soft-fp/floatuntisf.c: Likewise.
26701         * soft-fp/floatuntitf.c: Likewise.
26702         * soft-fp/fmadf4.c: Likewise.
26703         * soft-fp/fmasf4.c: Likewise.
26704         * soft-fp/fmatf4.c: Likewise.
26705         * soft-fp/gedf2.c: Likewise.
26706         * soft-fp/gesf2.c: Likewise.
26707         * soft-fp/getf2.c: Likewise.
26708         * soft-fp/ledf2.c: Likewise.
26709         * soft-fp/lesf2.c: Likewise.
26710         * soft-fp/letf2.c: Likewise.
26711         * soft-fp/muldf3.c: Likewise.
26712         * soft-fp/mulsf3.c: Likewise.
26713         * soft-fp/multf3.c: Likewise.
26714         * soft-fp/negdf2.c: Likewise.
26715         * soft-fp/negsf2.c: Likewise.
26716         * soft-fp/negtf2.c: Likewise.
26717         * soft-fp/op-1.h: Likewise.
26718         * soft-fp/op-2.h: Likewise.
26719         * soft-fp/op-4.h: Likewise.
26720         * soft-fp/op-8.h: Likewise.
26721         * soft-fp/op-common.h: Likewise.
26722         * soft-fp/quad.h: Likewise.
26723         * soft-fp/single.h: Likewise.
26724         * soft-fp/soft-fp.h: Likewise.
26725         * soft-fp/sqrtdf2.c: Likewise.
26726         * soft-fp/sqrtsf2.c: Likewise.
26727         * soft-fp/sqrttf2.c: Likewise.
26728         * soft-fp/subdf3.c: Likewise.
26729         * soft-fp/subsf3.c: Likewise.
26730         * soft-fp/subtf3.c: Likewise.
26731         * soft-fp/truncdfsf2.c: Likewise.
26732         * soft-fp/trunctfdf2.c: Likewise.
26733         * soft-fp/trunctfsf2.c: Likewise.
26734         * soft-fp/trunctfxf2.c: Likewise.
26735         * soft-fp/unorddf2.c: Likewise.
26736         * soft-fp/unordsf2.c: Likewise.
26737         * soft-fp/unordtf2.c: Likewise.
26739 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26741         [BZ #15672]
26742         * misc/error.c (error_tail): Fix possible buffer overflow.
26744 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26746         [BZ #13028]
26747         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26748         address.
26750 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26752         [BZ #832]
26753         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26754         testing pipefail option.
26756 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26758         * soft-fp/double.h: Indent preprocessor directives inside #if.
26759         * soft-fp/extended.h: Likewise.
26760         * soft-fp/op-2.h: Likewise.
26761         * soft-fp/op-4.h: Likewise.
26762         * soft-fp/op-common.h: Likewise.
26763         * soft-fp/quad.h: Likewise.
26764         * soft-fp/single.h: Likewise.
26765         * soft-fp/soft-fp.h: Likewise.
26767 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26769         * iconv/iconv_prog.c: Fix typos.
26770         * stdio-common/psiginfo-data.h: Likewise.
26772 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26774         [BZ #15764]
26775         * locale/setlocale.c: Fix typo.
26777 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26779         [BZ #16036]
26780         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26781         signaling NaN arguments.
26782         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26783         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26785         [BZ #14910]
26786         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26787         unordered operands.
26788         * soft-fp/gesf2.c (__gesf2): Likewise.
26789         * soft-fp/getf2.c (__getf2): Likewise.
26790         * soft-fp/ledf2.c (__ledf2): Likewise.
26791         * soft-fp/lesf2.c (__lesf2): Likewise.
26792         * soft-fp/letf2.c (__letf2): Likewise.
26794         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26795         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26796         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26797         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26798         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26799         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26800         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26801         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26802         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26803         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26804         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26805         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26806         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26807         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26808         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26809         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26810         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26811         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26812         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26813         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26814         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26815         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26816         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26817         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26818         * soft-fp/floattidf.c (__floattidf): Likewise.
26819         * soft-fp/floattisf.c (__floattisf): Likewise.
26820         * soft-fp/floattitf.c (__floattitf): Likewise.
26821         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26822         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26823         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26824         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26825         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26826         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26827         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26828         * soft-fp/gesf2.c (__gesf2): Likewise.
26829         * soft-fp/getf2.c (__getf2): Likewise.
26830         * soft-fp/ledf2.c (__ledf2): Likewise.
26831         * soft-fp/lesf2.c (__lesf2): Likewise.
26832         * soft-fp/letf2.c (__letf2): Likewise.
26834         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26835         Undefine and redefine.
26836         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26837         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26838         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26839         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26840         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26841         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26842         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26843         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26844         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26845         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26846         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26847         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26848         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26849         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26850         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26852         [BZ #16032]
26853         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26854         without decrementing exponent if mantissa >= that for the
26855         denominator, not >.
26856         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26857         denominator, not >.  Decrement exponent in < case instead of
26858         incrementing in >= case.
26859         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26860         without decrementing exponent if mantissa >= that for the
26861         denominator, not >.
26863         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26864         computing saturated result for unsigned overflow.
26866 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26867             Jeff Law  <law@redhat.com>
26869         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26870         (atan2Mp): Add systemtap probe marker.
26871         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26872         (__ieee754_log): Add systemtap probe marker.
26873         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26874         (atanMp): Add systemtap probe marker.
26875         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26876         (tanMp): Add systemtap probe marker.
26877         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26878         (__slowexp): Add systemtap probe marker.
26879         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26880         (__slowpow): Add systemtap probe marker.
26881         * manual/probes.texi: Document probes.
26883 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26885         [BZ #15362]
26886         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26887         written.
26888         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26889         written.
26890         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26891         written to buffer but not flushed.
26892         * libio/iofwrite_u.c:  Likewise.
26893         * libio/iopadn.c:  Return bytes returned even if EOF was
26894         encountered.
26895         * libio/iowpadn.c:  Likewise.
26896         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26897         if _IO_padn does not write the whole buffer.
26898         [!COMPILE_WPRINTF] (PAD): Likewise.
26900 2013-10-10  David S. Miller  <davem@davemloft.net>
26902         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26903         directory block.
26905 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26907         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26908         instead of FSF address.
26909         * soft-fp/fixdfti.c: Likewise.
26910         * soft-fp/fixsfti.c: Likewise.
26911         * soft-fp/fixtfti.c: Likewise.
26912         * soft-fp/fixunsdfti.c: Likewise.
26913         * soft-fp/fixunssfti.c: Likewise.
26914         * soft-fp/fixunstfti.c: Likewise.
26915         * soft-fp/floattidf.c: Likewise.
26916         * soft-fp/floattisf.c: Likewise.
26917         * soft-fp/floattitf.c: Likewise.
26918         * soft-fp/floatuntidf.c: Likewise.
26919         * soft-fp/floatuntisf.c: Likewise.
26920         * soft-fp/floatuntitf.c: Likewise.
26921         * soft-fp/trunctfxf2.c: Likewise.
26923         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26924         * soft-fp/fixdfti.c: Likewise.
26925         * soft-fp/fixsfti.c: Likewise.
26926         * soft-fp/fixtfti.c: Likewise.
26927         * soft-fp/fixunsdfti.c: Likewise.
26928         * soft-fp/fixunssfti.c: Likewise.
26929         * soft-fp/fixunstfti.c: Likewise.
26930         * soft-fp/floattidf.c: Likewise.
26931         * soft-fp/floattisf.c: Likewise.
26932         * soft-fp/floattitf.c: Likewise.
26933         * soft-fp/floatuntidf.c: Likewise.
26934         * soft-fp/floatuntisf.c: Likewise.
26935         * soft-fp/floatuntitf.c: Likewise.
26936         * soft-fp/trunctfxf2.c: Likewise.
26938 2013-10-10  David S. Miller  <davem@davemloft.net>
26940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26942 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26944         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26945         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26946         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26947         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26948         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26949         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26950         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26952         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26953         for NaNs before doing comparisons on argument.
26954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26955         Likewise.
26957 2013-10-10  Will Newton  <will.newton@linaro.org>
26959         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26960         passed to _int_memalign does not overflow.
26962 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26964         * scripts/bench.pl: Add include-sources directive.
26965         * benchtests/README: Update documentation.
26967 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26969         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26970         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26971         instead of FP_INIT_ROUNDMODE.
26972         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26973         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26975         [BZ #16034]
26976         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26977         copy class of input value.
26978         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26979         not handle exceptions.
26980         * soft-fp/negsf2.c (__negsf2): Likewise.
26981         * soft-fp/negtf2.c (__negtf2): Likewise.
26982         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26984 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26986         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26987         semicolon.  From Linux kernel.
26989 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26991         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26993 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26995         [BZ #156]
26996         * manual/socket.texi: Added statement about buffer
26997         for gethostbyname2_r.
26999 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
27001         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
27002         Use .p2align directive instead, throughout.
27003         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27004         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27005         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
27006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27007         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27008         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27009         * sysdeps/x86_64/strchr.S: Likewise.
27010         * sysdeps/x86_64/strrchr.S: Likewise.
27012 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27014         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27016         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27018         * sysdeps/generic/math_private.h (__mpsin1): Remove
27019         declaration.
27020         (__mpcos1): Likewise.
27021         (__mpsin): New argument __range_reduce.
27022         (__mpcos): Likewise.
27023         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27024         (slow): Use __mpsin and __mpcos.
27025         (slow1): Likewise.
27026         (slow2): Likewise.
27027         (sloww): Likewise.
27028         (sloww1): Likewise.
27029         (sloww2): Likewise.
27030         (bsloww): Likewise.
27031         (bsloww1): Likewise.
27032         (bsloww2): Likewise.
27033         (cslow2): Likewise.
27034         (csloww): Likewise.
27035         (csloww1): Likewise.
27036         (csloww2): Likewise.
27037         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27038         range_reduce.  Merge in __mpsin1.
27039         (__mpcos): Likewise.
27040         (__mpsin1): Remove.
27041         (__mpcos1): Likewise.
27043 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27045         * locale/loadlocale.c (_nl_intern_locale_data): Use
27046         LOCFILE_ALIGNED_P.
27047         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27048         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27049         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27050         obstack data is appropriately aligned.
27051         (obstack_int32_grow_fast): Likewise.
27052         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27053         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27054         (add_locale_uint32_array): Likewise.
27056 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27058         * benchtests/Makefile: Remove ARGLIST and RET variables.
27059         ($(objpfx)bench-%.c): Pass only function name to the script.
27060         * benchtests/README: Update documentation.
27061         * benchtests/acos-inputs: Add new directives.
27062         * benchtests/acosh-inputs: Likewise.
27063         * benchtests/asin-inputs: Likewise.
27064         * benchtests/asinh-inputs: Likewise.
27065         * benchtests/atan-inputs: Likewise.
27066         * benchtests/atanh-inputs: Likewise.
27067         * benchtests/cos-inputs: Likewise.
27068         * benchtests/cosh-inputs: Likewise.
27069         * benchtests/exp-inputs: Likewise.
27070         * benchtests/log-inputs: Likewise.
27071         * benchtests/pow-inputs: Likewise.
27072         * benchtests/rint-inputs: Likewise.
27073         * benchtests/sin-inputs: Likewise.
27074         * benchtests/sinh-inputs: Likewise.
27075         * benchtests/tan-inputs: Likewise.
27076         * benchtests/tanh-inputs: Likewise.
27077         * scripts/bench.pl: Add support for new directives.
27079 2013-10-07  Alan Modra  <amodra@gmail.com>
27081         * README: Fix careless merge.
27083 2013-10-05  Alan Modra  <amodra@gmail.com>
27085         * NEWS: Mention powerpc64le support and bugs fixed.
27086         * README: Both big-endian and little-endian powerpc64 supported.
27088 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27090         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27091         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27092         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27093         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27095 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27097         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27098         match prototype.
27100 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27102         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27103         Move -mhard-float appending from
27104         ports/sysdeps/powerpc/powerpc32/Makefile.
27105         [$(with-fp) = yes] (ASFLAGS): Likewise.
27106         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27107         * sysdeps/powerpc/nofpu: Move directory from
27108         ports/sysdeps/powerpc/nofpu.
27109         * sysdeps/powerpc/soft-fp: Move directory from
27110         ports/sysdeps/powerpc/soft-fp.
27111         * sysdeps/powerpc/powerpc32/405: Move directory from
27112         ports/sysdeps/powerpc/powerpc32/405.
27113         * sysdeps/powerpc/powerpc32/440: Move directory from
27114         ports/sysdeps/powerpc/powerpc32/440.
27115         * sysdeps/powerpc/powerpc32/464: Move directory from
27116         ports/sysdeps/powerpc/powerpc32/464.
27117         * sysdeps/powerpc/powerpc32/476: Move directory from
27118         ports/sysdeps/powerpc/powerpc32/476.
27119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27120         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27122         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27124         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27126         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27128         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27129         * README: Update for powerpc-*-linux-gnu software floating point
27130         support in libc.
27132         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27133         case to powerpc/powerpc32*.
27134         * sysdeps/unix/sysv/linux/configure: Regenerated.
27136         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27137         (_FPU_MASK_OM): Define as 0x04.
27138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27140         0x00c10080.
27141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27142         0x0000003c.
27143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27146         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27147         getcontext_e500.
27148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27149         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27150         setcontext_e500.
27151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27152         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27153         and setcontext_e500.
27155 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27157         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27159 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27161         * manual/threads.texi (Default Thread Attributes): Fix typo.
27163 2013-10-04  Will Newton  <will.newton@linaro.org>
27165         * malloc/Makefile: Add tst-memalign.
27166         * malloc/tst-memalign.c: New file.
27168         * malloc/tst-posix_memalign.c: Add comments.
27169         (do_test): Add comments and call free on all potentially
27170         allocated pointers. Add space after cast.
27172         * malloc/tst-pvalloc.c: Add comments.
27173         (do_test): Add comments and call free on all potentially
27174         allocated pointers. Remove duplicate check for NULL pointer.
27175         Add space after cast.
27177         * malloc/tst-valloc.c: Add comments.
27178         (do_test): Add comments and call free on all potentially
27179         allocated pointers. Remove duplicate check for NULL pointer.
27180         Add space after cast.
27182 2013-10-04  Alan Modra  <amodra@gmail.com>
27184         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27185         Use stdint types in rather than __attribute__((mode())).
27186         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27188 2013-10-04  Alan Modra  <amodra@gmail.com>
27190         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27191         Correct handling of unaligned relocs for little-endian.
27192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27194 2013-10-04  Alan Modra  <amodra@gmail.com>
27196         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27197         * configure: Regenerate.
27198         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27199         * shlib-versions: Likewise.
27201 2013-10-04  Alan Modra  <amodra@gmail.com>
27203         * string/tester.c (test_memrchr): Increment reported test cycle.
27205 2013-10-04  Alan Modra  <amodra@gmail.com>
27207         * string/test-memcpy.c (do_one_test): When reporting errors, print
27208         string address and don't overrun end of string.
27210 2013-10-04  Alan Modra  <amodra@gmail.com>
27212         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27213         insrdi.  Make better use of reg selection to speed exit slightly.
27214         Schedule entry path a little better.  Remove useless "are we done"
27215         checks on entry to main loop.  Handle wrapping around zero address.
27216         Correct main loop count.  Handle single left-over word from main
27217         loop inline rather than by using loop_small.  Remove extra word
27218         case in loop_small caused by wrong loop count.  Add little-endian
27219         support.
27220         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27221         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27222         cache hint.
27223         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27224         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27225         support.  Avoid rlwimi.
27226         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27228 2013-10-04  Alan Modra  <amodra@gmail.com>
27230         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27231         insrdi.  Formatting.
27232         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27233         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27234         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27235         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27236         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27237         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27239 2013-10-04  Alan Modra  <amodra@gmail.com>
27241         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27242         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27243         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27244         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27245         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27246         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27247         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27248         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27249         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27250         use of regs.  Use power7 mtocrf.  Tidy function tails.
27252 2013-10-04  Alan Modra  <amodra@gmail.com>
27254         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27255         Formatting.  Consistently use rXXX register defines or rN defines.
27256         Use early exit labels that avoid restoring unused non-volatile regs.
27257         Make cr field use more consistent with rWORDn compares.  Rename
27258         regs used as shift registers for unaligned loop, using rN defines
27259         for short lifetime/multiple use regs.
27260         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27261         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27262         addi 1,1,64 to pop stack frame.  Simplify return value code.
27263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27265 2013-10-04  Alan Modra  <amodra@gmail.com>
27267         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27268         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27269         rather than rlwimi.
27270         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27271         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27272         little-endian support.  Correct typos.
27273         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27274         rather than rlwimi.
27275         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27276         in loop and entry code to keep "and." results.
27277         (strchr): Add little-endian support.  Comment.  Move cntlzd
27278         earlier in tail.
27279         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27281 2013-10-04  Alan Modra  <amodra@gmail.com>
27283         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27284         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27285         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27286         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27288 2013-10-04  Alan Modra  <amodra@gmail.com>
27290         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27291         (rTMP): Define as r11.
27292         (strcmp): Add little-endian support.  Optimise tail.
27293         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27294         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27295         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27296         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27297         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27298         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27299         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27301 2013-10-04  Alan Modra  <amodra@gmail.com>
27303         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27304         little-endian support.  Remove unnecessary "are we done" tests.
27305         Handle "s" wrapping around zero and extremely large "size".
27306         Correct main loop count.  Handle single left-over word from main
27307         loop inline rather than by using small_loop.  Correct comments.
27308         Delete "zero" tail, use "end_max" instead.
27309         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27311 2013-10-04  Alan Modra  <amodra@gmail.com>
27313         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27314         support.  Don't branch over align.
27315         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27316         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27317         support.  Rearrange tmp reg use to suit.  Comment.
27318         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27320 2013-10-04  Alan Modra  <amodra@gmail.com>
27322         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27324 2013-10-04  Alan Modra  <amodra@gmail.com>
27326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27327         conditional form of branch and link when obtaining pc.
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27330 2013-10-04  Alan Modra  <amodra@gmail.com>
27332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27333         HIWORD/LOWORD.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27337 2013-10-04  Alan Modra  <amodra@gmail.com>
27339         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27340         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27341         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27342         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27343         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27344         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27345         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27346         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27347         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27348         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27350 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27351             Alistair Popple <alistair@ozlabs.au.ibm.com>
27352             Alan Modra <amodra@gmail.com>
27354         [BZ #15723]
27355         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27356         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27357         _dl_hwcap access for little-endian.
27358         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27359         destroy vmx regs when saving unaligned.
27360         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27361         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27362         destroy vmx regs when saving unaligned.
27364 2013-10-04  Alan Modra  <amodra@gmail.com>
27366         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27367         Don't use a union to pack hi/low value.
27369 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27371         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27372         for little-endian.
27373         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27374         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27375         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27376         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27377         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27379 2013-10-04  Alan Modra  <amodra@gmail.com>
27381         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27382         constants to usual value for .cst8 section, and remove redundant
27383         high address load.
27384         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27385         constant for 0x1p52.  Load little-endian words of double from
27386         correct stack offsets.
27388 2013-10-04  Alan Modra  <amodra@gmail.com>
27390         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27391         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27392         words of double from correct stack offsets.
27393         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27394         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27395         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27396         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27397         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27398         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27399         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27400         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27401         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27402         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27403         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27404         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27405         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27406         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27407         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27408         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27409         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27411 2013-10-04  Alan Modra  <amodra@gmail.com>
27413         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27414         64-bit int/double union.
27415         (_FPU_SETCW): Likewise.
27416         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27417         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27419 2013-10-04  Alan Modra  <amodra@gmail.com>
27421         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27422         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27424 2013-10-04  Alan Modra  <amodra@gmail.com>
27426         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27427         use vector int constants.
27428         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27430 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27432         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27433         array with long long.
27434         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27435         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27436         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27437         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27438         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27439         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27440         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27441         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27442         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27443         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27444         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27445         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27446         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27448 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27450         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27451         (__signbit): Likewise.  Correct for little-endian.
27452         (__signbitl): Call __signbit.
27453         (lrint): Correct for little-endian.
27454         (lrintf): Call lrint.
27456 2013-10-04  Alan Modra  <amodra@gmail.com>
27458         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27459         union 32-bit int array member with 64-bit int array.
27460         (t515, tm256): Double rather than long double.
27461         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27463 2013-10-04  Alan Modra  <amodra@gmail.com>
27465         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27466         Delete.
27467         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27468         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27469         version of math_ldbl.h.
27471 2013-10-04  Alan Modra  <amodra@gmail.com>
27473         [BZ #15734], [BZ #15735]
27474         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27475         all uses of ieee875 long double macros and unions.  Simplify test
27476         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27477         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27478         normalize after ldbl_extract_mantissa, and don't add hidden bit
27479         already handled.  Don't treat low word of ieee854 mantissa like
27480         low word of IBM long double and mask off bit when testing for
27481         zero.
27482         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27483         all uses of ieee875 long double macros and unions.  Simplify tests
27484         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27485         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27486         two1022, instead use their values.  Recognise that tests for large
27487         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27488         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27489         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27490         test for 0.0L and nan.  Correct negation.
27491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27492         ieee875 long double macros and unions.  Correct output for large
27493         magnitude x.  Correct absolute value calculation.
27494         (__erfcl): Likewise.
27495         * math/libm-test.inc: Add tests for errors discovered in IBM long
27496         double versions of fmodl, remainderl, erfl and erfcl.
27498 2013-10-04  Alan Modra  <amodra@gmail.com>
27500         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27501         all uses of ieee854 long double macros and unions.  Simplify tests
27502         for long doubles that are fully specified by the high double.
27503         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27504         Likewise.
27505         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27506         Remove dead code too.
27507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27508         (__ieee754_ynl): Likewise.
27509         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27510         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27511         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27512         Remove dead code too.
27513         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27514         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27515         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27516         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27517         Simplify.
27518         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27519         Simplify.
27520         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27521         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27523         Comment on variable precision.
27524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27525         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27526         Likewise.
27527         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27528         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27529         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27530         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27531         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27533 2013-10-04  Alan Modra  <amodra@gmail.com>
27535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27536         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27537         all uses of ieee854 long double macros and unions.
27538         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27539         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27540         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27541         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27543         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27544         Likewise.
27545         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27546         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27547         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27548         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27550         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27551         Simplify sign and nan test too.
27552         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27553         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27554         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27555         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27556         Likewise.
27557         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27558         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27559         Likewise.
27560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27561         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27562         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27563         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27564         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27565         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27567 2013-10-04  Alan Modra  <amodra@gmail.com>
27569         * stdio-common/printf_size.c (__printf_size): Don't use
27570         union ieee854_long_double in fpnum union.
27571         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27572         signbit macro to retrieve sign from long double.
27573         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27574         retrieve sign from long double.
27575         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27576         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27577         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27578         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27579         * math/test-misc.c (main): Don't use union ieee854_long_double.
27581 2013-10-04  Alan Modra  <amodra@gmail.com>
27583         [BZ #15680]
27584         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27585         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27586         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27587         calculation.  Remove unnecessary test for denormal exponent.
27588         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27589         Correct handling of denormals.  Avoid undefined shift behaviour.
27590         Correct normalisation of low mantissa when low double is denormal.
27591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27592         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27593         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27594         Correct normalisation of low mantissa.  Test for overflow of high
27595         mantissa and normalise.
27596         (ldbl_nearbyint): Use more readable constant for two52.
27597         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27598         (__mpn_construct_long_double): Fix test for overflow of high
27599         mantissa and correct normalisation.  Avoid undefined shift.
27601 2013-10-04  Alan Modra  <amodra@gmail.com>
27603         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27604         (union ibm_extended_long_double): Define as an array of ieee754_double.
27605         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27606         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27607         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27608         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27610         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27611         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27612         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27613         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27614         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27615         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27617 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27619         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27620         page size instead of calling getpagesize.
27622         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27623         (LOCFILE_ALIGN_MASK): Likewise.
27624         (LOCFILE_ALIGN_UP): Likewise.
27625         (LOCFILE_ALIGNED_P): Likewise.
27626         * locale/programs/ld-collate.c (collate_output): Use the new
27627         macros instead of __alignof__ (int32_t).
27628         * locale/weight.h (findidx): Likewise.
27630 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27632         [BZ #431]
27633         * manual/string.texi: Fix strncat and wcsncat.
27635 2013-10-03  Brooks Moses  <bmoses@google.com>
27637         [BZ #15915]
27638         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27639         * Makerules: ...here, and adjust associated comments.
27641 2013-10-02  Will Newton  <will.newton@linaro.org>
27643         * malloc/Makefile: Add tst-pvalloc.
27644         * malloc/tst-pvalloc.c: New file.
27646 2013-10-02  Will Newton  <will.newton@linaro.org>
27648         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27649         improve test coverage.
27651 2013-10-02  Will Newton  <will.newton@linaro.org>
27653         * malloc/Makefile: Add tst-posix_memalign.
27654         * malloc/tst-posix_memalign.c: New file.
27656 2013-10-01  Eric Blake  <eblake@redhat.com>
27658         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27659         Use __THROWNL rather than __THROW on static functions.
27661 2013-09-30  Petr Machata  <pmachata@redhat.com>
27663         * elf/elf.h (R_AARCH64_ABS16): New macro.
27664         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27665         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27666         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27667         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27668         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27669         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27670         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27671         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27672         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27673         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27674         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27675         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27676         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27677         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27678         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27679         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27680         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27681         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27682         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27683         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27684         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27685         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27686         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27687         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27688         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27689         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27690         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27691         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27692         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27693         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27694         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27695         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27696         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27697         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27698         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27699         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27700         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27701         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27702         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27703         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27704         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27705         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27706         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27707         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27708         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27709         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27710         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27711         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27712         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27713         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27714         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27715         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27716         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27717         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27718         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27719         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27720         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27721         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27722         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27723         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27724         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27725         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27726         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27727         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27728         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27729         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27730         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27731         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27732         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27733         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27734         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27735         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27736         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27737         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27738         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27739         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27740         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27741         (R_AARCH64_TLSDESC_LDR): Likewise.
27742         (R_AARCH64_TLSDESC_ADD): Likewise.
27743         (R_AARCH64_TLSDESC_CALL): Likewise.
27745 2013-09-30  Andreas Schwab  <schwab@suse.de>
27747         [BZ #15048]
27748         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27749         the nss database lookup.
27750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27753 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27755         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27757 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27759         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27760         ${Bash-specific parameter/pattern/string} parameter expansion.
27761         * sysdeps/unix/make-syscalls.sh: Likewise.
27763 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27765         * sysdeps/sh/stackguard-macros.h: New file.
27767 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27771         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27772         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27773         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27774         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27776 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27778         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27779         Fix thread ID register.
27781 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27783         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27784         [POSIX || UNIX98]: Require rather than permitting all symbols from
27785         <time.h>.
27786         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27787         element of struct sched_param.
27788         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27789         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27790         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27791         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27792         constant.
27794 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27796         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27797         argument calculation.
27799 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27801         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27802         Expect macro.
27803         [POSIX] (pthread_attr_t): Do not require type.
27804         [POSIX] (pthread_cond_t): Likewise.
27805         [POSIX] (pthread_condattr_t): Likewise.
27806         [POSIX] (pthread_key_t): Likewise.
27807         [POSIX] (pthread_mutex_t): Likewise.
27808         [POSIX] (pthread_mutexattr_t): Likewise.
27809         [POSIX] (pthread_once_t): Likewise.
27810         [POSIX] (pthread_t): Likewise.
27811         [POSIX-based standards] (pthread_atfork): Expect function.
27813 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27814             Richard Sandiford  <richard@codesourcery.com>
27816         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27817         (swap_endianness_p): New extern variable.
27818         (set_big_endian): New inline function.
27819         (maybe_swap_uint32): Likewise.
27820         (maybe_swap_uint32_array): Likewise.
27821         (maybe_swap_uint32_obstack): Likewise.
27822         * locale/programs/locfile.c: Include <stdbool.h>.
27823         (swap_endianness_p): New variable.
27824         (add_locale_uint32): Call maybe_swap_uint32.
27825         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27826         (write_locale_data): Call maybe_swap_uint32_array.
27827         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27828         maybe_swap_uint32.
27829         (obstack_int32_grow_fast): Likewise.
27830         (output_weightwc): Call maybe_swap_uint32_obstack.
27831         (collate_output): Likewise.
27832         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27833         (OPT_LITTLE_ENDIAN): Likewise.
27834         (options): Add --little-endian and --big-endian options.
27835         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27836         * locale/programs/locarchive.c: Include "locfile.h".
27837         (GET): New macro.
27838         (SET): Likewise.
27839         (INC): Likewise.
27840         (create_archive): Use the new macros to access fields of
27841         structures directly mapped from or written to locale archives.
27842         (oldlocrecentcmp): Likewise.
27843         (enlarge_archive): Likewise.
27844         (insert_name): Likewise.
27845         (add_alias): Likewise.
27846         (add_locale): Likewise.
27847         (delete_locales_from_archive): Likewise.
27848         (show_archive_content): Likewise.
27849         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27850         locale data.
27852 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27854         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27855         http://www.gnu.org/doc/freemanuals.texi.
27856         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27858 2013-09-24  Will Newton  <will.newton@linaro.org>
27860         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27861         macro.
27863 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27865         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27866         unsigned char.
27868 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27870         * manual/threads.texi (POSIX Threads): Fix a typo.
27872 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27874         [BZ #14547]
27875         * string/tst-strcoll-overflow.c: New test case.
27876         * string/Makefile (xtests): Add tst-strcoll-overflow.
27877         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27878         cache if string sizes may cause integer overflow.
27880         [BZ #14547]
27881         * string/strcoll_l.c (coll_seq): New members rule, idx,
27882         save_idx and back_us.
27883         (get_next_seq_nocache): New function.
27884         (do_compare_nocache): New function.
27885         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27886         when malloc fails.
27888 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27890         [BZ #15754]
27891         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27892         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27893         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27895         [BZ #15754]
27896         * elf/Makefile (tests): Add tst-ptrguard1.
27897         (tests-static): Add tst-ptrguard1-static.
27898         (tst-ptrguard1-ARGS): Define.
27899         (tst-ptrguard1-static-ARGS): Define.
27900         * elf/tst-ptrguard1.c: New file.
27901         * elf/tst-ptrguard1-static.c: New file.
27902         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27903         * sysdeps/i386/stackguard-macros.h: Likewise.
27904         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27905         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27906         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27907         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27908         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27909         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27911 2013-09-23  Hector Marco  <hecmargi@upv.es>
27912             Ismael Ripoll  <iripoll@disca.upv.es>
27913             Carlos O'Donell  <carlos@redhat.com>
27915         [BZ #15754]
27916         * sysdeps/generic/stackguard-macros.h: Define
27917         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27918         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27919         Define __pointer_chk_guard_local.
27920         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27921         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27923 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27925         [BZ #15859]
27926         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27928 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27930         * include/string.h (__ffs): Declare as hidden.
27931         * string/ffs.c (__ffs): Define as hidden.
27932         * sysdeps/i386/ffs.c (__ffs): Likewise.
27933         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27934         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27935         * sysdeps/s390/ffs.c (__ffs): Likewise.
27936         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27938 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27940         * NEWS: Mention malloc probes.
27942         * malloc/arena.c (new_heap): New memory_heap_new probe.
27943         (grow_heap): New memory_heap_more probe.
27944         (shrink_heap): New memory_heap_less probe.
27945         (heap_trim): New memory_heap_free probe.
27946         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27947         (systrim): New memory_sbrk_less probe.
27948         * manual/probes.texi: Document them.
27950         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27951         * manual/probes.texi: Document it.
27953         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27954         (__libc_realloc): Add memory_realloc_retry probe.
27955         (__libc_memalign): Add memory_memalign_retry probe.
27956         (__libc_valloc): Add memory_valloc_retry probe.
27957         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27958         (__libc_calloc): Add memory_calloc_retry probe.
27959         * manual/probes.texi: Document them.
27961         * malloc/arena.c (get_free_list): Add probe
27962         memory_arena_reuse_free_list.
27963         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27964         and memory_arena_reuse.
27965         (arena_get2) [!PER_THREAD]: Likewise.
27966         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27967         memory_arena_reuse_realloc.
27968         * manual/probes.texi: Document them.
27970         * malloc/malloc.c (__libc_free): Add
27971         memory_mallopt_free_dyn_thresholds probe.
27972         (__libc_mallopt): Add multiple memory_mallopt probes.
27973         * manual/probes.texi: Document them.
27975         * malloc/malloc.c: Include stap-probe.h.
27976         (__libc_mallopt): Add memory_mallopt probe.
27977         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27978         * manual/probes.texi: New.
27979         * manual/Makefile (chapters): Add probes.
27980         * manual/threads.texi: Set next node.
27982 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27984         [BZ #15963, #13985]
27985         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27986         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27987         Add `Chinese' to `nan' entry name.
27989 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27991         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27992         (POLYNOMIAL): Likewise.
27993         (TAYLOR_SINCOS): Likewise.
27994         (TAYLOR_SLOW): Likewise.
27995         (__sin): Use TAYLOR_SINCOS.
27996         (__cos): Likewise.
27997         (slow): Use TAYLOR_SLOW.
27998         (sloww): Likewise.
27999         (bsloww): Likewise.
28000         (csloww): Likewise.
28002 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28004         * stdlib/strtod_l.c: Fix buffer overrun.
28006 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28008         * benchtests/Makefile (bench): Add sincos.
28009         * benchtests/bench-sincos.c: New file.
28011         * math/libm-test.inc (cos_test_data): New test inputs.
28012         (sin_test_data): Likewise.
28014         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28015         macro.
28016         (__sin): Use it.
28017         (__cos): Likewise.
28018         (slow1): Likewise.
28019         (slow2): Likewise.
28020         (sloww1): Likewise.
28021         (sloww2): Likewise.
28022         (bsloww1): Likewise.
28023         (bsloww2): Likewise.
28024         (cslow2): Likewise.
28025         (csloww1): Likewise.
28026         (csloww2): Likewise.
28028         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28029         function.
28030         (__sin): Use it.
28031         (__cos): Likewise.
28033         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28034         gotos.
28035         (__cos): Likewise.
28037 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28039         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28040         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28041         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28042         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28043         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28044         * elf/cache.c (print_entry): Handle the new cache flags.
28046 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28047             Aldy Hernandez  <aldyh@redhat.com>
28049         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28050         Change condition to [_SOFT_FLOAT].
28051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28055         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28056         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28063         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28066         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28067         declaration.
28069 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28071         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28072         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28073         (__longjmp): Use LOAD_GP to load saved GPRs.
28074         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28075         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28076         (__sigsetjmp): Use SAVE_GP to save GPRs.
28078         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28079         Do not append -msoft-float.
28080         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28082 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28084         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28086 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28088         [BZ #15966]
28089         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28090         (_FPU_GETCW): Use initial "__" on variable and field names but not
28091         on macro parameter name.
28092         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28093         parentheses around reference to macro parameter.
28095 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28097         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28098         prototype.
28099         (ctype_startup): Use uint32_t in cast and sizeof for
28100         ctype->charnames.
28102 2013-09-11  Jia Liu  <proljc@gmail.com>
28104         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28105         __daddr_t_defined.
28106         [__FreeBSD__]: Likewise.
28108 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28111         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28112         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28113         (strchr): Remove __strchr_sse42 ifunc selection.
28114         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28115         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28117 2013-09-11  Will Newton  <will.newton@linaro.org>
28119         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28120         parameter to RES. Remove hardcoded 1000 value.
28121         * benchtests/bench-skeleton.c (main): Pass RES parameter
28122         to TIMING_INIT and multiply result by 1000.
28124 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28128 2013-09-11  Andreas Schwab  <schwab@suse.de>
28130         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28131         if not defined.
28132         (O_TMPFILE) [__USE_GNU]: Define.
28133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28134         Define.
28136 2013-09-11  Will Newton  <will.newton@linaro.org>
28138         [BZ #15857]
28139         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28140         does not overflow.
28142 2013-09-11  Will Newton  <will.newton@linaro.org>
28144         [BZ #15856]
28145         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28146         does not overflow.
28148 2013-09-11  Will Newton  <will.newton@linaro.org>
28150         [BZ #15855]
28151         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28152         does not overflow.
28154 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28156         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28157         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28158         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28159         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28160         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28162 2013-09-10  Allan McRae  <allan@archlinux.org>
28164         [BZ #15748]
28165         * manual/arith.texi (Parsing of Floats): Clarify
28166         cross-reference.
28168         [BZ #15849]
28169         * manual/install.texi (Running make install): Mention
28170         --enable-pt-chown.
28171         * INSTALL: Regenerated.
28173 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28175         * csu/init-first.c (_init): Remove the !SHARED condition around
28176         FPU control word initialization.
28177         * elf/dl-support.c (_dl_fpu_control): New variable.
28178         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28179         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28180         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28181         * math/test-fpucw-static.c: New file.
28182         * math/test-fpucw-ieee.c: New file.
28183         * math/test-fpucw-ieee-static.c: New file.
28184         * math/Makefile (tests): Add `test-fpucw-ieee' and
28185         `$(tests-static)'.
28186         (tests-static): New variable.
28187         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28188         dependency to...
28189         [($(build-shared),yes)]
28190         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28191         ... this.
28192         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28193         New dependency.
28195 2013-09-09  Allan McRae  <allan@archlinux.org>
28197         [BZ #15939]
28198         * manual/string.texi (Collation Functions): Fix typo in
28199         strcoll example.
28200         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28202         [BZ #15893]
28203         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28205         [BZ #15892]
28206         * libio/memstream.c (open_memstream): Fix memory leak.
28207         * libio/wmemstream.c (open_wmemstream): Likewise.
28209         [BZ #15895]
28210         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28212 2013-09-09  Will Newton  <will.newton@linaro.org>
28214         * malloc/Makefile: Add tst-realloc to tests.
28215         * malloc/tst-realloc.c: New file.
28217 2013-09-09  Allan McRae  <allan@archlinux.org>
28219         [BZ #15844]
28220         * COPYING: Update from GNU website to fix FSF address.
28221         * COPYING.LIB: Likewise.
28223 2013-09-06  David S. Miller  <davem@davemloft.net>
28225         * po/zh_TW.po: Update Chinese (traditional) translation from
28226         translation project.
28228 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28229             Joseph Myers  <joseph@codesourcery.com>
28231         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28232         "localeinfo.h".
28233         (obstack_chunk_alloc): New macro.
28234         (obstack_chunk_free): Likewise.
28235         (record_offset): New function.
28236         (init_locale_data): Likewise.
28237         (align_locale_data): Likewise.
28238         (add_locale_empty): Likewise.
28239         (add_locale_raw_data): Likewise.
28240         (add_locale_raw_obstack): Likewise.
28241         (add_locale_string): Likewise.
28242         (add_locale_wstring): Likewise.
28243         (add_locale_uint32): Likewise.
28244         (add_locale_uint32_array): Likewise.
28245         (add_locale_char): Likewise.
28246         (start_locale_structure): Likewise.
28247         (end_locale_structure): Likewise.
28248         (start_locale_prelude): Likewise.
28249         (end_locale_prelude): Likewise.
28250         (write_locale_data): Take locale_file structure rather than an
28251         iovec.
28252         * locale/programs/locfile.h: Include "obstack.h".
28253         (struct locale_file): Change to store locale file contents instead
28254         of header.
28255         (init_locale_data): New prototype.
28256         (align_locale_data): Likewise.
28257         (add_locale_empty): Likewise.
28258         (add_locale_raw_data): Likewise.
28259         (add_locale_raw_obstack): Likewise.
28260         (add_locale_string): Likewise.
28261         (add_locale_wstring): Likewise.
28262         (add_locale_uint32): Likewise.
28263         (add_locale_uint32_array): Likewise.
28264         (add_locale_char): Likewise.
28265         (start_locale_structure): Likewise.
28266         (end_locale_structure): Likewise.
28267         (start_locale_prelude): Likewise.
28268         (end_locale_prelude): Likewise.
28269         (write_locale_data): Update prototype.
28270         * locale/programs/3level.h (struct TABLE): Remove result field.
28271         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28272         Use new locale_file interface.
28273         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28274         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28275         * locale/programs/ld-address.c (address_output): Use new
28276         locale_file interface.
28277         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28278         NO_ADD_LOCALE.
28279         (collate_finish): Don't call collseq_table_finalize.
28280         (collate_output): Use new locale_file interface.
28281         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28282         in file.
28283         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28284         (TABLE): Move defines earlier in file.
28285         (ELEMENT): Likewise.
28286         (DEFAULT): Likewise.
28287         (wctrans_table_add): Move macro and inline function earlier in
28288         file.
28289         (struct wctype_table): Move type earlier in file.
28290         (add_locale_wctype_table): New static prototype.
28291         (struct locale_ctype_t): Use logical types instead of struct iovec
28292         pointers for members.
28293         (ctype_output): Use new locale_file interface.
28294         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28295         new locale_file interface.
28296         (allocate_arrays): Update for use of new locale_file interface.
28297         * locale/programs/ld-identification.c (identification_output): Use
28298         new locale_file interface.
28299         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28300         * locale/programs/ld-messages.c (messages_output): Likewise.
28301         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28302         * locale/programs/ld-name.c (name_output): Likewise.
28303         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28304         * locale/programs/ld-paper.c (paper_output): Likewise.
28305         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28306         * locale/programs/ld-time.c (time_output): Likewise.
28308 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28310         * benchtests/Makefile: Add memrchr benchmark.
28311         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28312         benchmark as memrchr.
28313         * benchtests/bench-memrchr-ifunc.c: New file.
28314         * benchtests/bench-memrchr.c: New file.
28316 2013-09-06   Will Newton  <will.newton@linaro.org>
28318         * benchtests/Makefile (string-bench): Add memcpy.
28320 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28321             Cong Wang  <amwang@redhat.com>
28323         [BZ #15850]
28324         * sysdeps/unix/sysv/linux/bits/in.h
28325         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28326         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28327         before __USE_KERNEL_IPV6_DEFS uses.
28328         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28329         IPPROTO_BEETPH.
28330         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28331         sockaddr_in6, or ipv6_mreq.
28333 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28335         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28336         memory access for final bytes in some large inputs.
28337         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28339 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28341         * string/test-memrchr.c: New file.
28342         * string/test-memrchr-ifunc.c: New file.
28343         * string/Makefile: Add new memrchr testcase.
28345 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28347         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28348         fanotify_init returns EPERM.
28350 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28352         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28353         errors.
28354         (top level): Treat second token from macro or constant entries for
28355         allowed headers as allowed.
28356         * include/complex.h: Condition internal declarations on
28357         [!_ISOMAC].
28358         * include/fenv.h: Condition include of <stdbool.h> and internal
28359         declarations on [!_ISOMAC].
28361 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28363         [BZ #15923]
28364         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28366 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28368         * configure.in (--enable-versioning): Remove configure option.
28369         (libc_cv_asm_symver_directive): Remove configure test.
28370         (libc_cv_ld_version_script_option): Likewise.
28371         (VERSIONING): Remove variable and AC_SUBST.
28372         (DO_VERSIONING): Remove AC_DEFINE.
28373         * configure: Regenerated.
28374         * config.h.in (DO_VERSIONING): Remove macro.
28375         * Makerules [$(versioning) = yes]: Change conditionals to
28376         [$(build-shared) = yes].
28377         * config.make.in (versioning): Remove variable.
28378         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28379         [$(build-shared) = yes].
28380         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28381         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28382         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28383         [$(build-shared) = yes].
28384         * extra-lib.mk [$(versioning) = yes]: Likewise.
28385         * hurd/Makefile [$(versioning) = yes]: Likewise.
28386         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28387         [SHARED].
28388         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28389         [SHARED].
28390         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28391         [SHARED && !NO_HIDDEN].
28392         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28393         [SHARED].
28394         [SHARED && DO_VERSIONING]: Likewise..
28395         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28396         [$(build-shared) = yes].
28397         * manual/install.texi (--disable-versioning): Remove
28398         documentation.
28399         * INSTALL: Regenerated.
28400         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28401         to [SHARED].
28402         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28403         [$(build-shared) = yes].
28404         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28405         * sysdeps/i386/i686/multiarch/strstr-c.c
28406         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28407         [SHARED && !NO_HIDDEN].
28408         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28409         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28410         * sysdeps/powerpc/powerpc32/dl-machine.c
28411         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28412         * sysdeps/powerpc/powerpc32/sysdep.h
28413         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28414         to [SHARED && PIC && !NO_HIDDEN].
28415         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28416         conditional to [SHARED].
28418 2013-09-04   Will Newton  <will.newton@linaro.org>
28420         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28421         * benchtests/bench-string.h: Include bench-timing.h instead
28422         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28423         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28424         call to HP_TIMING_DIFF_INIT.
28425         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28426         instead of hp-timing.h macros.
28427         * benchtests/bench-memchr.c: Likewise.
28428         * benchtests/bench-memcmp.c: Likewise.
28429         * benchtests/bench-memcpy.c: Likewise.
28430         * benchtests/bench-memmem.c: Likewise.
28431         * benchtests/bench-memmove.c: Likewise.
28432         * benchtests/bench-memset.c: Likewise.
28433         * benchtests/bench-rawmemchr.c: Likewise.
28434         * benchtests/bench-strcasecmp.c: Likewise.
28435         * benchtests/bench-strcasestr.c: Likewise.
28436         * benchtests/bench-strcat.c: Likewise.
28437         * benchtests/bench-strchr.c: Likewise.
28438         * benchtests/bench-strcmp.c: Likewise.
28439         * benchtests/bench-strcpy.c: Likewise.
28440         * benchtests/bench-strcpy_chk.c: Likewise.
28441         * benchtests/bench-strlen.c: Likewise.
28442         * benchtests/bench-strncasecmp.c: Likewise.
28443         * benchtests/bench-strncat.c: Likewise.
28444         * benchtests/bench-strncmp.c: Likewise.
28445         * benchtests/bench-strncpy.c: Likewise.
28446         * benchtests/bench-strnlen.c: Likewise.
28447         * benchtests/bench-strpbrk.c: Likewise.
28448         * benchtests/bench-strrchr.c: Likewise.
28449         * benchtests/bench-strspn.c: Likewise.
28450         * benchtests/bench-strstr.c: Likewise.
28452 2013-09-04  Will Newton  <will.newton@linaro.org>
28454         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28456 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28458         [BZ #15427]
28459         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28460         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28461         * math/libm-test.inc (lgamma_test_data): Add more tests.
28462         * sysdeps/i386/fpu/libm-test-ulps: Update.
28463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28465 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28467         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28469         Add ifunc.
28470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28471         Add strcmp-sse2-unaligned
28472         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28474 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28476         * Versions.def (libc): Add GLIBC_2.19.
28478 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28480         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28481         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28483 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28485         [BZ #14155]
28486         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28487         intermediate calculations in recurrence.
28488         (__ieee754_ynf): Likewise.
28489         * math/libm-test.inc (jn_test_data): Do not allow spurious
28490         underflow exception.  Add more tests.
28491         (yn_test_data): Add more tests.
28492         * sysdeps/i386/fpu/libm-test-ulps: Update.
28493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28495 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28499 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28501         * csu/init-first.c: Fix then/than typos.
28502         * locale/programs/ld-collate.c: Likewise.
28503         * locale/programs/linereader.h: Likewise.
28504         * manual/charset.texi: Likewise.
28505         * manual/filesys.texi: Likewise.
28506         * manual/stdio.texi: Likewise.
28507         * manual/string.texi: Likewise.
28508         * stdlib/fmtmsg.c: Likewise.
28509         * sysdeps/i386/stpncpy.S: Likewise.
28510         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28511         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28512         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28513         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28515 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28517         * elf/dl-open.c: Fix typos.
28518         * iconvdata/gbbig5.c: Likewise.
28519         * iconvdata/iso-2022-jp.c: Likewise.
28520         * iconv/gconv_int.h: Likewise.
28521         * iconv/loop.c: Likewise.
28522         * nis/rpcsvc/nis.h: Likewise.
28523         * resolv/ns_name.c: Likewise.
28524         * stdio-common/vfscanf.c: Likewise.
28525         * streams/stropts.h: Likewise.
28526         * sunrpc/rpc_thread.c: Likewise.
28527         * sysdeps/i386/strpbrk.S: Likewise.
28528         * sysdeps/ieee754/k_standard.c: Likewise.
28529         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28531         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28532         * sysdeps/mach/hurd/profil.c: Likewise.
28533         * sysdeps/s390/dl-procinfo.h: Likewise.
28534         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28535         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28536         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28537         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28538         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28540 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28542         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28545 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28547         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28548         aix specific files.
28549         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28550         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28551         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28552         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28553         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28554         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28555         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28556         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28558 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28559             Roland McGrath  <roland@hack.frob.com>
28561         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28562         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28564 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28566         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28567         __executable_start symbol instead of _start.
28569 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28571         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28572         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28573         Move macros to...
28574         * sysdeps/gnu/ldsodefs.h: ... this new file.
28576         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28577         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28578         instead of ELFOSABI_LINUX.
28580         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28581         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28582         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28583         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28584         Likewise.
28585         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28586         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28587         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28588         Likewise.
28589         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28590         (ibm_extended_long_double): Add ieee_nan member.
28591         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28592         (do_test): New function.
28594         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28595         TEST_TRUNC.
28596         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28597         functions, renamed from truncdfsf_test, trunctfsf_test,
28598         trunctfdf_test.
28599         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28600         functions.
28601         (do_test): Run all these.
28603 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28605         * argp/argp-help.c: Fix typos.
28606         * argp/argp-parse.c: Likewise.
28607         * debug/backtracesyms.c: Likewise.
28608         * elf/elf.h: Likewise.
28609         * malloc/malloc.c: Likewise.
28610         * nis/nis_print.c: Likewise.
28611         * resolv/res_comp.c: Likewise.
28612         * stdlib/stdlib.h: Likewise.
28613         * sunrpc/clnt_tcp.c: Likewise.
28614         * sunrpc/clnt_udp.c: Likewise.
28615         * sunrpc/clnt_unix.c: Likewise.
28616         * sysdeps/unix/bsd/ptsname.c: Likewise.
28617         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28618         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28620         Likewise.
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28622         Likewise.
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28624         Likewise.
28625         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28627 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28629         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28632 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28634         [BZ #15897]
28635         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28636         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28637         ($(objpfx)bug-dl-leaf): New rule.
28638         ($(objpfx)bug-dl-leaf.so): Likewise.
28639         ($(objpfx)bug-dl-leaf.out): Likewise.
28640         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28641         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28642         * dlfcn/bug-dl-leaf.c: New test.
28643         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28644         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28645         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28646         (dlclose): Likewise.
28647         (dlmopen): Likewise.
28649 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28651         * include/netdb.h [!_ISOMAC]:
28652         Don't include <tls.h>.
28653         (h_errno, __libc_h_errno): Move declaration and macros out of
28654         [_LIBC_REENTRANT].
28656         * include/resolv.h [_RESOLV_H_]:
28657         Don't include <tls.h>.
28658         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28659         * resolv/res_libc.c: Don't include <tls.h>.
28660         (_res): Use __attribute__ ((nocommon)) in place of
28661         __attribute__ ((section (".bss"))).
28663         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28664         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28666         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28668         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28669         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28671         * resolv/res_mkquery.c: Include <sys/time.h>.
28673         * inet/ifreq.c: Moved to ...
28674         * sysdeps/unix/ifreq.c: ... here.
28675         * inet/ifreq.c: New file, true stub version.
28677         * socket/sa_len.c: New file.
28678         * socket/Makefile (aux): Add it.
28679         * sysdeps/unix/sysv/linux/Makefile
28680         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28681         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28682         and #include <socket/sa_len.c>.
28683         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28684         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28686         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28687         * bits/socket.h: ... here.
28689         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28690         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28691         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28693 2013-08-27  Andreas Schwab  <schwab@suse.de>
28695         [BZ #15736]
28696         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28697         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28698         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28699         * string/test-strcasecmp.c (test_main): Run tests in several
28700         locales.
28701         * string/test-strncasecmp.c (test_main): Likewise.
28703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28704         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28705         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28706         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28707         (__strncasecmp_ssse3) [PIC]: Likewise.
28709 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28711         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28713         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28714         instead of explicitly declaring xdecrypt.
28715         * nis/nss_nis/nis-publickey.c: Likewise.
28717 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28719         [BZ #15890]
28720         * nscd/aicache.c: Include res_hconf.h.
28721         (addhstaiX): Initialize res_hconf.
28723 2013-08-26  Andreas Schwab  <schwab@suse.de>
28725         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28726         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28728 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28730         * nscd/aicache.c (addhstaiX): Fix indentation.
28732 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28734         * configure.ac: Quote $build_pt_chown test.
28735         * configure: Regenerated.
28737 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28739         [BZ #15532]
28740         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28741         * math/s_cexpf.c (__cexpf): Likewise.
28742         * math/s_cexpl.c (__cexpl): Likewise.
28743         * math/libm-test.inc (cexp_test_data): Correct expected return
28744         value for NaN + i0.  Add another test.
28746 2013-08-22  David S. Miller  <davem@davemloft.net>
28748         * po/ca.po: Update Catalan translation from translation project.
28749         * po/uk.po: Add Ukrainian translations from translation project.
28751 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28753         [BZ #15797]
28754         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28755         is infinite, not alongside NaN test.
28756         * math/s_fdimf.c (__fdimf): Likewise.
28757         * math/s_fdiml.c (__fdiml): Likewise.
28758         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28759         errno is unchanged.
28761 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28763         * argp/argp-help.c: Fix typos.
28764         * crypt/speeds.c: Likewise.
28765         * csu/check_fds.c: Likewise.
28766         * elf/dl-load.c: Likewise.
28767         * elf/dl-open.c: Likewise.
28768         * elf/reldep3.c: Likewise.
28769         * elf/reldep.c: Likewise.
28770         * elf/sprof.c: Likewise.
28771         * iconv/iconv_charmap.c: Likewise.
28772         * iconv/skeleton.c: Likewise.
28773         * iconv/strtab.c: Likewise.
28774         * io/lockf64.c: Likewise.
28775         * libio/libioP.h: Likewise.
28776         * resolv/gai_notify.c: Likewise.
28777         * resolv/ns_name.c: Likewise.
28778         * resolv/ns_samedomain.c: Likewise.
28779         * resolv/res_send.c: Likewise.
28780         * stdlib/random.c: Likewise.
28781         * sunrpc/rpc/xdr.h: Likewise.
28782         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28783         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28784         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28785         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28786         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28787         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28789         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28790         * sysdeps/mach/hurd/check_fds.c: Likewise.
28791         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28792         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28794         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28795         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28796         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28797         * sysdeps/pthread/aio_notify.c: Likewise.
28798         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28799         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28800         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28801         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28802         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28804 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28806         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28807         version if bit_Slow_SSE4_2 is set.
28808         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28809         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28811 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28813         [BZ #15867]
28814         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28815         trampoline stack frame information.
28816         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28817         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28818         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28819         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28820         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28821         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28822         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28823         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28824         sa_flags value.
28825         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28826         interrupting a syscall and set with option SA_SIGINFO.
28828 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28830         [BZ #15531]
28831         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28832         argument is infinite.
28833         * math/s_cprojf.c (__cprojf): Likewise.
28834         * math/s_cprojl.c (__cprojl): Likewise.
28835         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28836         * math/libm-test.inc (cproj_test_data): Add more tests.
28838         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28840         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28841         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28842         size.  Use __ffs to determine corresponding shift.
28844 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28845             Roland McGrath  <roland@hack.frob.com>
28847         * Makefile (INSTALL): Remove trailing blank lines from output of
28848         makeinfo.
28850 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28852         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28853         Align 32 bit compat elf_greg to 8 bytes.
28855 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28857         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28859 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28861         * string/strcoll_l.c (coll_seq): New structure.
28862         (get_next_seq_cached): New function.
28863         (get_next_seq): New function.
28864         (do_compare): New function.
28865         (STRCOLL): Use GNU style definition.  Simplify implementation
28866         by using get_next_seq, get_next_seq_cached and do_compare.
28868 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28870         [BZ #14699]
28871         CVE-2013-4237
28872         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28873         member.
28874         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28875         member.
28876         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28877         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28878         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28879         conditional.
28880         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28881         GETDENTS_64BIT_ALIGNED.
28882         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28883         * manual/filesys.texi (Reading/Closing Directory): Document
28884         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28885         strongly.
28886         * manual/conf.texi (Limits for Files): Add portability note to
28887         NAME_MAX, PATH_MAX.
28888         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28890 2013-08-13  Andreas Schwab  <schwab@suse.de>
28892         [BZ #15749]
28893         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28894         of fabs.
28895         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28896         LDBL_MAX_EXP >= 16384]: Add tests for it.
28898 2013-08-12  David S. Miller  <davem@davemloft.net>
28900         * version.h (RELEASE): Set to "development".
28901         (VERSION): Set to "2.18.90".
28902         * NEWS: Add 2.19 section.
28904 2013-08-03  David S. Miller  <davem@davemloft.net>
28906         * po/ko.po: Update Korean translation from translation project.
28908 2013-08-01  David S. Miller  <davem@davemloft.net>
28910         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28911         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28912         Bilka.
28914 2013-07-30  David S. Miller  <davem@davemloft.net>
28916         * po/fr.po: Update French translation from translation project.
28918 2013-07-28  David S. Miller  <davem@davemloft.net>
28920         * po/cs.po: Update Czech translation from translation project.
28922         * po/sv.po: Update Swedish translation from translation project.
28924 2013-07-27  David S. Miller  <davem@davemloft.net>
28926         * po/eo.po: Update Esperanto translation from translation project.
28928         * po/vi.po: Update Vietnamese translation from translation project.
28930         * po/de.po: Update German translation from translation project.
28932 2013-07-26  David S. Miller  <davem@davemloft.net>
28934         * po/bg.po: Update Bulgarian translation from translation project.
28936         * po/nl.po: Update Dutch translation from translation project.
28937         * po/pl.po: Update Polish translation from translation project.
28938         * po/ru.po: Update Russian translation from translation project.
28940 2013-07-24  David S. Miller  <davem@davemloft.net>
28942         * po/libc.pot: Update.
28944 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28946         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28947         variable page size.
28948         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28949         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28950         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28952 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28954         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28956 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28957             Andreas Schwab  <schwab@suse.de>
28958             Roland McGrath  <roland@hack.frob.com>
28959             Joseph Myers  <joseph@codesourcery.com>
28960             Carlos O'Donell  <carlos@redhat.com>
28962         [BZ #15755]
28963         * config.h.in: Define HAVE_PT_CHOWN.
28964         * config.make.in (build-pt-chown): New variable.
28965         * configure.in (--enable-pt_chown): New configure option.
28966         * configure: Regenerate.
28967         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28968         build-pt-chown is enabled.
28969         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28970         pt_chown to fix pty ownership.
28971         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28972         CLOSE_ALL_FDS.
28973         * manual/install.texi (Configuring and compiling): Mention
28974         --enable-pt_chown. Add @findex for grantpt.
28975         * INSTALL: Regenerate.
28977 2013-07-20  David S. Miller  <davem@davemloft.net>
28979         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28980         difference between 32-bit and 64-bit.
28982 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28984         [BZ #15711]
28985         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28986         Avoid system header dependency with -ffreestanding.
28987         ($(objpfx)bits/syscall%d): Likewise.
28989 2013-07-13  David S. Miller  <davem@davemloft.net>
28991         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28992         underflows from atanl/atan2l due to bug 15319.
28993         (casinh_test_data): Likewise.
28995 2013-07-07  David S. Miller  <davem@davemloft.net>
28997         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28999 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
29001         * sysdeps/i386/fpu/libm-test-ulps: Update.
29002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29004 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29006         * configure.in (--enable-lock-elision): Fix message text.
29007         * INSTALL: Regenerate.
29008         * configure: Regenerate.
29010 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29014 2013-07-03  Andreas Jaeger  <aj@suse.de>
29016         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29017         define.
29018         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29019         (ptrace_peeksiginfo_args): Add.
29020         (__ptrace_peeksiginfo_flags): Add.
29021         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29023         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29025 2013-07-03  Allan McRae  <allan@archlinux.org>
29027         * sysdeps/i386/fpu/libm-test-ulps: Update.
29029 2013-07-02  David S. Miller  <davem@davemloft.net>
29031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29033 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29037 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29039         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29042 2013-07-02  Andi Kleen <ak@linux.intel.com>
29044         * config.h.in (ENABLE_LOCK_ELISION): Add.
29045         * configure.in (--enable-lock-elision): Add option.
29046         * manual/install.texi: Document --enable lock elision.
29047         * configure: Regenerate
29048         * INSTALL: Regenerate.
29050 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29052         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29053         SSE4.2 strcasecmp for libc.a.
29054         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29056 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29058         [BZ #13304]
29059         * soft-fp/op-common.h (_FP_FMA): New macro.
29060         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29061         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29062         (_FP_MUL_MEAT_1_imm): ... here.
29063         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29064         (_FP_MUL_MEAT_1_wide): ... here.
29065         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29066         (_FP_MUL_MEAT_1_hard): ... here.
29067         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29068         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29069         (_FP_MUL_MEAT_2_wide): ... here.
29070         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29071         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29072         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29073         (_FP_MUL_MEAT_2_gmp): ... here.
29074         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29075         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29076         (_FP_MUL_MEAT_4_wide): ... here.
29077         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29078         (_FP_MUL_MEAT_4_gmp): ... here.
29079         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29080         (_FP_WFRACBITS_DW_S): Likewise.
29081         (_FP_WFRACXBITS_DW_S): Likewise.
29082         (_FP_HIGHBIT_DW_S): Likewise.
29083         (FP_FMA_S): Likewise.
29084         (_FP_FRAC_HIGH_DW_S): Likewise.
29085         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29086         (_FP_WFRACBITS_DW_D): Likewise.
29087         (_FP_WFRACXBITS_DW_D): Likewise.
29088         (_FP_HIGHBIT_DW_D): Likewise.
29089         (FP_FMA_D): Likewise.
29090         (_FP_FRAC_HIGH_DW_D): Likewise.
29091         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29092         (_FP_WFRACBITS_DW_E): Likewise.
29093         (_FP_WFRACXBITS_DW_E): Likewise.
29094         (_FP_HIGHBIT_DW_E): Likewise.
29095         (FP_FMA_E): Likewise.
29096         (_FP_FRAC_HIGH_DW_E): Likewise.
29097         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29098         (_FP_WFRACBITS_DW_Q): Likewise.
29099         (_FP_WFRACXBITS_DW_Q): Likewise.
29100         (_FP_HIGHBIT_DW_Q): Likewise.
29101         (FP_FMA_Q): Likewise.
29102         (_FP_FRAC_HIGH_DW_Q): Likewise.
29103         * soft-fp/fmasf4.c: New file.
29104         * soft-fp/fmadf4.c: Likewise.
29105         * soft-fp/fmatf4.c: Likewise.
29107 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29110         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29111         Silvermont.
29112         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29113         macro.
29114         (index_Slow_SSE4_2): Likewise.
29115         (index_Prefer_PMINUB_for_stringop): Likewise.
29116         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29117         bit_Slow_SSE4_2 is set.
29118         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29119         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29121 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29123         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29124         rtld_global._dl_hwcap2.
29125         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29126         POWER8.
29127         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29128         POWER8 feature descriptions defined in _dl_hwcap2.
29129         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29130         string handling for POWER8 feature bits.
29131         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29132         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29133         _dl_powerpc_cap_flags.
29134         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29135         * sysdeps/powerpc/rtld-global-offsets.sym
29136         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29137         _dl_hwcap2 in the rtld_global_ro structure.
29139 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29141         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29142         hardware capabilities in support of AT_HWCAP2.
29143         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29144         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29145         GLRO(dl_hwcap2).
29146         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29147         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29148         explicitly the unknown a_type display mechanism is used.
29149         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29150         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29151         struct member.
29152         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29153         to macro prototype for AT_HWCAP2 support.
29154         * sysdeps/i386/dl-procinfo.h: Likewise.
29155         * sysdeps/s390/dl-procinfo.h: Likewise.
29156         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29157         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29158         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29159         return -1 for unknown a_type display fallback.
29160         * sysdeps/sparc/dl-procinfo.h: Likewise.
29161         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29162         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29164 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29166         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29167         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29169 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29171         [BZ #12492]
29172         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29173         mprotect making __stack_prot writable.
29175 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29176             Joseph Myers  <joseph@codesourcery.com>
29178         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29179         as being properly aligned.
29181 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29183         * dlfcn/modstatic5.c: New file.
29184         * dlfcn/tststatic5.c: New file.
29185         * dlfcn/Makefile (tests): Add tststatic5.
29186         (tests-static): Likewise.
29187         (modules-names): Add modstatic5.
29188         (tststatic5-ENV): New variable.
29189         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29191         [BZ #15022]
29192         * elf/dl-support.c (_dl_main_map): New variable.
29193         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29194         (_dl_nns, _dl_load_adds): Set to 1.
29195         (_dl_initial_searchlist): Refer to _dl_main_map.
29196         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29197         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29198         call to _dl_get_origin.
29199         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29200         around call_map.
29201         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29202         * dlfcn/modstatic3.c: New file.
29203         * dlfcn/tststatic3.c: New file.
29204         * dlfcn/tststatic4.c: New file.
29205         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29206         (tests-static): Likewise.
29207         (modules-names): Add modstatic3.
29208         (tststatic3-ENV, tststatic4-ENV): New variables.
29209         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29210         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29212 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29214         * configure.in (CC): Require GCC version 4.4 or later.
29215         * configure: Regenerated.
29216         * manual/install.texi (Tools for Compilation): Update GCC version
29217         requirement.
29218         * INSTALL: Regenerated.
29220 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29222         [BZ #15674]
29223         * string/test-memcmp.c (check2): New.
29224         (main): Call check2.
29226         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29228 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29230         [BZ #15022]
29231         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29232         over to...
29233         (dl_open_worker) [!SHARED]: ... here.
29235 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29237         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29239 2013-06-25  Richard Henderson  <rth@redhat.com>
29241         * locale/programs/locarchive.c: Include <libc-internal.h>
29243 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29245         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29246         trailing whitespace removed.
29248 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29250         [BZ #10283]
29251         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29252         * locale/programs/locarchive.c: Include libc-mmap.h.
29253         (prepare_address_space): Take two new outputs (the mmap base and len).
29254         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29255         values.
29256         (create_archive): Declare new mmap base and len values for
29257         prepare_address_space, and store the result in ah.
29258         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29259         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29260         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29261         Declare new mmap base and len values for
29262         prepare_address_space, and store the result in new_ah.
29263         (open_archive): Declare new mmap base and len values for
29264         prepare_address_space, and store the result in ah.
29265         (close_archive): If ah->mmap_base is not NULL, use that and
29266         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29267         * sysdeps/generic/libc-mmap.h: New file.
29269 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29271         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29272         (ALIGN_UP): Likewise.
29273         (PTR_ALIGN_DOWN): Likewise.
29274         (PTR_ALIGN_UP): Likewise.
29276 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29279         entry mapped to PPC_PLATFORM_POWER8.
29280         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29281         POWER8.
29282         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29283         (_dl_string_platform): Add case for exporting platform position for
29284         POWER8.
29285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29286         search path to sysdeps/powerpc/powerpc32/power8 directory.
29287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29288         search path to sysdeps/powerpc/powerpc64/power8 directory.
29289         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29290         power7 directories.
29291         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29292         power7 directories.
29294 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29296         * INSTALL: Regenerate.
29298         * nscd/connections.c (nscd_init): Fix comment.
29300 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29302         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29304         [BZ #15667]
29305         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29306         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29308 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29310         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29311         DL_DST_REQ_STATIC.
29312         (DL_DST_REQ_STATIC): Remove macro.
29314 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29316         [BZ #7006]
29317         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29318         with a shift of 0 bits.
29320 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29322         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29323         $(tststatic-ENV).
29325 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29327         [BZ #15655]
29328         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29330 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29332         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29333         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29334         accepts -fno-tree-loop-distribute-patterns.
29335         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29336         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29337         recursive call.
29338         * string/memset.c (memset): Likewise.
29339         * string/test-memmove.c (simple_memmove): Disable loop transformation
29340         to library calls.
29341         * string/test-memset.c (simple_memset): Likewise.
29342         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29343         * benchtests/bench-memset.c (simple_memset): Likewise.
29344         * configure: Regenerated.
29346 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29348         * math/test-misc.c (main): Ignore fesetround failure when failures
29349         of subsequent rounding tests would be ignored.
29351         [BZ #15654]
29352         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29353         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29354         * math/fegetenv.c (__fegetenv): Return 0.
29355         * math/fegetexcept.c (fegetexcept): Return 0.
29356         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29357         FE_TONEAREST.
29358         * math/feholdexcpt.c (feholdexcept): Return 0.
29359         * math/fesetenv.c (__fesetenv): Return 0.
29360         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29361         argument FE_TONEAREST.
29362         * math/feupdateenv.c (__feupdateenv): Return 0.
29363         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29365 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29367         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29368         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29369         ($(objpfx)rtld-%.os rules): Use them.
29371 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29373         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29374         fields.
29376 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29378         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29379         length of target pattern, then descending length of dependency pattern.
29380         * configure.in (AWK): Require gawk 3.1.2 or newer.
29381         * manual/install.texi (Tools for Compilation): Say that we do.
29382         * configure: Regenerated.
29384         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29385         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29386         * scripts/sysd-rules.awk: ... this new script.
29387         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29388         than a glob-style pattern.
29390 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29392         * math/test-misc.c (main): Do not treat incorrectly rounded
29393         conversions as failure unless ROUNDING_TESTS passes.
29395 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29397         [BZ #15631]
29398         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29399         restore exception state around main square root computation, then
29400         check for inexactness explicitly.
29402         * math/libm-test.inc (fma_test_data): Add another test.
29404 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29406         * manual/threads.texi (Non-POSIX Extensions): New document
29407         node.  Document pthread_getattr_default_np and
29408         pthread_setattr_default_np.
29410         * Versions.def (libpthread): Add GLIBC_2.18.
29411         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29413         Likewise.
29414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29415         Likewise.
29416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29417         Likewise.
29418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29419         Likewise.
29420         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29421         Likewise.
29422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29423         Likewise.
29424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29425         Likewise.
29426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29427         Likewise.
29428         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29429         Likewise.
29431 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29434         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29436 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29437             H.J. Lu  <hjl.tools@gmail.com>
29439         [BZ #15627]
29440         * sysdeps/x86_64/rtld-memset.c: Remove file.
29441         * sysdeps/x86_64/rtld-memset.S: New file.
29443 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29445         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29446         (test_in_one_mode): Take arguments for whether the rounding mode
29447         is supported for each floating-point type.
29448         (do_test): Pass new arguments to test_in_one_mode using
29449         ROUNDING_TESTS.
29451 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29453         * posix/tst-waitid.c (do_test): Distinguish different instances of
29454         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29455         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29456         before entering the kernel for waitpid.
29458 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29460         * NEWS: Fix note on clock function precision.  Text by Roland
29461         McGrath.
29463 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29465         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29466         it into place only when and if the sanity check passes.
29468 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29470         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29471         output for whether conversion result is exact.  Take argument
29472         indicating whether type is IBM long double.
29473         (round_for_all): Change need_exact field to ibm_ld.
29474         * stdlib/tst-strtod-round.c (struct exactness): New type.
29475         (struct test): Change bool ld_ok field to struct exactness exact.
29476         (TEST): Update all definitions for change to field.
29477         (tests): Regenerate array contents.
29478         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29479         field value.  Check for IBM long double here.
29480         (do_test): Update calls to test_in_one_mode.
29482 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29484         [BZ #12515]
29485         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29486         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29488 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29490         [BZ #15605]
29491         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29492         generated by the compiler on loop optimizations.
29493         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29494         general definitions.
29496 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29498         * math/bug-nextafter.c: Include <math-tests.h>.
29499         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29500         the relevant type.
29501         * math/bug-nexttoward.c: Include <math-tests.h>.
29502         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29503         the relevant type.
29504         * math/test-misc.c: Include <math-tests.h>.
29505         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29506         the relevant type.
29508 2013-06-12  Andreas Jaeger  <aj@suse.de>
29510         * po/ia.po: Update Interlingua translation from translation
29511         project.
29513 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29515         * include/fenv.h: Include stdbool.h.
29516         (struct rm_ctx): New structure.
29517         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29518         Define macro.
29519         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29520         (SET_RESTORE_ROUNDF): Likewise.
29521         (SET_RESTORE_ROUNDL): Likewise.
29522         (SET_RESTORE_ROUND_NOEX): Likewise.
29523         (SET_RESTORE_ROUND_NOEXF): Likewise.
29524         (SET_RESTORE_ROUND_NOEXL): Likewise.
29525         (SET_RESTORE_ROUND_53BIT): Likewise.
29526         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29527         (libc_feresetround_noexf_ctx): Likewise.
29528         (libc_feresetround_noexl_ctx): Likewise.
29529         (libc_feholdsetround_53bit_ctx): Likewise.
29530         (libc_feresetround_53bit_ctx): Likewise.
29531         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29532         (libc_feholdexcept_setround_sse_ctx): New function.
29533         (libc_fesetenv_sse_ctx): Likewise.
29534         (libc_feupdateenv_sse_ctx): Likewise.
29535         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29536         (libc_feholdexcept_setround_387_ctx): Likewise.
29537         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29538         (libc_feholdsetround_387_prec_ctx): Likewise.
29539         (libc_feholdsetround_387_ctx): Likewise.
29540         (libc_feholdsetround_387_53bit_ctx): Likewise.
29541         (libc_feholdsetround_sse_ctx): Likewise.
29542         (libc_feresetround_sse_ctx): Likewise.
29543         (libc_feresetround_387_ctx): Likewise.
29544         (libc_feupdateenv_387_ctx): Likewise.
29545         (libc_feholdexcept_setroundf_ctx): Define macro.
29546         (libc_fesetenvf_ctx): Likewise.
29547         (libc_feupdateenvf_ctx): Likewise.
29548         (libc_feholdsetroundf_ctx): Likewise.
29549         (libc_feresetroundf_ctx): Likewise.
29550         (libc_feholdexcept_setround_ctx): Likewise.
29551         (libc_fesetenv_ctx): Likewise.
29552         (libc_feupdateenv_ctx): Likewise.
29553         (libc_feholdsetround_ctx): Likewise.
29554         (libc_feresetround_ctx): Likewise.
29555         (libc_feholdexcept_setroundl_ctx): Likewise.
29556         (libc_feupdateenvl_ctx): Likewise.
29557         (libc_feholdsetroundl_ctx): Likewise.
29558         (libc_feresetroundl_ctx): Likewise.
29559         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29560         (libc_feresetround_53bit_ctx): Likewise.
29562 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29564         * locale/iso-639.def: Convert to UTF-8.
29566 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29568         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29569         (EXCEPTION_TESTS_double): Likewise.
29570         (EXCEPTION_TESTS_long_double): Likewise.
29571         (EXCEPTION_TESTS): Likewise.
29572         * math/libm-test.inc (test_exceptions): Only test exceptions if
29573         EXCEPTION_TESTS (FLOAT).
29575 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29577         * benchtests/Makefile (string-bench): Add strcpy_chk and
29578         stpcpy_chk.
29579         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29580         * benchtests/bench-stpcpy_chk.c: New file.
29581         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29582         * benchtests/bench-strcpy_chk.c: New file.
29583         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29584         code.
29585         (do_test): Likewise.
29587 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29589         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29590         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29591         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29592         with tabs where appropriate.
29593         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29594         dl-procinfo.h.
29595         [PPC_PLATFORM_PPC440]: Likewise.
29596         [PPC_PLATFORM_PPC464]: Likewise.
29597         [PPC_PLATFORM_PPC476]: Likewise.
29598         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29599         ppc464, and ppc476 platform strings merging from ports/
29600         dl-procinfo.h.
29602 2013-06-11  Andreas Schwab  <schwab@suse.de>
29604         [BZ #14991]
29605         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29606         (from_ucs4_idx): Regenerate.
29607         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29608         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29609         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29610         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29611         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29612         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29613         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29614         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29615         from FROM_LOOP and TO_LOOP specific macros.
29616         (BODY): Handle combining characters.
29617         * iconvdata/BIG5HKSCS.irreversible: Update.
29618         * iconvdata/BIG5HKSCS.precomposed: New file.
29619         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29620         characters.
29621         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29623 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29625         * include/sys/time.h: Fix indentation and add copyright header.
29627         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29628         (do_test): Likewise.
29629         * string/test-memchr.c (do_one_test): Likewise.
29630         (do_test): Likewise.
29631         * string/test-memcmp.c (do_one_test): Likewise.
29632         (do_test): Likewise.
29633         * string/test-memcpy.c (do_one_test): Likewise.
29634         (do_test): Likewise.
29635         * string/test-memmem.c (do_one_test): Likewise.
29636         (do_test): Likewise.
29637         (do_random_tests): Likewise.
29638         * string/test-memmove.c (do_one_test): Likewise.
29639         (do_test): Likewise.
29640         * string/test-memset.c (do_one_test): Likewise.
29641         (do_test): Likewise.
29642         * string/test-rawmemchr.c (do_one_test): Likewise.
29643         (do_test): Likewise.
29644         * string/test-strcasecmp.c (do_one_test): Likewise.
29645         (do_test): Likewise.
29646         * string/test-strcasestr.c (do_one_test): Likewise.
29647         (do_test): Likewise.
29648         * string/test-strcat.c (do_one_test): Likewise.
29649         (do_test): Likewise.
29650         * string/test-strchr.c (do_one_test): Likewise.
29651         (do_test): Likewise.
29652         * string/test-strcmp.c (do_one_test): Likewise.
29653         (do_test): Likewise.
29654         * string/test-strcpy.c (do_one_test): Likewise.
29655         (do_test): Likewise.
29656         * string/test-string.h: Likewise.
29657         (test_init): Likewise.
29658         * string/test-strlen.c (do_one_test): Likewise.
29659         (do_test): Likewise.
29660         * string/test-strncasecmp.c (do_one_test): Likewise.
29661         (do_test): Likewise.
29662         * string/test-strncat.c (do_one_test): Likewise.
29663         (do_test): Likewise.
29664         * string/test-strncmp.c (do_one_test): Likewise.
29665         (do_test_limit): Likewise.
29666         (do_test): Likewise.
29667         * string/test-strncpy.c (do_one_test): Likewise.
29668         (do_test): Likewise.
29669         * string/test-strnlen.c (do_one_test): Likewise.
29670         (do_test): Likewise.
29671         * string/test-strpbrk.c (do_one_test): Likewise.
29672         (do_test): Likewise.
29673         * string/test-strrchr.c (do_one_test): Likewise.
29674         (do_test): Likewise.
29675         * string/test-strspn.c (do_one_test): Likewise.
29676         (do_test): Likewise.
29677         * string/test-strstr.c (do_one_test): Likewise.
29678         (do_test): Likewise.
29680         * benchtests/Makefile (string-bench): Add string benchmarks.
29681         * benchtests/bench-bcopy-ifunc.c: New file.
29682         * benchtests/bench-bcopy.c: New file.
29683         * benchtests/bench-bzero-ifunc.c: New file.
29684         * benchtests/bench-bzero.c: New file.
29685         * benchtests/bench-memccpy-ifunc.c: New file.
29686         * benchtests/bench-memccpy.c: New file.
29687         * benchtests/bench-memchr-ifunc.c: New file.
29688         * benchtests/bench-memchr.c: New file.
29689         * benchtests/bench-memcmp-ifunc.c: New file.
29690         * benchtests/bench-memcmp.c: New file.
29691         * benchtests/bench-memmem-ifunc.c: New file.
29692         * benchtests/bench-memmem.c: New file.
29693         * benchtests/bench-memmove-ifunc.c: New file.
29694         * benchtests/bench-memmove.c: New file.
29695         * benchtests/bench-mempcpy-ifunc.c: New file.
29696         * benchtests/bench-mempcpy.c: New file.
29697         * benchtests/bench-memset-ifunc.c: New file.
29698         * benchtests/bench-memset.c: New file.
29699         * benchtests/bench-rawmemchr-ifunc.c: New file.
29700         * benchtests/bench-rawmemchr.c: New file.
29701         * benchtests/bench-stpcpy-ifunc.c: New file.
29702         * benchtests/bench-stpcpy.c: New file.
29703         * benchtests/bench-stpncpy-ifunc.c: New file.
29704         * benchtests/bench-stpncpy.c: New file.
29705         * benchtests/bench-strcasecmp-ifunc.c: New file.
29706         * benchtests/bench-strcasecmp.c: New file.
29707         * benchtests/bench-strcasestr-ifunc.c: New file.
29708         * benchtests/bench-strcasestr.c: New file.
29709         * benchtests/bench-strcat-ifunc.c: New file.
29710         * benchtests/bench-strcat.c: New file.
29711         * benchtests/bench-strchr-ifunc.c: New file.
29712         * benchtests/bench-strchr.c: New file.
29713         * benchtests/bench-strchrnul-ifunc.c: New file.
29714         * benchtests/bench-strchrnul.c: New file.
29715         * benchtests/bench-strcmp-ifunc.c: New file.
29716         * benchtests/bench-strcmp.c: New file.
29717         * benchtests/bench-strcpy-ifunc.c: New file.
29718         * benchtests/bench-strcpy.c: New file.
29719         * benchtests/bench-strcspn-ifunc.c: New file.
29720         * benchtests/bench-strcspn.c: New file.
29721         * benchtests/bench-strlen-ifunc.c: New file.
29722         * benchtests/bench-strlen.c: New file.
29723         * benchtests/bench-strncasecmp-ifunc.c: New file.
29724         * benchtests/bench-strncasecmp.c: New file.
29725         * benchtests/bench-strncat-ifunc.c: New file.
29726         * benchtests/bench-strncat.c: New file.
29727         * benchtests/bench-strncmp-ifunc.c: New file.
29728         * benchtests/bench-strncmp.c: New file.
29729         * benchtests/bench-strncpy-ifunc.c: New file.
29730         * benchtests/bench-strncpy.c: New file.
29731         * benchtests/bench-strnlen-ifunc.c: New file.
29732         * benchtests/bench-strnlen.c: New file.
29733         * benchtests/bench-strpbrk-ifunc.c: New file.
29734         * benchtests/bench-strpbrk.c: New file.
29735         * benchtests/bench-strrchr-ifunc.c: New file.
29736         * benchtests/bench-strrchr.c: New file.
29737         * benchtests/bench-strspn-ifunc.c: New file.
29738         * benchtests/bench-strspn.c: New file.
29739         * benchtests/bench-strstr-ifunc.c: New file.
29740         * benchtests/bench-strstr.c: New file.
29742         * benchtests/Makefile: Disable parallel execution of targets.
29743         (string-bench): Add memcpy.
29744         (benchset): New variable to store a list of benchmark sets.
29745         (bench-func): Renamed from bench.
29746         (bench-set): New target.
29747         (bench): Depend on bench-func and bench-set.
29748         * benchtests/README: Add section on benchmark sets.
29749         * benchtests/bench-memcpy-ifunc.c: New file.
29750         * benchtests/bench-memcpy.c: New file.
29751         * benchtests/bench-string.h: New file.
29753 2013-06-11  Andreas Schwab  <schwab@suse.de>
29755         [BZ #15577]
29756         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29757         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29758         values in the triple.
29759         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29760         terminator in the group key.
29762 2013-06-11  Andreas Jaeger  <aj@suse.de>
29764         * po/zh_TW.po: Update Chinese (traditional) translation from
29765         translation project.
29767 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29769         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29770         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29771         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29773         (clock_getcpuclockid): Likewise.
29774         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29775         Add weak_alias and libc_hidden_def.
29776         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29777         * rt/clock_gettime.c (clock_gettime): Rename to
29778         __clock_gettime.  Add weak_alias and libc_hidden_def.
29779         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29780         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29781         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29782         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29783         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29784         Likewise.
29785         * rt/clock_settime.c (clock_settime): Rename to
29786         __clock_settime.  Add weak_alias and libc_hidden_def.
29787         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29789 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29791         * mach/err_boot.sub: Remove trailing whitespace.
29792         * mach/err_ipc.sub: Likewise.
29793         * mach/err_mach.sub: Likewise.
29795         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29796         (ROUNDING_TESTS_double): Likewise.
29797         (ROUNDING_TESTS_long_double): Likewise.
29798         (ROUNDING_TESTS): Likewise.
29799         * math/libm-test.inc: Include <math-tests.h>.
29800         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29801         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29802         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29803         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29805 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29807         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29808         of assigning.
29810 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29812         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29813         otherwise empty TRANS lines.
29814         * sysdeps/gnu/errlist.c: Regenerated.
29816         * catgets/gencat.c (error_print): Use (void) in function
29817         definition.
29818         * crypt/crypt_util.c (__init_des): Likewise.
29819         * crypt/speeds.c (Stop): Likewise.
29820         (main): Likewise.
29821         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29822         * inet/ruserpass.c (token): Likewise.
29823         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29824         * intl/localealias.c (extend_alias_table): Likewise.
29825         * intl/plural-exp.c (init_germanic_plural): Likewise.
29826         * libio/fcloseall.c (__fcloseall): Likewise.
29827         * libio/genops.c (_IO_flush_all): Likewise.
29828         (_IO_flush_all_linebuffered): Likewise.
29829         (_IO_cleanup): Likewise.
29830         (_IO_iter_begin): Likewise.
29831         (_IO_iter_end): Likewise.
29832         (_IO_list_lock): Likewise.
29833         (_IO_list_unlock): Likewise.
29834         (_IO_list_resetlock): Likewise.
29835         * libio/getchar.c (getchar): Likewise.
29836         * libio/getchar_u.c (getchar_unlocked): Likewise.
29837         * libio/getwchar.c (getwchar): Likewise.
29838         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29839         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29840         * login/getpt.c (__getpt): Likewise.
29841         * login/tst-utmp.c (main): Likewise.
29842         * malloc/hooks.c (__malloc_check_init): Likewise.
29843         * malloc/malloc.c (__malloc_stats): Likewise.
29844         * malloc/mtrace.c (tr_break): Likewise.
29845         (mtrace): Likewise.
29846         (muntrace): Likewise.
29847         * misc/fstab.c (endfsent): Likewise.
29848         * misc/getclktck.c (__getclktck): Likewise.
29849         * misc/getdtsz.c (__getdtablesize): Likewise.
29850         * misc/gethostid.c (gethostid): Likewise.
29851         * misc/getpagesize.c (__getpagesize): Likewise.
29852         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29853         (__get_nprocs): Likewise.
29854         (__get_phys_pages): Likewise.
29855         (__get_avphys_pages): Likewise.
29856         * misc/getttyent.c (getttyent): Likewise.
29857         (setttyent): Likewise.
29858         (endttyent): Likewise.
29859         * misc/getusershell.c (getusershell): Likewise.
29860         (endusershell): Likewise.
29861         (setusershell): Likewise.
29862         (initshells): Likewise.
29863         * misc/hsearch.c (__hdestroy): Likewise.
29864         * misc/sync.c (sync): Likewise.
29865         * misc/syslog.c (closelog_internal): Likewise.
29866         (closelog): Likewise.
29867         * misc/ttyslot.c (ttyslot): Likewise.
29868         * misc/vhangup.c (vhangup): Likewise.
29869         * posix/fork.c (__fork): Likewise.
29870         * posix/getegid.c (__getegid): Likewise.
29871         * posix/geteuid.c (__geteuid): Likewise.
29872         * posix/getgid.c (__getgid): Likewise.
29873         * posix/getpid.c (__getpid): Likewise.
29874         * posix/getppid.c (__getppid): Likewise.
29875         * posix/getuid.c (__getuid): Likewise.
29876         * posix/pause.c (pause): Likewise.
29877         * posix/setpgrp.c (setpgrp): Likewise.
29878         * posix/setsid.c (__setsid): Likewise.
29879         * posix/test-vfork.c (noop): Likewise.
29880         * resolv/gethnamaddr.c (_endhtent): Likewise.
29881         (_gethtent): Likewise.
29882         (ht_endhostent): Likewise.
29883         (gethostent): Likewise.
29884         (dns_service): Likewise.
29885         * stdlib/drand48.c (drand48): Likewise.
29886         * stdlib/lrand48.c (lrand48): Likewise.
29887         * stdlib/mrand48.c (mrand48): Likewise.
29888         * stdlib/rand.c (rand): Likewise.
29889         * stdlib/random.c (__random): Likewise.
29890         * stdlib/setenv.c (clearenv): Likewise.
29891         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29892         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29893         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29894         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29895         (__get_nprocs): Likewise.
29896         (__get_phys_pages): Likewise.
29897         (__get_avphys_pages): Likewise.
29898         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29899         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29900         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29901         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29902         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29903         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29904         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29905         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29906         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29907         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29908         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29909         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29910         * sysdeps/posix/clock.c (clock): Likewise.
29911         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29912         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29913         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29914         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29915         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29917         (__get_nprocs_conf): Likewise.
29918         (__get_phys_pages): Likewise.
29919         (__get_avphys_pages): Likewise.
29920         * time/clock.c (clock): Likewise.
29921         * time/tzset.c (__tzname_max): Likewise.
29923 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29925         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29926         (__bswap_32): Do not use "register".
29927         * crypt/crypt.c (_ufc_doit_r): Likewise.
29928         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29929         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29930         * gmon/gmon.c (__monstartup): Likewise.
29931         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29932         * hurd/hurdmalloc.c (more_memory): Likewise.
29933         (malloc): Likewise.
29934         (free): Likewise.
29935         (realloc): Likewise.
29936         (malloc_fork_prepare): Likewise.
29937         (malloc_fork_parent): Likewise.
29938         (malloc_fork_child): Likewise.
29939         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29940         (_svcauth_des): Likewise.
29941         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29942         * inet/inet_net.c (inet_network): Likewise.
29943         * inet/inet_netof.c (inet_netof): Likewise.
29944         * inet/rcmd.c (__validuser2_sa): Likewise.
29945         * io/fts.c (fts_open): Likewise.
29946         (fts_load): Likewise.
29947         (fts_close): Likewise.
29948         (fts_read): Likewise.
29949         (fts_children): Likewise.
29950         (fts_build): Likewise.
29951         (fts_stat): Likewise.
29952         (fts_sort): Likewise.
29953         (fts_alloc): Likewise.
29954         (fts_lfree): Likewise.
29955         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29956         (_IO_file_xsgetn): Likewise.
29957         (_IO_file_xsgetn_mmap): Likewise.
29958         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29959         (_IO_cookie_write): Likewise.
29960         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29961         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29962         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29963         * malloc/obstack.c (_obstack_begin): Likewise.
29964         (_obstack_begin_1): Likewise.
29965         (_obstack_newchunk): Likewise.
29966         (_obstack_allocated_p): Likewise.
29967         (obstack_free): Likewise.
29968         (_obstack_memory_used): Likewise.
29969         * misc/getttyent.c (getttynam): Likewise.
29970         (getttyent): Likewise.
29971         (skip): Likewise.
29972         (value): Likewise.
29973         * misc/getusershell.c (initshells): Likewise.
29974         * misc/syslog.c (__vsyslog_chk): Likewise.
29975         * misc/ttyslot.c (ttyslot): Likewise.
29976         * nis/nis_hash.c (__nis_hash): Likewise.
29977         * posix/fnmatch_loop.c (FCT): Likewise.
29978         * posix/getconf.c (print_all): Likewise.
29979         (main): Likewise.
29980         * posix/getopt.c (exchange): Likewise.
29981         * posix/glob.c (globfree): Likewise.
29982         (prefix_array): Likewise.
29983         (__glob_pattern_type): Likewise.
29984         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29985         (NS_GET32): Likewise.
29986         (NS_PUT16): Likewise.
29987         (NS_PUT32): Likewise.
29988         * resolv/gethnamaddr.c (getanswer): Likewise.
29989         (gethostbyname2): Likewise.
29990         (gethostbyaddr): Likewise.
29991         (_gethtent): Likewise.
29992         (_gethtbyname2): Likewise.
29993         (_gethtbyaddr): Likewise.
29994         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29995         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29996         * resolv/res_init.c (__res_vinit): Likewise.
29997         (net_mask): Likewise.
29998         * resolv/res_mkquery.c (outchar): Likewise.
29999         (PRINT): Likewise.
30000         * stdio-common/printf_fp.c (outchar): Likewise.
30001         (PRINT): Likewise.
30002         * stdio-common/printf_fphex.c (outchar): Likewise.
30003         (PRINT): Likewise.
30004         * stdio-common/printf_size.c (outchar): Likewise.
30005         (PRINT): Likewise.
30006         * stdio-common/test_rdwr.c (main): Likewise.
30007         * stdio-common/tfformat.c (matches): Likewise.
30008         * stdio-common/vfprintf.c (outchar): Likewise.
30009         (printf_unknown): Likewise.
30010         (buffered_vfprintf): Likewise.
30011         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30012         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30013         (ReadFile): Likewise.
30014         * stdlib/qsort.c (SWAP): Likewise.
30015         (_quicksort): Likewise.
30016         * stdlib/setenv.c (__add_to_environ): Likewise.
30017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30018         * stdlib/strtol_l.c (__strtol_l): Likewise.
30019         * stdlib/tst-strtod.c (main): Likewise.
30020         * stdlib/tst-strtol.c (main): Likewise.
30021         * stdlib/tst-strtoll.c (main): Likewise.
30022         * string/bits/string2.h (__strcmp_cc): Likewise.
30023         (__strcmp_cg): Likewise.
30024         (__strcspn_c1): Likewise.
30025         (__strcspn_c2): Likewise.
30026         (__strcspn_c3): Likewise.
30027         (__strspn_c1): Likewise.
30028         (__strspn_c2): Likewise.
30029         (__strspn_c3): Likewise.
30030         (__strsep_1c): Likewise.
30031         (__strsep_2c): Likewise.
30032         (__strsep_3c): Likewise.
30033         * string/memccpy.c (__memccpy): Likewise.
30034         * string/stpcpy.c (__stpcpy): Likewise.
30035         * string/strcmp.c (strcmp): Likewise.
30036         * string/strrchr.c (strrchr): Likewise.
30037         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30038         Likewise.
30039         * sysdeps/mach/hurd/getcwd.c
30040         (_hurd_canonicalize_directory_name_internal): Likewise.
30041         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30042         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30043         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30044         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30045         Likewise, in both definitions.
30046         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30047         definitions.
30048         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30049         64] (__bswap_64): Likewise.
30050         * time/test_time.c (main): Likewise.
30051         * time/tzfile.c (__tzfile_read): Likewise.
30052         (__tzfile_compute): Likewise.
30053         * time/tzset.c (__tzset_parse_tz): Likewise.
30054         (tzset_internal): Likewise.
30055         (compute_change): Likewise.
30056         * wcsmbs/wcscat.c (__wcscat): Likewise.
30057         * wcsmbs/wcschr.c (wcschr): Likewise.
30058         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30059         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30060         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30061         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30062         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30063         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30064         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30065         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30066         * wcsmbs/wmemset.c (wmemset): Likewise.
30068 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30070         * scripts/config.guess: Update to version 2013-05-16.
30071         * scripts/config.sub: Update to version 2013-04-24.
30072         * scripts/install-sh: Update to version 2011-11-20.07.
30073         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30074         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30076 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30078         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30079         * elf/sln.c: Likewise.
30080         * hurd/hurd/ioctl.h: Likewise.
30081         * hurd/hurdmalloc.c: Likewise.
30082         * hurd/xattr.c: Likewise.
30083         * include/shlib-compat.h: Likewise.
30084         * inet/ruserpass.c: Likewise.
30085         * libio/iofgets_u.c: Likewise.
30086         * libio/iofgetws_u.c: Likewise.
30087         * locale/programs/ld-identification.c: Likewise.
30088         * locale/programs/ld-time.c: Likewise.
30089         * mach/msg-destroy.c: Likewise.
30090         * nss/nss_files/files-netgrp.c: Likewise.
30091         * resolv/res_data.c: Likewise.
30092         * soft-fp/op-1.h: Likewise.
30093         * soft-fp/op-2.h: Likewise.
30094         * soft-fp/op-4.h: Likewise.
30095         * soft-fp/op-common.h: Likewise.
30096         * stdio-common/printf_fphex.c: Likewise.
30097         * stdlib/strtod_l.c: Likewise.
30098         * sunrpc/rpc/clnt.h: Likewise.
30099         * sysdeps/generic/framestate.c: Likewise.
30100         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30101         * sysdeps/i386/bsd-setjmp.S: Likewise.
30102         * sysdeps/i386/__longjmp.S: Likewise.
30103         * sysdeps/i386/setjmp.S: Likewise.
30104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30105         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30106         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30107         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30111         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30112         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30113         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30114         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30115         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30116         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30117         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30118         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30119         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30120         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30121         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30122         * sysdeps/ieee754/support.c: Likewise.
30123         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30124         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30125         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30126         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30127         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30128         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30129         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30130         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30131         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30132         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30133         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30134         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30135         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30136         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30137         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30138         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30139         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30142 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30144         * posix/transbug.c: Remove executable mode.
30146 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30148         * crypt/speeds.c: Remove trailing whitespace.
30149         * dlfcn/default.c: Likewise.
30150         * elf/ifuncdep2.c: Likewise.
30151         * elf/ifuncmain1.c: Likewise.
30152         * elf/ifuncmain1vis.c: Likewise.
30153         * elf/testobj.h: Likewise.
30154         * elf/tst-stackguard1.c: Likewise.
30155         * gmon/sys/gmon.h: Likewise.
30156         * hurd/hurdmsg.c: Likewise.
30157         * hurd/new-fd.c: Likewise.
30158         * hurd/ports-get.c: Likewise.
30159         * iconvdata/ibm1008_420.c: Likewise.
30160         * inet/tst-getni1.c: Likewise.
30161         * inet/tst-getni2.c: Likewise.
30162         * libio/ioungetc.c: Likewise.
30163         * libio/wfiledoalloc.c: Likewise.
30164         * manual/libm-err-tab.pl: Likewise.
30165         * math/w_dremf.c: Likewise.
30166         * misc/ftruncate.c: Likewise.
30167         * posix/bug-glob2.c: Likewise.
30168         * posix/tst-pcre.c: Likewise.
30169         * posix/wait4.c: Likewise.
30170         * resolv/README: Likewise.
30171         * resolv/res_debug.h: Likewise.
30172         * resolv/tst-inet_ntop.c: Likewise.
30173         * setjmp/bug269-setjmp.c: Likewise.
30174         * soft-fp/extended.h: Likewise.
30175         * soft-fp/op-1.h: Likewise.
30176         * soft-fp/op-2.h: Likewise.
30177         * soft-fp/op-4.h: Likewise.
30178         * soft-fp/op-8.h: Likewise.
30179         * soft-fp/testit.c: Likewise.
30180         * stdio-common/bug16.c: Likewise.
30181         * stdlib/random.c: Likewise.
30182         * sunrpc/rpcsvc/rquota.x: Likewise.
30183         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30184         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30186         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30187         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30188         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30189         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30190         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30191         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30192         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30193         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30194         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30195         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30196         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30197         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30198         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30199         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30200         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30201         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30202         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30203         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30204         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30205         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30206         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30207         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30208         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30211         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30212         * sysdeps/ieee754/s_lib_version.c: Likewise.
30213         * sysdeps/mach/hurd/check_fds.c: Likewise.
30214         * sysdeps/mach/hurd/getsockname.c: Likewise.
30215         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30216         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30217         * sysdeps/powerpc/bits/link.h: Likewise.
30218         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30219         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30220         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30221         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30222         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30223         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30224         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30225         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30226         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30227         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30228         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30229         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30230         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30232         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30233         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30234         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30235         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30237         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30238         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30239         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30240         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30241         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30242         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30243         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30244         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30245         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30246         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30247         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30248         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30249         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30250         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30252         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30253         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30254         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30255         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30256         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30257         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30258         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30259         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30260         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30261         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30262         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30263         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30264         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30265         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30266         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30267         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30268         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30270         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30271         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30272         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30273         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30274         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30275         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30276         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30277         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30278         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30279         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30280         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30281         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30282         * sysdeps/powerpc/sysdep.h: Likewise.
30283         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30284         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30285         * sysdeps/sh/dl-trampoline.S: Likewise.
30286         * sysdeps/sh/memset.S: Likewise.
30287         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30288         * sysdeps/sh/strlen.S: Likewise.
30289         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30290         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30291         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30292         * sysdeps/sparc/sparc32/rem.S: Likewise.
30293         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30294         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30295         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30296         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30297         * sysdeps/sparc/sparc32/urem.S: Likewise.
30298         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30299         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30300         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30301         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30302         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30303         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30304         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30305         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30306         * sysdeps/unix/bsd/times.c: Likewise.
30307         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30308         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30312         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30313         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30314         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30315         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30316         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30317         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30318         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30319         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30320         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30321         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30322         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30323         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30324         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30325         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30326         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30327         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30328         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30329         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30330         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30331         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30332         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30333         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30334         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30335         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30336         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30337         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30338         * sysdeps/x86_64/strcspn.S: Likewise.
30340 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30342         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30343         generated file.  Regenerate properly from gen-translit.pl.
30344         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30345         locale/C-translit.h.
30347 2013-06-05  Andreas Schwab  <schwab@suse.de>
30349         [BZ #15100]
30350         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30351         week as 6 instead of -1.
30352         * time/tst-strptime.c (day_tests): Add test case.
30354 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30356         * sysdeps/generic/math_private.h
30357         (libc_feholdexcept_setround_53bit): Replace with
30358         libc_feholdsetround_53bit.
30359         (libc_feupdateenv_53bit): Replace with
30360         libc_feresetround_53bit.
30361         (SET_RESTORE_ROUND_53BIT): Adjust.
30363 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30365         * string/test-strchrnul.c: Add copyright header.
30367         * posix/tst-getaddrinfo4.c: Increase test timeout.
30369 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30371         [BZ #15536]
30372         * math/libm-test.inc (MAX_EXP): Remove
30373         (MIN_EXP): Define.
30374         (ulp): Use MIN_EXP - MANT_DIG.
30375         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30377 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30379         * po/be.po: Revert last change.
30380         * po/zh_CN.po: Likewise.
30381         * po/header.pot: Likewise.
30383 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30385         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30386         link-libc-deps to empty as target-specific variable.
30387         * Makerules (link-libc-args): New variable.
30388         (libc-for-link): Likewise.
30389         (link-libc-deps): Likewise.
30390         (lib%.so): Depend on $(link-libc-deps).  Link with
30391         $(link-libc-args).
30392         (build-module): Link with $(link-libc-args).
30393         (build-module-asneeded): Likewise.
30394         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30395         list of objects.
30396         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30397         target-specific variable.
30398         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30399         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30400         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30401         libc.
30402         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30403         libc and ld.so.
30404         ($(objpfx)libpcprofile.so): Likewise.
30405         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30406         libc_nonshared.a.
30407         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30408         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30409         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30410         $(link-libc-deps).
30411         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30412         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30413         * login/Makefile ($(objpfx)libutil.so): Likewise.
30414         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30415         * math/Makefile ($(objpfx)libm.so): Likewise.
30416         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30417         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30418         variable instead of depending directly on libc.
30419         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30420         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30421         $(link-libc-deps).
30422         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30423         libc.
30424         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30425         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30426         ($(objpfx)libanl.so): Likewise.
30427         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30428         ld.so.
30429         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30430         $(link-libc-deps).
30431         * sysdeps/i386/fpu/Makefile: Remove file.
30432         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30433         ($(objpfx)libm.so): Remove dependency on ld.so.
30435 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30437         [BZ # 15553]
30438         * nis/yp_xdr.c (XDRMAXNAME): Define.
30439         (XDRMAXRECORD): Define.
30440         (xdr_domainname): Use XDRMAXNAME.
30441         (xdr_mapname): Likewise.
30442         (xdr_peername): Likewise.
30443         (xdr_keydat): Use XDRMAXRECORD.
30444         (xdr_valdat): Likewise.
30446 2013-05-30  Jeff Law  <law@redhat.com>
30448         [BZ #14256]
30449         * manual/errno.texi (ESTALE): Update to account for more than
30450         just NFS file systems.
30451         * sysdeps/gnu/errlist.c: Regenerated.
30453 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30455         [BZ #15465]
30456         * elf/Makefile (tests): Add tst-null-argv.
30457         (modules-names):  Add tst-null-argv-lib.
30458         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30459         (tst-null-argv-ENV): Set environment for tst-null-argv.
30460         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30461         (RTLD_PROGNAME): New macro.
30462         * elf/tst-null-argv.c: New test case.
30463         * elf/tst-null-argv-lib.c: Library for test case.
30464         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30465         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30466         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30467         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30468         * elf/dl-init.c (call_init): Likewise.
30469         (_dl_init): Likewise.
30470         * elf/dl-load.c (print_search_path): Likewise.
30471         (_dl_map_object): Likewise.
30472         * elf/dl-lookup.c (do_lookup_x): Likewise.
30473         (add_dependency): Likewise.
30474         (_dl_lookup_symbol_x): Likewise.
30475         (_dl_debug_bindings): Likewise.
30476         * elf/dl-open.c (_dl_show_scope): Likewise.
30477         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30478         * elf/dl-version.c (match_symbol): Likewise.
30479         (_dl_check_map_versions): Likewise.
30480         * elf/rtld.c (dl_main): Likewise.
30481         (print_unresolved): Use RTLD_PROGNAME.
30482         (print_missing_version): Likewise.
30483         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30484         (elf_machine_rela): Likewise.
30485         * sysdeps/powerpc/powerpc32/dl-machine.c
30486         (__process_machine_rela): Likewise.
30487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30488         Likewise.
30489         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30490         Likewise.
30491         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30492         Likewise.
30493         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30495         Likewise.
30496         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30497         Likewise.
30498         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30500 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30502         * po/be.po: Add descriptive title.
30503         * po/zh_CN.po: Likewise.
30504         * po/header.pot: Likewise.
30506 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30508         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30509         error message.
30510         (enlarge_archive): Likewise.
30512 2013-05-28  Ben North  <ben@redfrontdoor.org>
30514         * manual/arith.texi (frexp): It is the magnitude of the return
30515         value which lies in [0.5, 1), not the return value itself.
30517 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30521 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30523         * stdio-common/bug26.c (main): Correct fscanf template.
30525         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30526         declare _dl_skip_args.
30528         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30529         Don't declare.
30531         * manual/platform.texi: Add missing @end deftypefun.
30533 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30535         [BZ #15529]
30536         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30537         bit of mantissa of 2^16382.
30538         * math/libm-test.inc (hypot_test_data): Add more tests.
30540         * math/libm-test.inc: Add drem and pow10 to list of tested
30541         functions.
30542         (pow10_test): New function.
30543         (drem_test): Likewise.
30544         (drem_test_tonearest): Likewise.
30545         (drem_test_towardzero): Likewise.
30546         (drem_test_downward): Likewise.
30547         (drem_test_upward): Likewise.
30548         (main): Call the new functions.
30550         * math/libm-test.inc (finite_test_data): Remove.
30551         (finite_test): Run tests from isfinite_test_data.
30552         (gamma_test_data): Remove.
30553         (gamma_test): Run tests from lgamma_test_data.
30554         * sysdeps/i386/fpu/libm-test-ulps: Update.
30555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30557 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30559         * manual/platform.texi: Add PowerPC PPR function set documentation.
30560         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30561         implementation.
30563 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30565         * math/libm-test.inc (MAX_EXP): Define.
30566         (ULPDIFF): Define.
30567         (ulp): New function.
30568         (check_float_internal): Use ULPDIFF.
30569         (cpow_test): Disable failing test.
30570         (check_ulp): Test ulp() implemetnation.
30571         (main): Call check_ulp before starting tests.
30573 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30575         * math/gen-libm-test.pl (generate_testfile): Do not handle
30576         START_DATA and END_DATA.
30577         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30578         END_DATA.
30579         (acos_tonearest_test_data): Likewise.
30580         (acos_towardzero_test_data): Likewise.
30581         (acos_downward_test_data): Likewise.
30582         (acos_upward_test_data): Likewise.
30583         (acosh_test_data): Likewise.
30584         (asin_test_data): Likewise.
30585         (asin_tonearest_test_data): Likewise.
30586         (asin_towardzero_test_data): Likewise.
30587         (asin_downward_test_data): Likewise.
30588         (asin_upward_test_data): Likewise.
30589         (asinh_test_data): Likewise.
30590         (atan_test_data): Likewise.
30591         (atanh_test_data): Likewise.
30592         (atan2_test_data): Likewise.
30593         (cabs_test_data): Likewise.
30594         (cacos_test_data): Likewise.
30595         (cacosh_test_data): Likewise.
30596         (carg_test_data): Likewise.
30597         (casin_test_data): Likewise.
30598         (casinh_test_data): Likewise.
30599         (catan_test_data): Likewise.
30600         (catanh_test_data): Likewise.
30601         (cbrt_test_data): Likewise.
30602         (ccos_test_data): Likewise.
30603         (ccosh_test_data): Likewise.
30604         (ceil_test_data): Likewise.
30605         (cexp_test_data): Likewise.
30606         (cimag_test_data): Likewise.
30607         (clog_test_data): Likewise.
30608         (clog10_test_data): Likewise.
30609         (conj_test_data): Likewise.
30610         (copysign_test_data): Likewise.
30611         (cos_test_data): Likewise.
30612         (cos_tonearest_test_data): Likewise.
30613         (cos_towardzero_test_data): Likewise.
30614         (cos_downward_test_data): Likewise.
30615         (cos_upward_test_data): Likewise.
30616         (cosh_test_data): Likewise.
30617         (cosh_tonearest_test_data): Likewise.
30618         (cosh_towardzero_test_data): Likewise.
30619         (cosh_downward_test_data): Likewise.
30620         (cosh_upward_test_data): Likewise.
30621         (cpow_test_data): Likewise.
30622         (cproj_test_data): Likewise.
30623         (creal_test_data): Likewise.
30624         (csin_test_data): Likewise.
30625         (csinh_test_data): Likewise.
30626         (csqrt_test_data): Likewise.
30627         (ctan_test_data): Likewise.
30628         (ctan_tonearest_test_data): Likewise.
30629         (ctan_towardzero_test_data): Likewise.
30630         (ctan_downward_test_data): Likewise.
30631         (ctan_upward_test_data): Likewise.
30632         (ctanh_test_data): Likewise.
30633         (ctanh_tonearest_test_data): Likewise.
30634         (ctanh_towardzero_test_data): Likewise.
30635         (ctanh_downward_test_data): Likewise.
30636         (ctanh_upward_test_data): Likewise.
30637         (erf_test_data): Likewise.
30638         (erfc_test_data): Likewise.
30639         (exp_test_data): Likewise.
30640         (exp_tonearest_test_data): Likewise.
30641         (exp_towardzero_test_data): Likewise.
30642         (exp_downward_test_data): Likewise.
30643         (exp_upward_test_data): Likewise.
30644         (exp10_test_data): Likewise.
30645         (exp2_test_data): Likewise.
30646         (expm1_test_data): Likewise.
30647         (fabs_test_data): Likewise.
30648         (fdim_test_data): Likewise.
30649         (finite_test_data): Likewise.
30650         (floor_test_data): Likewise.
30651         (fma_test_data): Likewise.
30652         (fma_towardzero_test_data): Likewise.
30653         (fma_downward_test_data): Likewise.
30654         (fma_upward_test_data): Likewise.
30655         (fmax_test_data): Likewise.
30656         (fmin_test_data): Likewise.
30657         (fmod_test_data): Likewise.
30658         (fpclassify_test_data): Likewise.
30659         (frexp_test_data): Likewise.
30660         (gamma_test_data): Likewise.
30661         (hypot_test_data): Likewise.
30662         (ilogb_test_data): Likewise.
30663         (isfinite_test_data): Likewise.
30664         (isgreater_test_data): Likewise.
30665         (isgreaterequal_test_data): Likewise.
30666         (isinf_test_data): Likewise.
30667         (isless_test_data): Likewise.
30668         (islessequal_test_data): Likewise.
30669         (islessgreater_test_data): Likewise.
30670         (isnan_test_data): Likewise.
30671         (isnormal_test_data): Likewise.
30672         (issignaling_test_data): Likewise.
30673         (isunordered_test_data): Likewise.
30674         (j0_test_data): Likewise.
30675         (j1_test_data): Likewise.
30676         (jn_test_data): Likewise.
30677         (ldexp_test_data): Likewise.
30678         (lgamma_test_data): Likewise.
30679         (lrint_test_data): Likewise.
30680         (lrint_tonearest_test_data): Likewise.
30681         (lrint_towardzero_test_data): Likewise.
30682         (lrint_downward_test_data): Likewise.
30683         (lrint_upward_test_data): Likewise.
30684         (llrint_test_data): Likewise.
30685         (llrint_tonearest_test_data): Likewise.
30686         (llrint_towardzero_test_data): Likewise.
30687         (llrint_downward_test_data): Likewise.
30688         (llrint_upward_test_data): Likewise.
30689         (log_test_data): Likewise.
30690         (log10_test_data): Likewise.
30691         (log1p_test_data): Likewise.
30692         (log2_test_data): Likewise.
30693         (logb_test_data): Likewise.
30694         (logb_downward_test_data): Likewise.
30695         (lround_test_data): Likewise.
30696         (llround_test_data): Likewise.
30697         (modf_test_data): Likewise.
30698         (nearbyint_test_data): Likewise.
30699         (nextafter_test_data): Likewise.
30700         (nexttoward_test_data): Likewise.
30701         (pow_test_data): Likewise.
30702         (pow_tonearest_test_data): Likewise.
30703         (pow_towardzero_test_data): Likewise.
30704         (pow_downward_test_data): Likewise.
30705         (pow_upward_test_data): Likewise.
30706         (remainder_test_data): Likewise.
30707         (remainder_tonearest_test_data): Likewise.
30708         (remainder_towardzero_test_data): Likewise.
30709         (remainder_downward_test_data): Likewise.
30710         (remainder_upward_test_data): Likewise.
30711         (remquo_test_data): Likewise.
30712         (rint_test_data): Likewise.
30713         (rint_tonearest_test_data): Likewise.
30714         (rint_towardzero_test_data): Likewise.
30715         (rint_downward_test_data): Likewise.
30716         (rint_upward_test_data): Likewise.
30717         (round_test_data): Likewise.
30718         (scalb_test_data): Likewise.
30719         (scalbn_test_data): Likewise.
30720         (scalbln_test_data): Likewise.
30721         (signbit_test_data): Likewise.
30722         (sin_test_data): Likewise.
30723         (sin_tonearest_test_data): Likewise.
30724         (sin_towardzero_test_data): Likewise.
30725         (sin_downward_test_data): Likewise.
30726         (sin_upward_test_data): Likewise.
30727         (sincos_test_data): Likewise.
30728         (sinh_test_data): Likewise.
30729         (sinh_tonearest_test_data): Likewise.
30730         (sinh_towardzero_test_data): Likewise.
30731         (sinh_downward_test_data): Likewise.
30732         (sinh_upward_test_data): Likewise.
30733         (sqrt_test_data): Likewise.
30734         (tan_test_data): Likewise.
30735         (tan_tonearest_test_data): Likewise.
30736         (tan_towardzero_test_data): Likewise.
30737         (tan_downward_test_data): Likewise.
30738         (tan_upward_test_data): Likewise.
30739         (tanh_test_data): Likewise.
30740         (tgamma_test_data): Likewise.
30741         (trunc_test_data): Likewise.
30742         (y0_test_data): Likewise.
30743         (y1_test_data): Likewise.
30744         (yn_test_data): Likewise.
30745         (significand_test_data): Likewise.
30747         * math/gen-libm-test.pl (@functions): Remove variable.
30748         (generate_testfile): Don't handle START and END lines.
30749         * math/libm-test.inc (START): New macro.
30750         (END): Likewise.
30751         (END_COMPLEX): Likewise.
30752         (acos_test): Use END macro without arguments.
30753         (acos_test_tonearest): Likewise.
30754         (acos_test_towardzero): Likewise.
30755         (acos_test_downward): Likewise.
30756         (acos_test_upward): Likewise.
30757         (acosh_test): Likewise.
30758         (asin_test): Likewise.
30759         (asin_test_tonearest): Likewise.
30760         (asin_test_towardzero): Likewise.
30761         (asin_test_downward): Likewise.
30762         (asin_test_upward): Likewise.
30763         (asinh_test): Likewise.
30764         (atan_test): Likewise.
30765         (atanh_test): Likewise.
30766         (atan2_test): Likewise.
30767         (cabs_test): Likewise.
30768         (cacos_test): Use END_COMPLEX macro without arguments.
30769         (cacosh_test): Likewise.
30770         (carg_test): Use END macro without arguments.
30771         (casin_test): Use END_COMPLEX macro without arguments.
30772         (casinh_test): Likewise.
30773         (catan_test): Likewise.
30774         (catanh_test): Likewise.
30775         (cbrt_test): Use END macro without arguments.
30776         (ccos_test): Use END_COMPLEX macro without arguments.
30777         (ccosh_test): Likewise.
30778         (ceil_test): Use END macro without arguments.
30779         (cexp_test): Use END_COMPLEX macro without arguments.
30780         (cimag_test): Use END macro without arguments.
30781         (clog_test): Use END_COMPLEX macro without arguments.
30782         (clog10_test): Likewise.
30783         (conj_test): Likewise.
30784         (copysign_test): Use END macro without arguments.
30785         (cos_test): Likewise.
30786         (cos_test_tonearest): Likewise.
30787         (cos_test_towardzero): Likewise.
30788         (cos_test_downward): Likewise.
30789         (cos_test_upward): Likewise.
30790         (cosh_test): Likewise.
30791         (cosh_test_tonearest): Likewise.
30792         (cosh_test_towardzero): Likewise.
30793         (cosh_test_downward): Likewise.
30794         (cosh_test_upward): Likewise.
30795         (cpow_test): Use END_COMPLEX macro without arguments.
30796         (cproj_test): Likewise.
30797         (creal_test): Use END macro without arguments.
30798         (csin_test): Use END_COMPLEX macro without arguments.
30799         (csinh_test): Likewise.
30800         (csqrt_test): Likewise.
30801         (ctan_test): Likewise.
30802         (ctan_test_tonearest): Likewise.
30803         (ctan_test_towardzero): Likewise.
30804         (ctan_test_downward): Likewise.
30805         (ctan_test_upward): Likewise.
30806         (ctanh_test): Likewise.
30807         (ctanh_test_tonearest): Likewise.
30808         (ctanh_test_towardzero): Likewise.
30809         (ctanh_test_downward): Likewise.
30810         (ctanh_test_upward): Likewise.
30811         (erf_test): Use END macro without arguments.
30812         (erfc_test): Likewise.
30813         (exp_test): Likewise.
30814         (exp_test_tonearest): Likewise.
30815         (exp_test_towardzero): Likewise.
30816         (exp_test_downward): Likewise.
30817         (exp_test_upward): Likewise.
30818         (exp10_test): Likewise.
30819         (exp2_test): Likewise.
30820         (expm1_test): Likewise.
30821         (fabs_test): Likewise.
30822         (fdim_test): Likewise.
30823         (finite_test): Likewise.
30824         (floor_test): Likewise.
30825         (fma_test): Likewise.
30826         (fma_test_towardzero): Likewise.
30827         (fma_test_downward): Likewise.
30828         (fma_test_upward): Likewise.
30829         (fmax_test): Likewise.
30830         (fmin_test): Likewise.
30831         (fmod_test): Likewise.
30832         (fpclassify_test): Likewise.
30833         (frexp_test): Likewise.
30834         (gamma_test): Likewise.
30835         (hypot_test): Likewise.
30836         (ilogb_test): Likewise.
30837         (isfinite_test): Likewise.
30838         (isgreater_test): Likewise.
30839         (isgreaterequal_test): Likewise.
30840         (isinf_test): Likewise.
30841         (isless_test): Likewise.
30842         (islessequal_test): Likewise.
30843         (islessgreater_test): Likewise.
30844         (isnan_test): Likewise.
30845         (isnormal_test): Likewise.
30846         (issignaling_test): Likewise.
30847         (isunordered_test): Likewise.
30848         (j0_test): Likewise.
30849         (j1_test): Likewise.
30850         (jn_test): Likewise.
30851         (ldexp_test): Likewise.
30852         (lgamma_test): Likewise.
30853         (lrint_test): Likewise.
30854         (lrint_test_tonearest): Likewise.
30855         (lrint_test_towardzero): Likewise.
30856         (lrint_test_downward): Likewise.
30857         (lrint_test_upward): Likewise.
30858         (llrint_test): Likewise.
30859         (llrint_test_tonearest): Likewise.
30860         (llrint_test_towardzero): Likewise.
30861         (llrint_test_downward): Likewise.
30862         (llrint_test_upward): Likewise.
30863         (log_test): Likewise.
30864         (log10_test): Likewise.
30865         (log1p_test): Likewise.
30866         (log2_test): Likewise.
30867         (logb_test): Likewise.
30868         (logb_test_downward): Likewise.
30869         (lround_test): Likewise.
30870         (llround_test): Likewise.
30871         (modf_test): Likewise.
30872         (nearbyint_test): Likewise.
30873         (nextafter_test): Likewise.
30874         (nexttoward_test): Likewise.
30875         (pow_test): Likewise.
30876         (pow_test_tonearest): Likewise.
30877         (pow_test_towardzero): Likewise.
30878         (pow_test_downward): Likewise.
30879         (pow_test_upward): Likewise.
30880         (remainder_test): Likewise.
30881         (remainder_test_tonearest): Likewise.
30882         (remainder_test_towardzero): Likewise.
30883         (remainder_test_downward): Likewise.
30884         (remainder_test_upward): Likewise.
30885         (remquo_test): Likewise.
30886         (rint_test): Likewise.
30887         (rint_test_tonearest): Likewise.
30888         (rint_test_towardzero): Likewise.
30889         (rint_test_downward): Likewise.
30890         (rint_test_upward): Likewise.
30891         (round_test): Likewise.
30892         (scalb_test): Likewise.
30893         (scalbn_test): Likewise.
30894         (scalbln_test): Likewise.
30895         (signbit_test): Likewise.
30896         (sin_test): Likewise.
30897         (sin_test_tonearest): Likewise.
30898         (sin_test_towardzero): Likewise.
30899         (sin_test_downward): Likewise.
30900         (sin_test_upward): Likewise.
30901         (sincos_test): Likewise.
30902         (sinh_test): Likewise.
30903         (sinh_test_tonearest): Likewise.
30904         (sinh_test_towardzero): Likewise.
30905         (sinh_test_downward): Likewise.
30906         (sinh_test_upward): Likewise.
30907         (sqrt_test): Likewise.
30908         (tan_test): Likewise.
30909         (tan_test_tonearest): Likewise.
30910         (tan_test_towardzero): Likewise.
30911         (tan_test_downward): Likewise.
30912         (tan_test_upward): Likewise.
30913         (tanh_test): Likewise.
30914         (tgamma_test): Likewise.
30915         (trunc_test): Likewise.
30916         (y0_test): Likewise.
30917         (y1_test): Likewise.
30918         (yn_test): Likewise.
30919         (significand_test): Likewise.
30921 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30923         [BZ #15381]
30924         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30926 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30928         [BZ #14894]
30929         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30930         __ppc_mdoio and __ppc_mdoom.
30931         * manual/platform.texi: Document new functions __ppc_yield,
30932         __ppc_mdoio and __ppc_mdoom.
30934 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30936         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30937         (main): Mention "tls" pseudo-hwcap is legacy.
30938         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30940 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30942         * math/gen-libm-test.pl (parse_args): Output only string of
30943         arguments as text for test name, not full call or descriptions of
30944         tests for extra outputs.
30945         (generate_testfile): Do not pass function name to parse_args.
30946         Generate this_func variable from START.
30947         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30948         field to arg_str.
30949         (struct test_ff_f_data): Likewise.
30950         (test_ff_f_data_nexttoward): Likewise.
30951         (struct test_fi_f_data): Likewise.
30952         (struct test_fl_f_data): Likewise.
30953         (struct test_if_f_data): Likewise.
30954         (struct test_fff_f_data): Likewise.
30955         (struct test_c_f_data): Likewise.
30956         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30957         (struct test_fF_f1_data): Likewise.
30958         (struct test_ffI_f1_data): Likewise.
30959         (struct test_c_c_data): Rename test_name field to arg_str.
30960         (struct test_cc_c_data): Likewise.
30961         (struct test_f_i_data): Likewise.
30962         (struct test_ff_i_data): Likewise.
30963         (struct test_f_l_data): Likewise.
30964         (struct test_f_L_data): Likewise.
30965         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30966         and extra2_name.
30967         (COMMON_TEST_SETUP): New macro.
30968         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30969         (COMMON_TEST_CLEANUP): Likewise.
30970         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30971         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30972         macros.
30973         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30974         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30975         macros.
30976         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30977         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30978         cleanup macros.
30979         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30980         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30981         macros.
30982         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30983         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30984         macros.
30985         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30986         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30987         cleanup macros.
30988         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30989         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30990         cleanup macros.
30991         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30992         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30993         cleanup macros.
30994         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30995         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30996         macros.
30997         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30998         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30999         macros.
31000         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
31001         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
31002         macros.
31003         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
31004         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
31005         cleanup macros.
31006         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
31007         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
31008         cleanup macros.
31009         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
31010         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
31011         macros.
31012         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31013         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31014         cleanup macros.
31015         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31016         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31017         macros.
31018         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31019         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31020         macros.
31021         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31022         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31023         cleanup macros.
31024         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31026 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31028         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31029         to _sifields.sigfault.
31030         (si_addr_lsb): Define new macro.
31031         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31033         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31035 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31037         [BZ #15441]
31038         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31039         returns -1.
31040         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31041         null return -1.
31042         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31043         loading the domain.
31045 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31047         * math/gen-libm-test.pl (parse_args): Do not include expected
31048         result in test name.
31049         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31050         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31051         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31052         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31053         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31056 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31058         * benchtests/Makefile: Sort function entries.
31060         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31061         tanh, asinh, acosh, atanh.
31062         * benchtests/acos-inputs: New file.
31063         * benchtests/acosh-inputs: New file.
31064         * benchtests/asin-inputs: New file.
31065         * benchtests/asinh-inputs: New file.
31066         * benchtests/atanh-inputs: New file.
31067         * benchtests/cosh-inputs: New file.
31068         * benchtests/log-inputs: New file.
31069         * benchtests/sinh-inputs: New file.
31070         * benchtests/tanh-inputs: New file.
31072 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31074         [BZ #15339]
31075         * posix/tst-getaddrinfo4.c: New test.
31076         * posix/Makefile (tests): Add it.
31078 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31080         [BZ #15339]
31081         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31082         when no services were used.
31083         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31084         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31086 2013-05-21  Andreas Schwab  <schwab@suse.de>
31088         [BZ #15014]
31089         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31090         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31091         successful.
31092         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31093         redundant variable declarations and reallocation of buffer when
31094         parsing as IPv6 address.  Always set NSS status when called from
31095         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31096         buffer too small.  Correct computation of needed size.
31097         * nss/Makefile (tests): Add test-digits-dots.
31098         * nss/test-digits-dots.c: New test.
31100 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31102         * benchtests/Makefile: Remove instructions for adding
31103         benchmark tests.
31104         * benchtests/README: New file to explain how to execute and
31105         enhance the benchmark tests.
31107 2013-05-21  Andreas Schwab  <schwab@suse.de>
31109         [BZ #15493]
31110         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31111         * setjmp/tst-sigsetjmp.c: New test.
31113 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31115         * sysdeps/x86_64/memset.S (memset): New implementation.
31116         (__bzero): Likewise.
31117         (__memset_tail): New function.
31119 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31121         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31122         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31123         __memcpy_sse2_unaligned ifunc selection.
31124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31125         Add memcpy-sse2-unaligned.S.
31126         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31127         Add: __memcpy_sse2_unaligned.
31129 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31131         [BZ #15490]
31132         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31133         math_force_eval before restoring floating-point envrionment.
31134         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31135         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31136         Likewise.
31137         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31138         <math_private.h>.
31139         (__nearbyintl): Use math_force_eval before restoring
31140         floating-point environment.
31141         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31143         * math/gen-libm-test.pl (special_functions): Remove.
31144         (parse_args): Don't handle TEST_extra.  Handle functions with no
31145         return value.
31146         * math/libm-test.inc (struct test_sincos_data): Replace with
31147         struct test_fFF_11_data.
31148         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31149         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31150         (sincos_test_data): Change element type to struct
31151         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31152         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31153         RUN_TEST_LOOP_sincos.
31154         * math/README.libm-test: Don't mention special handling of
31155         individual functions.
31156         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31158         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31159         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31160         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31163         * math/gen-libm-test.pl (get_variable): Remove function.
31164         (parse_args): Don't show pointer parameters to call in test
31165         names.  Use "extra output N" in test names for extra outputs
31166         rather than naming variables.
31168 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31170         [BZ #15488]
31171         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31172         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31173         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31174         double tests.
31175         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31176         disable.
31177         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31178         check_long_double.
31180         * math/gen-libm-test.pl (@tests): Remove variable.
31181         ($count): Likewise.
31182         (new_test): Remove function.
31183         (show_exceptions): New function.
31184         (special_functions): Use show_exceptions instead of new_test.
31185         (parse_args): Likewise.
31186         (generate_testfile): Pass only function name in generated call to
31187         print_max_error or print_complex_max_error.
31188         (get_ulps): Do not handle complex tests specially.
31189         (output_test): Rename to ...
31190         (get_all_ulps_for_test): ... this.  Return a string rather than
31191         printing to a file.  Require ulps to be present.
31192         (output_ulps): Generate arrays rather than #defines.
31193         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31194         (struct ulp_data): New type.
31195         (BUILD_COMPLEX_ULP): Remove macro.
31196         (compare_ulp_data): New function.
31197         (find_ulps): Likewise.
31198         (find_test_ulps): Likewise.
31199         (find_function_ulps): Likewise.
31200         (find_complex_function_ulps): Likewise.
31201         (print_max_error): Determine allowed ulps using
31202         find_function_ulps.
31203         (print_complex_max_error): Determine allowed ulps using
31204         find_complex_function_ulps.
31205         (check_float_internal): Determine max ulps using find_test_ulps.
31206         (check_float): Do not take max_ulp parameter.  Update call to
31207         check_float_internal.
31208         (check_complex): Likewise.
31209         (check_int): Do not take max_ulp parameter.
31210         (check_long): Likewise.
31211         (check_bool): Likewise.
31212         (check_longlong): Likewise.
31213         (struct test_f_f_data): Remove max_ulp field.
31214         (struct test_ff_f_data): Likewise.
31215         (struct test_ff_f_data_nexttoward): Likewise.
31216         (struct test_fi_f_data): Likewise.
31217         (struct test_fl_f_data): Likewise.
31218         (struct test_if_f_data): Likewise.
31219         (struct test_fff_f_data): Likewise.
31220         (struct test_c_f_data): Likewise.
31221         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31222         (struct test_fF_f1_data): Likewise.
31223         (struct test_ffI_f1_data): Likewise.
31224         (struct test_c_c_data): Remove max_ulp field.
31225         (struct test_cc_c_data): Likewise.
31226         (struct test_f_i_data): Likewise.
31227         (struct test_ff_i_data): Likewise.
31228         (struct test_f_l_data): Likewise.
31229         (struct test_f_L_data): Likewise.
31230         (struct test_sincos_data): Likewise.
31231         (RUN_TEST_f_f): Do not handle ulps.
31232         (RUN_TEST_LOOP_f_f): Likewise.
31233         (RUN_TEST_2_f): Likewise.
31234         (RUN_TEST_LOOP_2_f): Likewise.
31235         (RUN_TEST_fff_f): Likewise.
31236         (RUN_TEST_LOOP_fff_f): Likewise.
31237         (RUN_TEST_c_f): Likewise.
31238         (RUN_TEST_LOOP_c_f): Likewise.
31239         (RUN_TEST_f_f1): Likewise.
31240         (RUN_TEST_LOOP_f_f1): Likewise.
31241         (RUN_TEST_fF_f1): Likewise.
31242         (RUN_TEST_LOOP_fF_f1): Likewise.
31243         (RUN_TEST_fI_f1): Likewise.
31244         (RUN_TEST_LOOP_fI_f1): Likewise.
31245         (RUN_TEST_ffI_f1): Likewise.
31246         (RUN_TEST_LOOP_ffI_f1): Likewise.
31247         (RUN_TEST_c_c): Likewise.
31248         (RUN_TEST_LOOP_c_c): Likewise.
31249         (RUN_TEST_cc_c): Likewise.
31250         (RUN_TEST_LOOP_cc_c): Likewise.
31251         (RUN_TEST_f_i): Likewise.
31252         (RUN_TEST_LOOP_f_i): Likewise.
31253         (RUN_TEST_f_i_tg): Likewise.
31254         (RUN_TEST_LOOP_f_i_tg): Likewise.
31255         (RUN_TEST_ff_i_tg): Likewise.
31256         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31257         (RUN_TEST_f_b): Likewise.
31258         (RUN_TEST_LOOP_f_b): Likewise.
31259         (RUN_TEST_f_b_tg): Likewise.
31260         (RUN_TEST_LOOP_f_b_tg): Likewise.
31261         (RUN_TEST_f_l): Likewise.
31262         (RUN_TEST_LOOP_f_l): Likewise.
31263         (RUN_TEST_f_L): Likewise.
31264         (RUN_TEST_LOOP_f_L): Likewise.
31265         (RUN_TEST_sincos): Likewise.
31266         (RUN_TEST_LOOP_sincos): Likewise.
31268 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31270         [BZ #15480]
31271         [BZ #15485]
31272         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31273         main case of finite arguments, set rounding mode to FE_TONEAREST
31274         and discard exceptions.
31275         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31276         exceptions.
31277         (remainder_tonearest_test_data): New variable.
31278         (remainder_test_tonearest): New function.
31279         (remainder_towardzero_test_data): New variable.
31280         (remainder_test_towardzero): New function.
31281         (remainder_downward_test_data): New variable.
31282         (remainder_test_downward): New function.
31283         (remainder_upward_test_data): New variable.
31284         (remainder_test_upward): New function.
31285         (main): Call the new test functions.
31287         * math/libm-test.inc (struct test_f_f1_data): Remove field
31288         extra_init.
31289         (struct test_fF_f1_data): Likewise.
31290         (struct test_ffI_f1_data): Likewise.
31291         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31292         based on value of EXTRA_EXPECTED.
31293         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31294         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31295         EXTRA_VAR based on value of EXTRA_EXPECTED.
31296         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31297         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31298         EXTRA_VAR based on value of EXTRA_EXPECTED.
31299         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31300         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31301         EXTRA_VAR based on value of EXTRA_EXPECTED.
31302         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31303         * math/gen-libm-test.pl (parse_args): Don't output initializers
31304         for extra output values.
31306         * math/libm-test.inc (check_int): Expect result to be exactly
31307         equal to expected value and do not handle ulps.
31308         (check_long): Likewise.
31309         (check_longlong): Likewise.
31311         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31312         exceptions.
31313         (cimag_test_data): Likewise.
31314         (conj_test_data): Likewise.
31315         (copysign_test_data): Likewise.
31316         (cproj_test_data): Likewise.
31317         (creal_test_data): Likewise.
31318         (fabs_test_data): Likewise.
31319         (fdim_test_data): Likewise.
31320         (finite_test_data): Likewise.
31321         (floor_test_data): Likewise.
31322         (fmax_test_data): Likewise.
31323         (fmin_test_data): Likewise.
31324         (fmod_test_data): Likewise.
31325         (fpclassify_test_data): Likewise.
31326         (frexp_test_data): Likewise.
31327         (ilogb_test_data): Likewise.
31328         (isfinite_test_data): Likewise.
31329         (isgreater_test_data): Likewise.
31330         (isgreaterequal_test_data): Likewise.
31331         (isinf_test_data): Likewise.
31332         (isless_test_data): Likewise.
31333         (islessequal_test_data): Likewise.
31334         (islessgreater_test_data): Likewise.
31335         (isnan_test_data): Likewise.
31336         (isnormal_test_data): Likewise.
31337         (issignaling_test_data): Likewise.
31338         (isunordered_test_data): Likewise.
31339         (ldexp_test_data): Likewise.
31340         (lrint_test_data): Likewise.
31341         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31342         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31343         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31344         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31345         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31346         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31347         test input.
31348         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31349         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31350         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31351         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31352         that test input.
31353         (lrint_downward_test_data): Test for "inexact" exceptions.
31354         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31355         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31356         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31357         test input.
31358         (lrint_upward_test_data): Test for "inexact" exceptions.
31359         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31360         test input.
31361         (llrint_test_data): Test for "inexact" exceptions.
31362         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31363         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31364         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31365         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31366         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31367         (llrint_downward_test_data): Test for "inexact" exceptions.
31368         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31369         (llrint_upward_test_data): Test for "inexact" exceptions.
31370         (logb_test_data): Likewise.
31371         (logb_downward_test_data): Likewise.
31372         (nextafter_test_data): Likewise.
31373         (nexttoward_test_data): Likewise.
31374         (remainder_test_data): Likewise.
31375         (remquo_test_data): Likewise.
31376         (scalbn_test_data): Likewise.
31377         (scalbln_test_data): Likewise.
31378         (signbit_test_data): Likewise.
31379         (sqrt_test_data): Likewise.
31380         (significand_test_data): Likewise.
31382 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31384         [BZ #15424]
31385         * benchtests/bench-modf.c (struct args): Mark arg0 as
31386         volatile.
31387         * scripts/bench.pl: Mark members of struct args as volatile.
31389 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31391         [BZ # 15497]
31392         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31393         negative infinity on POWER6 or lower.
31394         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31396 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31398         [BZ #15442]
31399         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31400         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31401         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31402         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31403         (_FP_SETQNAN): New macro.
31404         (_FP_SETQNAN_SEMIRAW): Likewise.
31405         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31406         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31407         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31408         (FP_EXTEND): Use _FP_FRAC_SNANP.
31409         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31410         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31411         into account.
31412         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31413         New macro.
31414         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31415         Likewise.
31417 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31419         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31420         with DIVIDE_BY_ZERO_EXCEPTION.
31421         (gamma_test_data): Likewise.
31422         (lgamma_test_data): Likewise.
31423         (log_test_data): Likewise.
31424         (log10_test_data): Likewise.
31425         (log2_test_data): Likewise.
31426         (tgamma_test_data): Likewise.
31428         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31429         (acos_test_tonearest): Likewise.
31430         (acos_test_towardzero): Likewise.
31431         (acos_test_downward): Likewise.
31432         (acos_test_upward): Likewise.
31433         (acosh_test): Likewise.
31434         (asin_test): Likewise.
31435         (asin_test_tonearest): Likewise.
31436         (asin_test_towardzero): Likewise.
31437         (asin_test_downward): Likewise.
31438         (asin_test_upward): Likewise.
31439         (asinh_test): Likewise.
31440         (atan_test): Likewise.
31441         (atanh_test): Likewise.
31442         (atan2_test): Likewise.
31443         (cabs_test): Likewise.
31444         (cacos_test): Likewise.
31445         (cacosh_test): Likewise.
31446         (casin_test): Likewise.
31447         (casinh_test): Likewise.
31448         (catan_test): Likewise.
31449         (catanh_test): Likewise.
31450         (cbrt_test): Likewise.
31451         (ccos_test): Likewise.
31452         (ccosh_test): Likewise.
31453         (cexp_test): Likewise.
31454         (clog_test): Likewise.
31455         (clog10_test): Likewise.
31456         (cos_test): Likewise.
31457         (cos_test_tonearest): Likewise.
31458         (cos_test_towardzero): Likewise.
31459         (cos_test_downward): Likewise.
31460         (cos_test_upward): Likewise.
31461         (cosh_test): Likewise.
31462         (cosh_test_tonearest): Likewise.
31463         (cosh_test_towardzero): Likewise.
31464         (cosh_test_downward): Likewise.
31465         (cosh_test_upward): Likewise.
31466         (cpow_test): Likewise.
31467         (csin_test): Likewise.
31468         (csinh_test): Likewise.
31469         (csqrt_test): Likewise.
31470         (ctan_test): Likewise.
31471         (ctan_test_tonearest): Likewise.
31472         (ctan_test_towardzero): Likewise.
31473         (ctan_test_downward): Likewise.
31474         (ctan_test_upward): Likewise.
31475         (ctanh_test): Likewise.
31476         (ctanh_test_tonearest): Likewise.
31477         (ctanh_test_towardzero): Likewise.
31478         (ctanh_test_downward): Likewise.
31479         (ctanh_test_upward): Likewise.
31480         (erf_test): Likewise.
31481         (erfc_test): Likewise.
31482         (exp_test): Likewise.
31483         (exp_test_tonearest): Likewise.
31484         (exp_test_towardzero): Likewise.
31485         (exp_test_downward): Likewise.
31486         (exp_test_upward): Likewise.
31487         (exp10_test): Likewise.
31488         (exp2_test): Likewise.
31489         (expm1_test): Likewise.
31490         (fmod_test): Likewise.
31491         (gamma_test): Likewise.
31492         (hypot_test): Likewise.
31493         (j0_test): Likewise.
31494         (j1_test): Likewise.
31495         (jn_test): Likewise.
31496         (lgamma_test): Likewise.
31497         (log_test): Likewise.
31498         (log10_test): Likewise.
31499         (log1p_test): Likewise.
31500         (log2_test): Likewise.
31501         (logb_test_downward): Likewise.
31502         (pow_test): Likewise.
31503         (pow_test_tonearest): Likewise.
31504         (pow_test_towardzero): Likewise.
31505         (pow_test_downward): Likewise.
31506         (pow_test_upward): Likewise.
31507         (remainder_test): Likewise.
31508         (remquo_test): Likewise.
31509         (sin_test): Likewise.
31510         (sin_test_tonearest): Likewise.
31511         (sin_test_towardzero): Likewise.
31512         (sin_test_downward): Likewise.
31513         (sin_test_upward): Likewise.
31514         (sincos_test): Likewise.
31515         (sinh_test): Likewise.
31516         (sinh_test_tonearest): Likewise.
31517         (sinh_test_towardzero): Likewise.
31518         (sinh_test_downward): Likewise.
31519         (sinh_test_upward): Likewise.
31520         (sqrt_test): Likewise.
31521         (tan_test): Likewise.
31522         (tan_test_tonearest): Likewise.
31523         (tan_test_towardzero): Likewise.
31524         (tan_test_downward): Likewise.
31525         (tan_test_upward): Likewise.
31526         (tanh_test): Likewise.
31527         (tgamma_test): Likewise.
31528         (y0_test): Likewise.
31529         (y1_test): Likewise.
31530         (yn_test): Likewise.
31532         * math/gen-libm-test.pl (adjust_arg): Remove function.
31533         (special_function): Remove argument $in_func.  Only handle
31534         generating output for tables of tests, not inside functions.
31535         (parse_args): Likewise.
31536         (generate_testfile): Remove variable $in_func.  Update call to
31537         parse_args.
31538         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31539         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31540         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31541         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31542         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31543         (MAX_VALUE_INIT): Rename macro to max_value.
31544         (MIN_VALUE_INIT): Rename macro to min_value.
31545         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31546         (plus_zero): Remove variable.
31547         (minus_zero): Likewise.
31548         (plus_infty): Likewise.
31549         (minus_infty): Likewise.
31550         (qnan_value): Likewise.
31551         (max_value): Likewise.
31552         (min_value): Likewise.
31553         (min_subnorm_value): Likewise.
31555 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31557         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31558         uint64_t or uint32_t usage.
31559         * crypt/sha256-block.c: Likewise.
31560         * crypt/sha256-crypt.c: Likewise.
31561         * crypt/sha256.c: Likewise.
31562         * crypt/sha512-block.c: Likewise.
31563         * crypt/sha512-crypt.c: Likewise.
31564         * crypt/sha512.c: Likewise.
31565         * debug/backtrace-tst.c: Likewise.
31566         * debug/pcprofiledump.c: Likewise.
31567         * elf/cache.c: Likewise.
31568         * elf/dl-cache.c: Likewise.
31569         * elf/dl-misc.c: Likewise.
31570         * elf/dl-profile.c: Likewise.
31571         * elf/dl-support.c: Likewise.
31572         * elf/ldconfig.c: Likewise.
31573         * elf/sprof.c: Likewise.
31574         * iconv/dummy-repertoire.c: Likewise.
31575         * iconv/iconv_charmap.c: Likewise.
31576         * iconv/skeleton.c: Likewise.
31577         * iconvdata/8bit-generic.c: Likewise.
31578         * iconvdata/cp737.h: Likewise.
31579         * iconvdata/cp775.h: Likewise.
31580         * iconvdata/ibm1008.h: Likewise.
31581         * iconvdata/ibm1025.h: Likewise.
31582         * iconvdata/ibm1046.h: Likewise.
31583         * iconvdata/ibm1097.h: Likewise.
31584         * iconvdata/ibm1112.h: Likewise.
31585         * iconvdata/ibm1122.h: Likewise.
31586         * iconvdata/ibm1123.h: Likewise.
31587         * iconvdata/ibm1124.h: Likewise.
31588         * iconvdata/ibm1129.h: Likewise.
31589         * iconvdata/ibm1130.h: Likewise.
31590         * iconvdata/ibm1132.h: Likewise.
31591         * iconvdata/ibm1133.h: Likewise.
31592         * iconvdata/ibm1137.h: Likewise.
31593         * iconvdata/ibm1140.h: Likewise.
31594         * iconvdata/ibm1141.h: Likewise.
31595         * iconvdata/ibm1142.h: Likewise.
31596         * iconvdata/ibm1143.h: Likewise.
31597         * iconvdata/ibm1144.h: Likewise.
31598         * iconvdata/ibm1145.h: Likewise.
31599         * iconvdata/ibm1146.h: Likewise.
31600         * iconvdata/ibm1147.h: Likewise.
31601         * iconvdata/ibm1148.h: Likewise.
31602         * iconvdata/ibm1149.h: Likewise.
31603         * iconvdata/ibm1153.h: Likewise.
31604         * iconvdata/ibm1154.h: Likewise.
31605         * iconvdata/ibm1155.h: Likewise.
31606         * iconvdata/ibm1156.h: Likewise.
31607         * iconvdata/ibm1157.h: Likewise.
31608         * iconvdata/ibm1158.h: Likewise.
31609         * iconvdata/ibm1160.h: Likewise.
31610         * iconvdata/ibm1161.h: Likewise.
31611         * iconvdata/ibm1162.h: Likewise.
31612         * iconvdata/ibm1163.h: Likewise.
31613         * iconvdata/ibm1164.h: Likewise.
31614         * iconvdata/ibm1166.h: Likewise.
31615         * iconvdata/ibm1167.h: Likewise.
31616         * iconvdata/ibm12712.h: Likewise.
31617         * iconvdata/ibm1390.h: Likewise.
31618         * iconvdata/ibm1399.h: Likewise.
31619         * iconvdata/ibm16804.h: Likewise.
31620         * iconvdata/ibm4517.h: Likewise.
31621         * iconvdata/ibm4899.h: Likewise.
31622         * iconvdata/ibm4909.h: Likewise.
31623         * iconvdata/ibm4971.h: Likewise.
31624         * iconvdata/ibm5347.h: Likewise.
31625         * iconvdata/ibm803.h: Likewise.
31626         * iconvdata/ibm856.h: Likewise.
31627         * iconvdata/ibm901.h: Likewise.
31628         * iconvdata/ibm902.h: Likewise.
31629         * iconvdata/ibm9030.h: Likewise.
31630         * iconvdata/ibm9066.h: Likewise.
31631         * iconvdata/ibm921.h: Likewise.
31632         * iconvdata/ibm922.h: Likewise.
31633         * iconvdata/ibm9448.h: Likewise.
31634         * iconvdata/isiri-3342.h: Likewise.
31635         * iconvdata/jis0201.h: Likewise.
31636         * include/link.h: Likewise.
31637         * include/netdb.h: Likewise.
31638         * inet/check_native.c: Likewise.
31639         * inet/check_pf.c: Likewise.
31640         * inet/getipv4sourcefilter.c: Likewise.
31641         * inet/getnameinfo.c: Likewise.
31642         * inet/getsourcefilter.c: Likewise.
31643         * inet/htonl.c: Likewise.
31644         * inet/setipv4sourcefilter.c: Likewise.
31645         * inet/setsourcefilter.c: Likewise.
31646         * inet/test-inet6_opt.c: Likewise.
31647         * inet/tst-network.c: Likewise.
31648         * locale/C-collate.c: Likewise.
31649         * locale/C-ctype.c: Likewise.
31650         * locale/C-time.c: Likewise.
31651         * locale/C-translit.h: Likewise.
31652         * locale/loadarchive.c: Likewise.
31653         * locale/programs/3level.h: Likewise.
31654         * locale/programs/charmap.c: Likewise.
31655         * locale/programs/charmap.h: Likewise.
31656         * locale/programs/ld-address.c: Likewise.
31657         * locale/programs/ld-collate.c: Likewise.
31658         * locale/programs/ld-ctype.c: Likewise.
31659         * locale/programs/ld-identification.c: Likewise.
31660         * locale/programs/ld-measurement.c: Likewise.
31661         * locale/programs/ld-messages.c: Likewise.
31662         * locale/programs/ld-monetary.c: Likewise.
31663         * locale/programs/ld-name.c: Likewise.
31664         * locale/programs/ld-numeric.c: Likewise.
31665         * locale/programs/ld-paper.c: Likewise.
31666         * locale/programs/ld-telephone.c: Likewise.
31667         * locale/programs/ld-time.c: Likewise.
31668         * locale/programs/linereader.c: Likewise.
31669         * locale/programs/locale.c: Likewise.
31670         * locale/programs/locarchive.c: Likewise.
31671         * locale/programs/locfile.h: Likewise.
31672         * locale/programs/repertoire.c: Likewise.
31673         * locale/programs/simple-hash.c: Likewise.
31674         * locale/programs/simple-hash.h: Likewise.
31675         * malloc/memusage.c: Likewise.
31676         * malloc/memusagestat.c: Likewise.
31677         * nis/nis_defaults.c: Likewise.
31678         * nis/nis_hash.c: Likewise.
31679         * nis/nis_print.c: Likewise.
31680         * nis/nis_xdr.c: Likewise.
31681         * nscd/connections.c: Likewise.
31682         * nscd/hstcache.c: Likewise.
31683         * nscd/nscd_gethst_r.c: Likewise.
31684         * nscd/nscd_getserv_r.c: Likewise.
31685         * nscd/nscd_helper.c: Likewise.
31686         * nscd/servicescache.c: Likewise.
31687         * nss/makedb.c: Likewise.
31688         * nss/nss_db/db-XXX.c: Likewise.
31689         * nss/nss_db/db-initgroups.c: Likewise.
31690         * nss/nss_db/db-netgrp.c: Likewise.
31691         * nss/nss_files/files-network.c: Likewise.
31692         * nss/nss_files/files-parse.c: Likewise.
31693         * posix/bug-regex5.c: Likewise.
31694         * posix/fnmatch_loop.c: Likewise.
31695         * posix/regcomp.c: Likewise.
31696         * posix/regexec.c: Likewise.
31697         * posix/tst-rfc3484-2.c: Likewise.
31698         * posix/tst-rfc3484-3.c: Likewise.
31699         * posix/tst-rfc3484.c: Likewise.
31700         * resolv/nss_dns/dns-canon.c: Likewise.
31701         * resolv/nss_dns/dns-network.c: Likewise.
31702         * resolv/res_init.c: Likewise.
31703         * resolv/res_mkquery.c: Likewise.
31704         * resolv/tst-aton.c: Likewise.
31705         * stdlib/cxa_atexit.c: Likewise.
31706         * stdlib/cxa_finalize.c: Likewise.
31707         * stdlib/gen-fpioconst.c: Likewise.
31708         * stdlib/strtol_l.c: Likewise.
31709         * string/tst-endian.c: Likewise.
31710         * sunrpc/auth_des.c: Likewise.
31711         * sunrpc/clnt_udp.c: Likewise.
31712         * sunrpc/rtime.c: Likewise.
31713         * sunrpc/svcauth_des.c: Likewise.
31714         * sunrpc/xdr.c: Likewise.
31715         * sunrpc/xdr_intXX_t.c: Likewise.
31716         * sunrpc/xdr_rec.c: Likewise.
31717         * sysdeps/generic/ldconfig.h: Likewise.
31718         * sysdeps/generic/ldsodefs.h: Likewise.
31719         * sysdeps/generic/memusage.h: Likewise.
31720         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31721         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31722         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31723         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31724         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31725         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31726         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31727         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31728         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31730         * sysdeps/posix/getaddrinfo.c: Likewise.
31731         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31732         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31733         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31734         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31735         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31736         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31737         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31738         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31739         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31740         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31741         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31742         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31743         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31744         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31745         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31746         * sysdeps/x86_64/dl-tls.h: Likewise.
31747         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31748         * time/alt_digit.c: Likewise.
31749         * time/era.c: Likewise.
31750         * wcsmbs/tst-c16c32-1.c: Likewise.
31752 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31754         * math/libm-test.inc (struct test_sincos_data): New type.
31755         (RUN_TEST_LOOP_sincos): New macro.
31756         (sincos_test_data): New variable.
31757         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31759 2013-05-16  Richard Henderson  <rth@redhat.com>
31761         * math/atest-exp2.c (LIMB64): New macro.
31762         (CONSTSZ): New macro.
31763         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31764         (hexdig): Move ...
31765         (print_mpn_fp): ... to function scope.
31766         (read_mpn_hex): Remove.
31767         (get_log2): Remove.
31768         (exp2_mpn): Use mp_log2.
31769         (main): Use mp_exp1.
31771 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31773         * math/libm-test.inc: Remove comment about not testing "inexact"
31774         exceptions.
31775         (INEXACT_EXCEPTION): New macro.
31776         (NO_INEXACT_EXCEPTION): Likewise.
31777         (INVALID_EXCEPTION_OK): Update value.
31778         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31779         (OVERFLOW_EXCEPTION_OK): Likewise.
31780         (UNDERFLOW_EXCEPTION_OK): Likewise.
31781         (IGNORE_ZERO_INF_SIGN): Likewise.
31782         (ERRNO_UNCHANGED): Likewise.
31783         (ERRNO_EDOM): Likewise.
31784         (ERRNO_ERANGE): Likewise.
31785         (test_exceptions): Handle testing "inexact" exceptions.
31786         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31787         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31788         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31789         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31790         INEXACT_EXCEPTION.
31791         (rint_towardzero_test_data): Likewise.
31792         (rint_downward_test_data): Likewise.
31793         (rint_upward_test_data): Likewise.
31795         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31796         with OVERFLOW_EXCEPTION.
31797         (exp10_test_data): Likewise.
31798         (exp2_test_data): Likewise.
31799         (expm1_test_data): Likewise.
31800         (lgamma_test_data): Likewise.
31801         (pow_test_data): Likewise.
31802         (tgamma_test_data): Likewise.
31803         (yn_test_data): Remove duplicate test of overflow.
31805         * math/libm-test.inc (struct test_cc_c_data): New type.
31806         (RUN_TEST_LOOP_cc_c): New macro.
31807         (cpow_test_data): New variable.
31808         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31810         * math/libm-test.inc (struct test_f_L_data): New type.
31811         (RUN_TEST_LOOP_f_L): New macro.
31812         (llrint_test_data): New variable.
31813         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31814         (llrint_tonearest_test_data): New variable.
31815         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31816         (llrint_towardzero_test_data): New variable.
31817         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31818         (llrint_downward_test_data): New variable.
31819         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31820         (llrint_upward_test_data): New variable.
31821         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31822         (llround_test_data): New variable.
31823         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31825 2013-05-13  Peter Collingbourne  <pcc@google.com>
31827         * math/atest-exp2.c (get_log2): Remove const attribute.
31829 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31831         * math/libm-test.inc (struct test_f_l_data): New type.
31832         (RUN_TEST_LOOP_f_l): New macro.
31833         (lrint_test_data): New variable.
31834         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31835         (lrint_tonearest_test_data): New variable.
31836         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31837         (lrint_towardzero_test_data): New variable.
31838         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31839         (lrint_downward_test_data): New variable.
31840         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31841         (lrint_upward_test_data): New variable.
31842         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31843         (lround_test_data): New variable.
31844         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31846 2013-05-15  Peter Collingbourne  <pcc@google.com>
31848         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31849         (EXTRACT_WORDS64) Use where appropriate.
31850         (INSERT_WORDS64) Likewise.
31852         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31853         constraints with x constraints.
31854         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31856         * malloc/obstack.c (_obstack_compat): Add initializer.
31858 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31860         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31861         si_trapno and add si_addr_lsb to _sifields.sigfault.
31862         (si_trapno): Remove macro.
31863         (si_addr_lsb): Define new macro.
31864         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31866 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31868         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31869         instead of TEST_f_l.
31870         (llrint_test_tonearest): Likewise.
31871         (llrint_test_towardzero): Likewise.
31872         (llrint_test_downward): Likewise.
31873         (llrint_test_upward): Likewise.
31874         (llround_test): Likewise.
31876         * math/libm-test.inc (struct test_f_i_data): Add comment.
31877         (RUN_TEST_LOOP_f_b): New macro.
31878         (RUN_TEST_LOOP_f_b_tg): Likewise.
31879         (finite_test_data): New variable.
31880         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31881         (isfinite_test_data): New variable.
31882         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31883         (isinf_test_data): New variable.
31884         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31885         (isnan_test_data): New variable.
31886         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31887         (isnormal_test_data): New variable.
31888         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31889         (issignaling_test_data): New variable.
31890         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31891         (signbit_test_data): New variable.
31892         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31894         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31895         with INVALID_EXCEPTION.
31896         (acosh_test_data): Likewise.
31897         (asin_test_data): Likewise.
31898         (atanh_test_data): Likewise.
31899         (fmod_test_data): Likewise.
31900         (log_test_data): Likewise.
31901         (log10_test_data): Likewise.
31902         (log2_test_data): Likewise.
31903         (pow_test_data): Likewise.
31904         (sqrt_test_data): Likewise.
31905         (y0_test_data): Likewise.
31906         (y1_test_data): Likewise.
31907         (yn_test_data): Likewise.
31909         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31910         function contents.
31912         * math/libm-test.inc (struct test_ff_i_data): New type.
31913         (RUN_TEST_LOOP_ff_i_tg): New macro.
31914         (isgreater_test_data): New variable.
31915         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31916         (isgreaterequal_test_data): New variable.
31917         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31918         (isless_test_data): New variable.
31919         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31920         (islessequal_test_data): New variable.
31921         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31922         (islessgreater_test_data): New variable.
31923         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31924         (isunordered_test_data): New variable.
31925         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31927 2013-05-14  David S. Miller  <davem@davemloft.net>
31929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31931 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31933         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31935         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31936         extra_test to int.
31937         (struct test_f_i_data): Change type of max_ulp to int.
31939         * math/libm-test.inc (test_ffI_f1_data): New type.
31940         (RUN_TEST_LOOP_ffI_f1): New macro.
31941         (remquo_test_data): New variable.
31942         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31944         * setjmp/tst-setjmp-fp.c: New file.
31945         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31946         (link-libm): New variable.
31947         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31949         * math/libm-test.inc (struct test_f_i_data): New type.
31950         (RUN_TEST_LOOP_f_i): New macro.
31951         (RUN_TEST_LOOP_f_i_tg): Likewise.
31952         (fpclassify_test_data): New variable.
31953         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31954         (ilogb_test_data): New variable.
31955         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31957         * math/libm-test.inc (scalbln_test): Correct function name in END
31958         call.
31960         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31961         (RUN_TEST_LOOP_fI_f1): New macro.
31962         (frexp_test_data): New variable.
31963         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31965         * math/libm-test.inc (struct test_fF_f1_data): New type.
31966         (RUN_TEST_LOOP_fF_f1): New macro.
31967         (modf_test_data): New variable.
31968         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31970         * math/libm-test.inc (struct test_f_f1_data): New type.
31971         (RUN_TEST_LOOP_f_f1): New macro.
31972         (gamma_test_data): New variable.
31973         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31974         (lgamma_test_data): New variable.
31975         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31977 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31979         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31980         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31981         (main): Comment "tls" pseudo-hwcap.
31983 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31985         * math/libm-test.inc (struct test_fl_f_data): New type.
31986         (RUN_TEST_LOOP_fl_f): New variable.
31987         (scalbln_test_data): New variable.
31988         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31990         * math/libm-test.inc (struct test_fi_f_data): New type.
31991         (RUN_TEST_LOOP_fi_f): New macro.
31992         (ldexp_test_data): New variable.
31993         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31994         (scalbn_test_data): New variable.
31995         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31997         * math/libm-test.inc (struct test_c_f_data): New type.
31998         (RUN_TEST_LOOP_c_f): New macro.
31999         (cabs_test_data): New variable.
32000         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
32001         (carg_test_data): New variable.
32002         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
32003         (cimag_test_data): New variable.
32004         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
32005         (creal_test_data): New variable.
32006         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
32008         * math/libm-test.inc (struct test_if_f_data): New type.
32009         (RUN_TEST_LOOP_if_f): New macro.
32010         (jn_test_data): New variable.
32011         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
32012         (yn_test_data): New variable.
32013         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32015         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32017 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32019         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32020         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32022 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32024         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32025         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32026         (bench-deps): Add bench-timing.h.
32027         * benchtests-bench-skeleton.c: Include bench-timing.h.
32028         (main): Use TIMING_* macros instead of clock_gettime.
32029         * benchtests/bench-timing.h: New file.
32031         [BZ #14582]
32032         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32033         Renamed from _LIB_VERSION.
32034         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32036 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32038         * math/libm-test.inc (struct test_fff_f_data): New type.
32039         (RUN_TEST_LOOP_fff_f): New macro.
32040         (fma_test_data): New variable.
32041         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32042         (fma_towardzero_test_data): New variable.
32043         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32044         (fma_downward_test_data): New variable.
32045         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32046         (fma_upward_test_data): New variable.
32047         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32049         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32050         (struct test_c_c_data): New type.
32051         (RUN_TEST_LOOP_c_c): New macro.
32052         (cacos_test_data): New variable.
32053         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32054         (cacosh_test_data): New variable.
32055         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32056         (casin_test_data): New variable.
32057         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32058         (casinh_test_data): New variable.
32059         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32060         (catan_test_data): New variable.
32061         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32062         (catanh_test_data): New variable.
32063         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32064         (ccos_test_data): New variable.
32065         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32066         (ccosh_test_data): New variable.
32067         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32068         (cexp_test_data): New variable.
32069         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32070         (clog_test_data): New variable.
32071         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32072         (clog10_test_data): New variable.
32073         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32074         (conj_test_data): New variable.
32075         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32076         (cproj_test_data): New variable.
32077         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32078         (csin_test_data): New variable.
32079         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32080         (csinh_test_data): New variable.
32081         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32082         (csqrt_test_data): New variable.
32083         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32084         (ctan_test_data): New variable.
32085         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32086         (ctan_tonearest_test_data): New variable.
32087         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32088         (ctan_towardzero_test_data): New variable.
32089         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32090         (ctan_downward_test_data): New variable.
32091         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32092         (ctan_upward_test_data): New variable.
32093         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32094         (ctanh_test_data): New variable.
32095         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32096         (ctanh_tonearest_test_data): New variable.
32097         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32098         (ctanh_towardzero_test_data): New variable.
32099         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32100         (ctanh_downward_test_data): New variable.
32101         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32102         (ctanh_upward_test_data): New variable.
32103         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32104         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32105         of BUILD_COMPLEX.
32107         * math/libm-test.inc (struct test_ff_f_data): New type.
32108         (struct test_ff_f_data_nexttoward): Likewise.
32109         (RUN_TEST_LOOP_2_f): New macro.
32110         (RUN_TEST_LOOP_ff_f): Likewise.
32111         (atan2_test_data): New variable.
32112         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32113         (copysign_test_data): New variable.
32114         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32115         (fdim_test_data): New variable.
32116         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32117         (fmax_test_data): New variable.
32118         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32119         (fmin_test_data): New variable.
32120         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32121         (fmod_test_data): New variable.
32122         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32123         (hypot_test_data): New variable.
32124         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32125         (nextafter_test_data): New variable.
32126         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32127         (nexttoward_test_data): New variable.
32128         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32129         (pow_test_data): New variable.
32130         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32131         (pow_tonearest_test_data): New variable.
32132         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32133         (pow_towardzero_test_data): New variable.
32134         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32135         (pow_downward_test_data): New variable.
32136         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32137         (pow_upward_test_data): New variable.
32138         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32139         (remainder_test_data): New variable.
32140         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32141         (scalb_test_data): New variable.
32142         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32143         * sysdeps/i386/fpu/libm-test-ulps: Update.
32145 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32147         * math/libm-test.inc (fma_test): Use max_value instead of local
32148         variable fltmax.
32149         (nextafter_test): Likewise.
32151         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32152         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32153         (acos_downward_test_data): New variable.
32154         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32155         (acos_upward_test_data): New variable.
32156         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32157         (acosh_test_data): New variable.
32158         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32159         (asin_test_data): New variable.
32160         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32161         (asin_tonearest_test_data): New variable.
32162         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32163         (asin_towardzero_test_data): New variable.
32164         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32165         (asin_downward_test_data): New variable.
32166         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32167         (asin_upward_test_data): New variable.
32168         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32169         (asinh_test_data): New variable.
32170         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32171         (atan_test_data): New variable.
32172         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32173         (atanh_test_data): New variable.
32174         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32175         (cbrt_test_data): New variable.
32176         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32177         (ceil_test_data): New variable.
32178         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32179         (cos_test_data): New variable.
32180         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32181         (cos_tonearest_test_data): New variable.
32182         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32183         (cos_towardzero_test_data): New variable.
32184         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32185         (cos_downward_test_data): New variable.
32186         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32187         (cos_upward_test_data): New variable.
32188         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32189         (cosh_test_data): New variable.
32190         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32191         (cosh_tonearest_test_data): New variable.
32192         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32193         (cosh_towardzero_test_data): New variable.
32194         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32195         (cosh_downward_test_data): New variable.
32196         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32197         (cosh_upward_test_data): New variable.
32198         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32199         (erf_test_data): New variable.
32200         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32201         (erfc_test_data): New variable.
32202         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32203         (exp_test_data): New variable.
32204         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32205         (exp_tonearest_test_data): New variable.
32206         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32207         (exp_towardzero_test_data): New variable.
32208         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32209         (exp_downward_test_data): New variable.
32210         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32211         (exp_upward_test_data): New variable.
32212         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32213         (exp10_test_data): New variable.
32214         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32215         (exp2_test_data): New variable.
32216         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32217         (expm1_test_data): New variable.
32218         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32219         (fabs_test_data): New variable.
32220         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32221         (floor_test_data): New variable.
32222         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32223         (j0_test_data): New variable.
32224         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32225         (j1_test_data): New variable.
32226         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32227         (log_test_data): New variable.
32228         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32229         (log10_test_data): New variable.
32230         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32231         (log1p_test_data): New variable.
32232         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32233         (log2_test_data): New variable.
32234         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32235         (logb_test_data): New variable.
32236         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32237         (logb_downward_test_data): New variable.
32238         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32239         (nearbyint_test_data): New variable.
32240         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32241         (rint_test_data): New variable.
32242         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32243         (rint_tonearest_test_data): New variable.
32244         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32245         (rint_towardzero_test_data): New variable.
32246         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32247         (rint_downward_test_data): New variable.
32248         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32249         (rint_upward_test_data): New variable.
32250         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32251         (round_test_data): New variable.
32252         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32253         (sin_test_data): New variable.
32254         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32255         (sin_tonearest_test_data): New variable.
32256         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32257         (sin_towardzero_test_data): New variable.
32258         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32259         (sin_downward_test_data): New variable.
32260         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32261         (sin_upward_test_data): New variable.
32262         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32263         (sinh_test_data): New variable.
32264         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32265         (sinh_tonearest_test_data): New variable.
32266         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32267         (sinh_towardzero_test_data): New variable.
32268         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32269         (sinh_downward_test_data): New variable.
32270         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32271         (sinh_upward_test_data): New variable.
32272         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32273         (sqrt_test_data): New variable.
32274         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32275         (tan_test_data): New variable.
32276         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32277         (tan_tonearest_test_data): New variable.
32278         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32279         (tan_towardzero_test_data): New variable.
32280         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32281         (tan_downward_test_data): New variable.
32282         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32283         (tan_upward_test_data): New variable.
32284         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32285         (tanh_test_data): New variable.
32286         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32287         (tgamma_test_data): New variable.
32288         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32289         (trunc_test_data): New variable.
32290         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32291         (y0_test_data): New variable.
32292         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32293         (y1_test_data): New variable.
32294         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32295         (significand_test_data): New variable.
32296         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32298 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32300         [BZ #12387]
32301         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32303 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32305         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32307 2013-05-10  Andreas Jaeger  <aj@suse.de>
32309         [BZ #15448]
32310         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32311         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32313 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32315         * math/gen-libm-test.pl (adjust_arg): New function.
32316         (special_functions): Handle generating output in both functions
32317         and arrays.
32318         (parse_args): Likewise.
32319         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32320         $in_func argument to parse_args.
32321         * math/libm-test.inc (struct test_f_f_data): New type.
32322         (IF_ROUND_INIT_): New macro.
32323         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32324         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32325         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32326         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32327         (ROUND_RESTORE_): Likewise.
32328         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32329         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32330         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32331         (ROUND_RESTORE_FE_UPWARD): Likewise.
32332         (RUN_TEST_LOOP_f_f): New macro.
32333         (acos_test_data): New variable.
32334         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32335         (acos_tonearest_test_data): New variable.
32336         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32338 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32340         * benchtests/bench-skeleton.c (startup): Fix coding style.
32342 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32344         [BZ #6809]
32345         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32346         negative infinity argument.
32347         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32348         negative infinity argument.
32349         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32350         negative infinity argument.
32351         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32352         domain errors.
32354 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32356         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32357         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32358         * iconv/iconv_prog.c (main): Likewise.
32359         * locale/programs/charmap-dir.c (charmap_readdir)
32360         (fopen_uncompressed): Likewise.
32361         * locale/programs/locfile.c (siblings_uncached)
32362         (write_locale_data): Use lstat64 instead of lstat.
32363         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32364         stat.
32366 2013-05-10  Andreas Jaeger  <aj@suse.de>
32368         [BZ #15395]
32369         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32370         localization.
32371         Include <locale.h>.
32373 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32375         * elf/dl-close.c (_dl_close_worker): Add comments.
32377 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32379         [BZ #15359]
32380         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32381         high part of pi/2.
32382         (__ieee754_rem_pio2l): Update comments.
32384         [BZ #15429]
32385         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32386         high part of pi/2.
32387         (__ieee754_rem_pio2l): Update comments.
32389         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32390         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32392         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32393         M_PI_4l.
32395         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32396         (M_PI_34_LOG10El): Likewise.
32397         (M_PI2_LOG10El): Likewise.
32398         (M_PI4_LOG10El): Likewise.
32399         (M_PI_LOG10El): Likewise.
32401 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32405 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32407         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32408         (MINUS_ZERO_INIT): Likewise.
32409         (PLUS_INFTY_INIT): Likewise.
32410         (MINUS_INFTY_INIT): Likewise.
32411         (QNAN_VALUE_INIT): Likewise.
32412         (MAX_VALUE_INIT): Likewise.
32413         (MIN_VALUE_INIT): Likewise.
32414         (MIN_SUBNORM_VALUE_INIT): Likewise.
32415         (plus_zero): Initialize with PLUS_ZERO_INIT.
32416         (minus_zero): Initialize with MINUS_ZERO_INIT.
32417         (plus_infty): Initialize with PLUS_INFTY_INIT.
32418         (minus_infty): Initialize with MINUS_INFTY_INIT.
32419         (qnan_value): Initialize with QNAN_VALUE_INIT.
32420         (max_value): Initialize with MAX_VALUE_INIT.
32421         (min_value): Initialize with MIN_VALUE_INIT.
32422         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32424         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32425         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32426         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32427         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32429         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32430         (RUN_TEST_2_f): Likewise.
32431         (RUN_TEST_ff_f): Likewise.
32432         (RUN_TEST_fi_f): Likewise.
32433         (RUN_TEST_fl_f): Likewise.
32434         (RUN_TEST_fff_f): Likewise.
32435         (RUN_TEST_c_f): Likewise.
32436         (RUN_TEST_f_f1): Likewise.
32437         (RUN_TEST_fF_f1): Likewise.
32438         (RUN_TEST_fI_f1): Likewise.
32439         (RUN_TEST_ffI_f1): Likewise.
32440         (RUN_TEST_c_c): Likewise.
32441         (RUN_TEST_cc_c): Likewise.
32442         (RUN_TEST_f_i): Likewise.
32443         (RUN_TEST_f_i_tg): Likewise.
32444         (RUN_TEST_ff_i_tg): Likewise.
32445         (RUN_TEST_f_b): Likewise.
32446         (RUN_TEST_f_b_tg): Likewise.
32447         (RUN_TEST_f_l): Likewise.
32448         (RUN_TEST_f_L): Likewise.
32449         (RUN_TEST_sincos): Likewise.
32450         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32451         whether to show exceptions.  Do not include ");\n" in return
32452         value.
32453         (special_functions): Output call to RUN_TEST_sincos instead of
32454         check_float calls.  Update calls to new_test.
32455         (parse_args): Output call to single RUN_TEST_* macro instead of
32456         check_* calls and other assignments.  Update calls to new_test.
32458         [BZ #2546]
32459         [BZ #2560]
32460         [BZ #5159]
32461         [BZ #15426]
32462         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32463         input to result for tgamma overflow.
32464         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32465         (gamma_coeff): New variable.
32466         (NCOEFF): New macro.
32467         (gamma_positive): New function.
32468         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32469         underflow here.  Use gamma_positive instead of exp (lgamma) for
32470         other arguments.
32471         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32472         (gamma_coeff): New variable.
32473         (NCOEFF): New macro.
32474         (gammaf_positive): New function.
32475         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32476         underflow here.  Use gamma_positive instead of exp (lgamma) for
32477         other arguments.
32478         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32479         (gamma_coeff): New variable.
32480         (NCOEFF): New macro.
32481         (gammal_positive): New function.
32482         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32483         underflow here.  Use gamma_positive instead of exp (lgamma) for
32484         other arguments.
32485         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32486         (gamma_coeff): New variable.
32487         (NCOEFF): New macro.
32488         (gammal_positive): New function.
32489         (__ieee754_gammal_r): Handle positive infinity, overflow and
32490         underflow here.  Handle NaN the same as positive infinity.  Remove
32491         check x < 0xffffffff for negative integers.  Use gamma_positive
32492         instead of exp (lgamma) for other arguments.
32493         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32494         (gamma_coeff): New variable.
32495         (NCOEFF): New macro.
32496         (gammal_positive): New function.
32497         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32498         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32502         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32503         * sysdeps/generic/math_private.h (__gamma_productf): New
32504         prototype.
32505         (__gamma_product): Likewise.
32506         (__gamma_productl): Likewise.
32507         * math/Makefile (libm-calls): Add gamma_product.
32508         * math/libm-test.inc (tgamma_test): Add more tests.
32509         * sysdeps/i386/fpu/libm-test-ulps: Update.
32510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32512 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32514         * benchtests/bench-skeleton.c (main): Preheat CPU.
32516 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32518         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32520 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32522         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32523         and _dl_skip_args_internal.
32525 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32527         * manual/message.texi (Message Translation): Talk about users.
32528         Message to key mapping impacts design.
32530 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32532         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32534         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32536         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32537         * sysdeps/wordsize-64/glob64.c: ... here.
32539         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32540         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32541         New macros.
32543         * debug/getlogin_r_chk.c: Moved to ...
32544         * login/getlogin_r_chk.c: ... here.
32545         * debug/Makefile (routines): Move getlogin_r_chk to ...
32546         * login/Makefile (routines): ... here.
32547         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32548         * login/Versions (libc: GLIBC_2.4): ... here.
32550         * io/poll.c (__poll): Renamed from poll.
32551         Add libc_hidden_def.
32552         (poll): Define as weak alias.
32554         * debug/ptsname_r_chk.c: Moved to ...
32555         * login/ptsname_r_chk.c: ... here.
32556         * debug/Makefile (routines): Move ptsname_r_chk to ...
32557         * login/Makefile (routines): ... here.
32558         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32559         * login/Versions (libc: GLIBC_2.4): ... here.
32561         * posix/getlogin.c: Moved to ...
32562         * login/getlogin.c: ... here.
32563         * posix/getlogin_r.c: Moved to ...
32564         * login/getlogin_r.c: ... here.
32565         * posix/getlogin_r.c: Moved to ...
32566         * login/getlogin_r.c: ... here.
32567         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32568         * login/Makefile (routines): ... here.
32569         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32570         * login/Versions (libc: GLIBC_2.0): ... here.
32572         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32573         (setrlimit): Define as weak alias.
32575         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32576         Call __ names for open, ftruncate, and close.
32577         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32578         (truncate): Define as weak alias.
32580 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32582         * math/gen-libm-test.pl (parse_args): Initialize x before each
32583         test of frexp, modf and remquo.
32585         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32586         test signgam value.
32588 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32590         [BZ #15418]
32591         [BZ #15419]
32592         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32593         internal tests.
32594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32596 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32598         * elf/dl-writev.h: New file.
32599         * elf/dl-misc.c: Include it.
32600         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32601         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32603 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32605         * math/libm-test.inc (noXFails): Remove variable.
32606         (noXPasses): Likewise.
32607         (BUILD_COMPLEX_INT): Remove macro.
32608         (print_screen): Remove xfail argument.
32609         (print_screen_max_error): Likewise.
32610         (update_stats): Likewise.
32611         (print_max_error): Likewise.  Update calls to other affected
32612         functions.
32613         (print_complex_max_error): Likewise.
32614         (test_single_exception): Update calls to print_screen.
32615         (test_single_errno): Likewise.
32616         (check_float_internal): Remove xfail argument.  Update calls to
32617         other affected functions.
32618         (check_float): Likewise.
32619         (check_complex): Likewise.
32620         (check_int): Likewise.
32621         (check_long): Likewise.
32622         (check_bool): Likewise.
32623         (check_longlong): Likewise.
32624         (main): Don't print noXFails and noXPasses.
32625         * math/gen-libm-test.pl (top level): Don't mention expected
32626         failure handling in comment.
32627         (new_test): Don't handle expected failures.
32628         (parse_args): Don't mention expected failure handling in comment.
32629         (generate_testfile): Don't handle expected failures.
32630         (parse_ulps): Likewise.
32631         (print_ulps_file): Likewise.
32632         (get_failure): Remove function.
32633         (output_test): Don't handle expected failures.
32634         * make/README.libm-test: Don't mention expected failure handling.
32636         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32637         (minus_zero): Likewise.
32638         (plus_infty): Likewise.
32639         (minus_infty): Likewise.
32640         (qnan_value): Likewise.
32641         (max_value): Likewise.
32642         (min_value): Likewise.
32643         (min_subnorm_value): Likewise.
32644         (initialize): Do not initialize those variables dynamically.
32646 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32648         * io/open.c (__open_2): Moved to ...
32649         * io/open_2.c: ... this new file.
32650         * io/open64.c (__open64_2): Moved to ...
32651         * io/open64_2.c: ... this new file.
32652         * io/openat.c (__openat_2): Moved to ...
32653         * io/openat_2.c: ... this new file.
32654         * io/openat64.c (__openat64_2): Moved to ...
32655         * io/openat64_2.c: ... this new file.
32656         * io/Makefile (routines): Add them.
32657         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32658         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32659         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32660         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32661         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32662         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32663         (__openat64): Add hidden_ver.
32664         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32665         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32667         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32668         Separately conditionalize setting of GLRO(dl_sysinfo) so
32669         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32670         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32672 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32674         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32675         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32676         definition.
32677         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32678         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32679         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32680         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32681         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32683 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32685         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32686         test signgam value.
32688         * math/libm-test.inc (hypot_test): Do not use
32689         IGNORE_ZERO_INF_SIGN.
32691 2013-05-03  Andreas Jaeger  <aj@suse.de>
32693         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32694         Linux 3.9.
32695         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32696         (PF_MAX): Adjust for VSOCK change.
32698 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32702 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32704         [BZ #15264]
32705         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32706         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32707         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32709 2013-05-02  David S. Miller  <davem@davemloft.net>
32711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32713 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32715         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32717 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32719         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32721 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32723         [BZ #14952]
32724         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32725         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32726         Use __attribute__ ((__gnu_inline__)).
32727         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32728         Don't use __attribute__ ((__gnu_inline__)).
32730 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32732         [BZ #15423]
32733         * math/s_catan.c (__catan): Handle small real or imaginary part of
32734         input specially to avoid spurious underflow.
32735         * math/s_catanf.c (__catanf): Likewise.
32736         * math/s_catanh.c (__catanh): Likewise.
32737         * math/s_catanhf.c (__catanhf): Likewise.
32738         * math/s_catanhl.c (__catanhl): Likewise.
32739         * math/s_catanl.c (__catanl): Likewise.
32740         * math/libm-test.inc (catan_test): Add more tests.
32741         (catanh_test): Likewise.
32742         * sysdeps/i386/fpu/libm-test-ulps: Update.
32743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32745 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32749 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32751         [BZ #15416]
32752         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32753         accurately for denominator in atan2.
32754         * math/s_catanf.c (__catanf): Likewise.
32755         * math/s_catanh.c (__catanh): Likewise.
32756         * math/s_catanhf.c (__catanhf): Likewise.
32757         * math/s_catanhl.c (__catanhl): Likewise.
32758         * math/s_catanl.c (__catanl): Likewise.
32759         * math/libm-test.inc (catan_test): Add more tests.
32760         (catanh_test): Likewise.
32761         * sysdeps/i386/fpu/libm-test-ulps: Update.
32762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32764 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32766         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32768         * benchtests/Makefile (bench): Remove slow benchmarks.
32769         * benchtests/atan-inputs: Add slow benchmark inputs.
32770         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32771         (BENCH_FUNC): Accept variant offset.
32772         (VARIANT): Define.
32773         * benchtests/bench-skeleton.c (main): Run benchmark for each
32774         variant.
32775         * benchtests/cos-inputs: Add slow benchmark inputs.
32776         * benchtests/exp-inputs: Likewise.
32777         * benchtests/pow-inputs: Likewise.
32778         * benchtests/sin-inputs: Likewise.
32779         * benchtests/slowatan-inputs: Remove.
32780         * benchtests/slowatan.c: Remove.
32781         * benchtests/slowcos-inputs: Remove.
32782         * benchtests/slowcos.c: Remove.
32783         * benchtests/slowexp-inputs: Remove.
32784         * benchtests/slowexp.c: Remove.
32785         * benchtests/slowpow-inputs: Remove.
32786         * benchtests/slowpow.c: Remove.
32787         * benchtests/slowsin-inputs: Remove.
32788         * benchtests/slowsin.c: Remove.
32789         * benchtests/slowtan-inputs: Remove.
32790         * benchtests/slowtan.c: Remove.
32791         * benchtests/tan-inputs: Add slow benchmark inputs.
32792         * scripts/bench.pl: Parse comments and directives.
32794         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32795         in CPPFLAGS.
32796         ($(objpfx)bench-%.c): Remove *-ITER.
32797         * benchtests/bench-modf.c: Remove definition of ITER.
32798         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32799         (main): Loop for DURATION seconds instead of fixed number of
32800         iterations.
32801         * scripts/bench.pl: Don't expect iterations in parameters.
32803 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32805         * io/fchdir.c (__fchdir): Renamed from fchdir.
32806         (fchdir): Define as weak alias.
32808 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32810         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32811         (ERRNO_EDOM): Likewise.
32812         (ERRNO_ERANGE): Likewise.
32813         (noErrnoTests): New variable.
32814         (init_max_error): Set errno to 0.
32815         (test_single_errno): New function.
32816         (test_errno): Likewise.
32817         (check_float_internal): Call test_errno.  Set errno to 0.
32818         (check_complex): Refer to errno tests in comment.
32819         (check_int): Call test_errno.  Set errno to 0.
32820         (check_long): Likewise.
32821         (check_bool): Likewise.
32822         (check_longlong): Likewise.
32823         (cos_test): Use ERRNO_* flags for errno tests instead of
32824         check_int.
32825         (expm1_test): Likewise.
32826         (fmod_test): Likewise.
32827         (ilogb_test): Likewise.
32828         (lgamma_test): Likewise.
32829         (pow_test): Likewise.
32830         (remainder_test): Likewise.
32831         (sin_test): Likewise.
32832         (tan_test): Likewise.
32833         (yn_test): Likewise.
32834         (initialize): Set errno to 0.
32835         (main): Print number of errno tests.
32836         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32838 2013-04-29  Andreas Jaeger  <aj@suse.de>
32840         [BZ #15084]
32841         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32842         and RES_USEVC.
32844         [BZ #15085]
32845         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32846         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32847         unimplemented.
32849         [BZ #15380]
32850         * stdlib/random.c (__initstate): Return NULL if
32851         __initstate fails.
32853         [BZ #15086]
32854         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32855         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32856         RES_SNGLKUPREOP.
32858 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32862 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32864         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32865         of individual tests.
32866         (casin_test): Likewise.
32867         (casinh_test): Likewise.
32869 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32871         [BZ #15409]
32872         * math/s_catan.c (__catan): Handle arguments with large real or
32873         imaginary part separately without squaring.
32874         * math/s_catanf.c (__catanf): Likewise.
32875         * math/s_catanh.c (__catanh): Likewise.
32876         * math/s_catanhf.c (__catanhf): Likewise.
32877         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32878         and redefine.
32879         (__catanhl): Handle arguments with large real or imaginary part
32880         separately without squaring.
32881         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32882         and redefine.
32883         (__catanl): Handle arguments with large real or imaginary part
32884         separately without squaring.
32885         * math/libm-test.inc (catan_test): Add more tests.
32886         (catanh_test): Likewise.
32887         * sysdeps/i386/fpu/libm-test-ulps: Update.
32888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32890 2013-04-27  Andreas Jaeger  <aj@suse.de>
32892         [BZ #15007]
32893         * stdlib/stdlib.h: Update guards for qecvt.
32894         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32895         <stdlib.h>.
32897 2013-04-27  Allan McRae  <allan@archlinux.org>
32899         * sysdeps/i386/fpu/libm-test-ulps: Update.
32901 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32903         [BZ #15406]
32904         * math/s_catan.c: Include <float.h>.
32905         (__catan): Ensure underflow exception occurs for underflowed
32906         result.
32907         * math/s_catanf.c: Include <float.h>.
32908         (__catanf): Ensure underflow exception occurs for underflowed
32909         result.
32910         * math/s_catanh.c: Include <float.h>.
32911         (__catanh): Ensure underflow exception occurs for underflowed
32912         result.
32913         * math/s_catanhf.c: Include <float.h>.
32914         (__catanhf): Ensure underflow exception occurs for underflowed
32915         result.
32916         * math/s_catanhl.c: Include <float.h>.
32917         (__catanhl): Ensure underflow exception occurs for underflowed
32918         result.
32919         * math/s_catanl.c: Include <float.h>.
32920         (__catanl): Ensure underflow exception occurs for underflowed
32921         result.
32922         * math/libm-test.inc (catan_test): Add more tests.
32923         (catanh_test): Likewise.
32925         [BZ #15405]
32926         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32927         underflowed result.
32928         * math/s_ccoshf.c (__ccoshf): Likewise.
32929         * math/s_ccoshl.c (__ccoshl): Likewise.
32930         * math/s_csin.c (__csin): Likewise.
32931         * math/s_csinf.c (__csinf): Likewise.
32932         * math/s_csinh.c (__csinh): Likewise.
32933         * math/s_csinhf.c (__csinhf): Likewise.
32934         * math/s_csinhl.c (__csinhl): Likewise.
32935         * math/s_csinl.c (__csinl): Likewise.
32936         * math/libm-test.inc (ccos_test): Add more tests.
32937         (ccosh_test): Likewise.
32938         (csin_test): Likewise.
32939         (csinh_test): Likewise.
32941 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32943         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32944         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32945         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32946         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32947         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32948         powerpc/power5+/fpu folders.
32949         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32952 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32956 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32958         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32959         additions to variable.
32960         [$(config-machine) = x86_64] (modules-names): Likewise.
32961         ($(objpfx)tst-audit3): Remove dependency.
32962         ($(objpfx)tst-audit3.out): Likewise.
32963         ($(objpfx)tst-audit4): Likewise.
32964         ($(objpfx)tst-audit4.out): Likewise.
32965         ($(objpfx)tst-audit5): Likewise.
32966         ($(objpfx)tst-audit5.out): Likewise.
32967         ($(objpfx)tst-audit6): Likewise.
32968         ($(objpfx)tst-audit6.out): Likewise.
32969         ($(objpfx)tst-audit7): Likewise.
32970         ($(objpfx)tst-audit7.out): Likewise.
32971         (tst-audit3-ENV): Remove variable.
32972         (tst-audit4-ENV): Likewise.
32973         (tst-audit5-ENV): Likewise.
32974         (tst-audit6-ENV): Likewise.
32975         (tst-audit7-ENV): Likewise.
32976         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32977         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32978         addition to variable.
32979         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32980         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32981         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32982         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32983         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32984         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32985         tst-audit3, tst-audit4 and tst-audit5.
32986         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32987         tst-audit6 and tst-audit7.
32988         [$(subdir) = elf] (modules-names): Add audit modules for those
32989         tests.
32990         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32991         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32992         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32993         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32994         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32995         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32996         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32997         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32998         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32999         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
33000         [$(subdir) = elf] (tst-audit3-ENV): New variable.
33001         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
33002         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
33003         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
33004         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
33005         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
33006         Likewise.
33007         [$(subdir) = elf && $(config-cflags-avx) = yes]
33008         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
33009         [$(subdir) = elf && $(config-cflags-avx) = yes]
33010         (CFLAGS-tst-auditmod4a.c): Likewise.
33011         [$(subdir) = elf && $(config-cflags-avx) = yes]
33012         (CFLAGS-tst-auditmod4b.c): Likewise.
33013         [$(subdir) = elf && $(config-cflags-avx) = yes]
33014         (CFLAGS-tst-auditmod6b.c): Likewise.
33015         [$(subdir) = elf && $(config-cflags-avx) = yes]
33016         (CFLAGS-tst-auditmod6c.c): Likewise.
33017         [$(subdir) = elf && $(config-cflags-avx) = yes]
33018         (CFLAGS-tst-auditmod7b.c): Likewise.
33019         * elf/tst-audit3.c: Move to ...
33020         * sysdeps/x86_64/tst-audit3.c: ... here.
33021         * elf/tst-audit4.c: Move to ...
33022         * sysdeps/x86_64/tst-audit4.c: ... here.
33023         * elf/tst-audit5.c: Move to ...
33024         * sysdeps/x86_64/tst-audit5.c: ... here.
33025         * elf/tst-audit6.c: Move to ...
33026         * sysdeps/x86_64/tst-audit6.c: ... here.
33027         * elf/tst-audit7.c: Move to ...
33028         * sysdeps/x86_64/tst-audit7.c: ... here.
33029         * elf/tst-auditmod3a.c: Move to ...
33030         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33031         * elf/tst-auditmod3b.c: Move to ...
33032         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33033         * elf/tst-auditmod4a.c: Move to ...
33034         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33035         * elf/tst-auditmod4b.c: Move to ...
33036         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33037         * elf/tst-auditmod5a.c: Move to ...
33038         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33039         * elf/tst-auditmod5b.c: Move to ...
33040         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33041         * elf/tst-auditmod6a.c: Move to ...
33042         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33043         * elf/tst-auditmod6b.c: Move to ...
33044         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33045         * elf/tst-auditmod6c.c: Move to ...
33046         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33047         * elf/tst-auditmod7a.c: Move to ...
33048         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33049         * elf/tst-auditmod7b.c: Move to ...
33050         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33052 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33054         [BZ #15366]
33055         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33056         define unconditionally.
33057         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33058         define unconditionally.
33059         (INT8_C, INT16_C, etc.): Likewise.
33061 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33063         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33064         __ehdr_start with hidden visibility.
33066         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33068 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33070         * math/libm-test.inc (cos_test): Use accurate hex constants.
33071         (sincost_test): Likewise.
33073 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33075         * math/libm-test.inc (catan_test): Add more tests.
33076         (catanh_test): Likewise.
33078         * math/s_catanf.c (__catanf): Use suffixed floating-point
33079         constants.
33080         * math/s_catanhf.c (__catanhf): Likewise.
33081         * math/s_catanhl.c (__catanhl): Likewise.
33082         * math/s_catanl.c (__catanl): Likewise.
33084         [BZ #15394]
33085         * math/s_catan.c (__catan): Calculate imaginary part of result
33086         with log1p not log unless computing log of number close to 0.
33087         * math/s_catanf.c (__catanf): Likewise.
33088         * math/s_catanl.c (__catanl): Likewise.
33089         * math/s_catanh.c (__catanh): Calculate real part of result with
33090         log1p not log unless computing log of number close to 0.
33091         * math/s_catanhf.c (__catanhf): Likewise.
33092         * math/s_catanhl.c (__catanhl): Likewise.
33093         * math/libm-test.inc (catan_test): Add more tests.
33094         (catanh_test): Likewise.
33095         * sysdeps/i386/fpu/libm-test-ulps: Update.
33096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33098 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33100         * benchtests/Makefile: Mention files in which fast and slow
33101         paths of math functions are implemented.
33103 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33105         * sysdeps/posix/timespec_get.c: New file.
33107 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33109         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33110         POWER.
33111         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33112         for POWER.
33113         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33114         powerpc/power5/fpu folders.
33115         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33116         * benchtests/Makefile: Add modf testcase.
33117         * benchtests/bench-modf.c: New file: Benchmark test for mo
33119 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33121         [BZ #14888]
33122         * time/Makefile (tests): Add tst-strptime-whitespace.
33123         * time/strptime_l.c (get_number): Use ISSPACE.
33124         (__strptime_internal): Likewise.
33125         * time/tst-strptime-whitespace.c: New test case.
33127 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33129         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33130         member.
33131         (_nss_files_init): Set it here.
33133 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33135         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33136         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33137         unsigned.
33139 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33141         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33143 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33145         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33146         size just once.
33148 2013-04-21  David S. Miller  <davem@davemloft.net>
33150         * po/ru.po: Update Russion translation from translation project.
33152 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33154         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33155         and setfsgid.
33157 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33159         * configure.in: Remove i386 configure warning. Remove i386 case.
33160         * configure: Regenerate.
33161         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33162         Add example to error message.
33163         * sysdeps/i386/configure: Regenerate.
33165 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33167         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33168         slowtan.
33169         * benchtests/cos-inputs: New file.
33170         * benchtests/slowcos-inputs: New file.
33171         * benchtests/slowcos.c: New file.
33172         * benchtests/slowtan-inputs: New file.
33173         * benchtests/slowtan.c: New file.
33174         * benchtests/tan-inputs: New file.
33176 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33178         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33179         considered kosher.
33181 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33183         * benchtests/Makefile: Include cppflags-iterator.mk to add
33184         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33186         * Makefile.in (bench-clean): New target.
33187         * benchtests/Makefile (bench-clean): Likewise.
33189 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33191         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33193 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33195         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33197 2013-04-15  Andreas Schwab  <schwab@suse.de>
33199         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33200         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33201         * nscd/pwdcache.c (cache_addpw): Likewise.
33202         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33203         more than recsize.
33205 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33207         * benchtests/Makefile (bench): Write all output to
33208         bench-out.tmp together.
33210 2013-04-15  Andreas Schwab  <schwab@suse.de>
33212         * nscd/nscd.c (main): Don't fork again after closing files.
33214 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33216         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33218         * benchtests/Rules (bench-deps): Collect dependencies into a
33219         single variable.  Add Makefile to dependencies.
33220         ($(objpfx)bench-%.c): Depend on bench-deps.
33222 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33223             Xavier Roche  <roche+kml2@exalead.com>
33225         [BZ #15361]
33226         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33227         just that it's a file descriptor.
33228         * manual/llio.texi (Synchronizing AIO Operations): Update description
33229         for EBADF error from aio_fsync.
33231 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33233         * Rules (bench): Move target definition...
33234         * benchtests/Makefile: ... here.
33236 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33238         * math/libm-test.inc (cos_test): Fix PI/2 test.
33239         (sincos_test): Likewise.
33240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33241         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33243 2013-04-11  Andreas Schwab  <schwab@suse.de>
33245         [BZ #13988]
33246         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33247         accept exponent character only when digits were seen.
33248         * stdio-common/Makefile (tests): Add bug26.
33249         * stdio-common/bug26.c: New file.
33251         [BZ #14293]
33252         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33253         non-freeable.
33255 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33257         * Makeconfig (rtld-prefix): Define built linker prefix.
33258         * Rules (run-bench): Use it.
33259         * math/Makefile (run-regen-ulps): Likewise.
33261         * Rules (bench): Remove eval.
33263 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33264             Roland McGrath  <roland@hack.frob.com>
33265             Ondrej Bilka  <neleai@seznam.cz>
33267         [BZ #15346]
33268         * time/getdate.c: Include ctype.h and alloca.h.
33269         (__getdate_r): Trim leading and trailing spaces of input.
33270         * time/tst-getdate.c (tests): Add tests with leading and
33271         trailing spaces.
33273 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33275         [BZ #14280]
33276         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33277         when computing value.
33279 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33281         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33282         Use testrun.sh to run libm tests.
33284         [BZ #15309]
33285         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33287 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33289         [BZ #15264]
33290         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33292 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33294         * Makefile.in (regen-ulps): New target.
33295         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33296         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33297         [ifneq (no,$(PERL)] (regen-ulps): New target.
33298         [ifeq (no,$(PERL)] (regen-ulps): New target.
33299         * math/libm-test.inc (ulps_file_name): Define.
33300         (output_dir): New variable.
33301         (options): Add "output-dir" option.
33302         (parse_opt): Handle 'o' case.
33303         (main): If output_dir is non-NULL use it as a prefix
33304         otherwise use "".
33305         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33307 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33309         [BZ #10060, #10062]
33310         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33311         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33312         fail configure if __sync_val_compare_and_swap is not inlined.
33313         * sysdeps/i386/configure: Regenerate.
33314         * configure.in: Build for i686 when configured for i386.
33315         * configure: Regenerate.
33316         * README: Remove i386 reference.
33318 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33320         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33321         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33323 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33325         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33326         (lmsnanval): New variables.
33327         (F): Add conversion tests.
33328         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33329         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33331         * stdio-common/tstdiomisc.c (F): Properly collect individual
33332         tests' results.
33334         [BZ #14686, #15336]
33335         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33336         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33337         Instead, use input NaN values or generate a qNaN by arithmetic
33338         operation.  Also fix bugs to comply with the standard.
33339         * math/libm-test.inc (remainder_test): Add more tests.
33341         [BZ #15335, #15342]
33342         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33344         input NaN values or generate a qNaN by arithmetic operation.
33346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33347         unreachable code.
33349         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33350         definitions.
33352 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33354         [BZ #14478]
33355         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33356         underflowed result.
33357         * math/s_cexpf.c (__cexpf): Likewise.
33358         * math/s_cexpl.c (__cexpl): Likewise.
33359         * math/libm-test.inc (cexp_test): Add more tests.
33361 2013-04-03  Andreas Schwab  <schwab@suse.de>
33363         [BZ #15330]
33364         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33365         order arrays from heap if bigger than alloca cutoff.
33367 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33369         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33370         (SNAN_TESTS_double): Refer to GCC PR56831.
33371         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33372         GCC PR56828.
33374 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33376         * Rules (bench): Move bench.out after the run is complete.
33378         * Rules (bench): Echo currently running benchmark.
33380         * benchtests/Makefile (bench): Add atan and slowatan.
33381         * benchtests/atan-inputs: New file.
33382         * benchtests/slowatan-inputs: New file.
33383         * benchtests/slowatan.c: New file.
33385         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33386         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33387         its value.
33389         [BZ #15305]
33390         * sysdeps/unix/sysv/linux/kernel-features.h
33391         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33392         __ASSUME_XFS_RESTRICTED_CHOWN.
33393         * sysdeps/unix/sysv/linux/pathconf.c
33394         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33395         Save and restore errno.
33397 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33399         [BZ #15327]
33400         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33401         arguments using __kernel_casinh.
33402         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33403         arguments using __kernel_casinhf.
33404         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33405         arguments using __kernel_casinhl.
33406         * math/libm-test.inc (cacosh_test): Add more tests.
33407         * sysdeps/i386/fpu/libm-test-ulps: Update.
33408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33410 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33412         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33413         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33415         * bench/Makefile (bench): Add sin and slowsin.
33416         * benchtests/sin-inputs: New file.
33417         * benchtests/slowsin-inputs: New file.
33418         * benchtests/slowsin.c: New file.
33420         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33421         (bench): Add slowexp and slowpow.
33422         (exp-ITER): Increase iterations.
33423         (pow-ITER): Likewise.
33424         * benchtests/exp-inputs: Change input.
33425         * benchtests/pow-inputs: Likewise.
33426         * benchtests/slowexp-inputs: New file.
33427         * benchtests/slowexp.c: New file.
33428         * benchtests/slowpow-inputs: New file.
33429         * benchtests/slowpow.c: New file.
33431 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33433         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33434         instructions.
33435         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33436         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33437         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33438         * benchtests/Makefile: Add rint benchtest.
33439         * benchtests/rint-inputs: Input for rint benchtest.
33441 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33443         * Versions.def (libm): Add GLIBC_2.18.
33444         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33445         hidden libm prototypes.
33446         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33447         * math/Makefile (libm-calls): Add s_issignaling.
33448         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33449         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33450         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33451         declaration.
33452         * math/math.h [__USE_GNU] (issignaling): New macro.
33453         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33454         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33455         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33456         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33457         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33458         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33459         * manual/arith.texi (issignaling): New section.
33460         * manual/libm-err-tab.pl (@all_functions): Update comment.
33461         * math/gen-libm-test.pl (parse_args): Apply special handling for
33462         issignaling.
33463         * math/libm-test.inc (print_float, issignaling_test): New
33464         functions.
33465         (check_float_internal): Add issignaling checks.
33466         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33467         default definition.
33468         * sysdeps/powerpc/math-tests.h: New file.
33469         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33470         tests.
33471         * math/test-snan.c (TEST_FUNC): Likewise.
33473 2013-03-30  David S. Miller  <davem@davemloft.net>
33475         * po/de.po: Update from translation team.
33477 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33479         [BZ #10357]
33480         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33481         imaginary part less than 1.0 and real part less than 0.5
33482         specially.
33483         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33484         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33485         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33486         (cacos_test): Add more tests.
33487         (casin_test): Likewise.
33488         (casinh_test): Likewise.
33489         * sysdeps/i386/fpu/libm-test-ulps: Update.
33490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33492 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33494         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33495         ONE with its value.
33497         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33498         (__pow_mp): Replace ONE and MONE with their values.
33499         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33500         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33501         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33502         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33503         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33504         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33506         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33508         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33509         (__pow_mp): Replace ZERO and MZERO with their values.
33510         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33512         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33513         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33514         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33515         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33516         (__sqr): Likewise.
33518         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33520         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33522 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33524         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33525         Declare with __attribute__ ((weak)).
33526         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33527         Call __call_tls_dtors only if it's not NULL.
33529 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33531         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33532         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33533         magic __ehdr_start linker symbol if it's defined.
33534         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33535         them up here if it was already done.
33537         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33538         (_dl_aux_init): Use const in cast when setting it.
33539         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33540         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33541         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33543         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33544         Declare them here.
33545         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33546         * csu/libc-tls.c: Nor here.
33547         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33549         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33550         (__libc_message): Never call vsyslog.
33552 2013-03-28  Alan Modra  <amodra@gmail.com>
33554         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33555         Define as empty.
33556         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33557         Likewise.
33559 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33561         [BZ #15214]
33562         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33563         underflow.
33564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33566 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33568         [BZ #15304]
33569         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33570         Don't add gid passed as argument.
33572         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33574 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33576         [BZ #15307]
33577         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33578         imaginary part between 1.0 and 1.5 and real part less than 0.5
33579         specially.
33580         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33581         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33582         * math/libm-test.inc (cacos_test): Add more tests.
33583         (casin_test): Likewise.
33584         (casinh_test): Likewise.
33585         * sysdeps/i386/fpu/libm-test-ulps: Update.
33586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33588 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33590         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33591         constants.
33592         (norm): Likewise.
33593         (denorm): Likewise.
33594         (__dbl_mp): Likewise.
33595         (add_magnitudes): Likewise.
33596         (sub_magnitudes): Likewise.
33597         (__add): Likewise.
33598         (__sub): Likewise.
33599         (__mul): Likewise.
33600         (__sqr): Likewise.
33601         (__inv): Likewise.
33602         (__dvd): Likewise.
33604         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33605         commented code.
33606         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33607         (__dubcos): Likewise.
33608         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33609         (__ieee754_acos): Likewise.
33610         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33611         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33612         (__exp1): Likewise.
33613         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33615         (log1): Likewise.
33616         (my_log2): Likewise.
33617         (checkint): Likewise.
33618         * sysdeps/ieee754/dbl-64/e_remainder.c
33619         (__ieee754_remainder): Likewise.
33620         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33622         (bsloww): Likewise.
33623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33625         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33626         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33627         MANTISSA_STORE_T to store computations on mantissa.  Use
33628         macros for rounding and division.
33629         (denorm): Likewise.
33630         (__dbl_mp): Likewise.
33631         (add_magnitudes): Likewise.
33632         (sub_magnitudes): Likewise.
33633         (__mul): Likewise.
33634         (__sqr): Likewise.
33635         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33636         powers of two in terms of TWOPOW macro.
33637         (mp_no): Make type of mantissa as MANTISSA_T.
33638         [!RADIXI]: Define RADIXI.
33639         [!TWO52]: Define TWO52.
33640         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33642 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33644         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33645         llroundl symbol when building for PPC32.
33647 2013-03-24  Mark H Weaver  <mhw@netris.org>
33649         * manual/arith.texi (Normalization Functions): Fix prototypes for
33650         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33652 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33654         [BZ #13889]
33655         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33656         high value to check if expl overflow.
33657         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33658         to check for underflow and overflow.
33659         * math/libm-test.inc: Add exp test.
33661 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33663         [BZ #11120]
33664         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33665         with NOT_IN_libc.
33667 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33669         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33670         symbol.
33672 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33674         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33675         wrap blocks consisting of several statements.
33677         * sysdeps/generic/math-tests.h: New file.
33678         * sysdeps/i386/fpu/math-tests.h: Likewise.
33679         * math/test-snan.c: Include it.
33680         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33682 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33684         [BZ #15285]
33685         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33686         (__ieee754_j0l): Do not improve calculations using cos of twice
33687         input for inputs above LDBL_MAX / 2.0L.
33688         (__ieee754_y0l): Likewise.
33689         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33690         (__ieee754_j1l): Do not improve calculations using cos of twice
33691         input for inputs above LDBL_MAX / 2.0L.
33692         (__ieee754_y1l): Likewise.
33693         * math/libm-test.inc (j0_test): Add another test.
33694         (j1_test): Likewise.
33695         (y0_test): Likewise.
33696         (y1_test): Likewise.
33697         * sysdeps/i386/fpu/libm-test-ulps: Update.
33699 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33701         * Rules ($(objpfx)bench-%.c): Include code from a C source
33702         file.
33704 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33706         [BZ #15287]
33707         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33708         imaginary part 1.0 and real part less than 0.5 specially.
33709         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33710         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33711         * math/libm-test.inc (cacos_test): Add more tests.
33712         (casin_test): Likewise.
33713         (casinh_test): Likewise.
33714         * sysdeps/i386/fpu/libm-test-ulps: Update.
33715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33717 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33719         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33720         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33722 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33724         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33725         * config.make.in (config-cflags-sse4): Remove variable.
33726         (config-cflags-avx): Likewise.
33727         (config-cflags-sse2avx): Likewise.
33728         (config-cflags-novzeroupper): Likewise.
33729         (config-asflags-i686): Likewise.
33730         (have-mfma4): Likewise.
33731         (have-as-vis3): Likewise.
33732         (MIG): Likewise.
33733         * configure.in (MIG): Do not AC_SUBST.
33734         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33735         (libc_cv_cc_sse4): Do not AC_SUBST.
33736         (libc_cv_cc_avx): Likewise.
33737         (libc_cv_cc_sse2avx): Likewise.
33738         (libc_cv_cc_novzeroupper): Likewise.
33739         (libc_cv_cc_fma4): Likewise.
33740         (libc_cv_as_i686): Likewise.
33741         (libc_cv_sparc_as_vis3): Likewise.
33742         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33743         LIBC_CONFIG_VAR.
33744         (config-asflags-i686): Likewise.
33745         (config-cflags-avx): Likewise.
33746         (config-cflags-sse2avx): Likewise.
33747         (have-mfma4): Likewise.
33748         (config-cflags-novzeroupper): Likewise.
33749         * sysdeps/mach/configure.in (MIG): Likewise.
33750         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33751         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33752         LIBC_CONFIG_VAR.
33753         (config-cflags-avx): Likewise.
33754         (config-cflags-sse2avx): Likewise.
33755         (have-mfma4): Likewise.
33756         (config-cflags-novzeroupper): Likewise.
33757         * configure: Regenerated.
33758         * sysdeps/i386/configure: Likewise.
33759         * sysdeps/mach/configure: Likewise.
33760         * sysdeps/sparc/configure: Likewise.
33761         * sysdeps/x86_64/configure: Likewise.
33763 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33765         [BZ #14812]
33766         * locale/programs/localedef.c (options): Put N_ translation marker
33767         on argument names, not just descriptions.
33769 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33771         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33773 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33775         [BZ #14176]
33776         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33778 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33780         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33781         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33782         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33783         [!BEFORE_ABORT] (before_abort): New function.
33784         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33785         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33786         (writev_for_fatal): New function.
33787         (WRITEV_FOR_FATAL): New macro; call that.
33788         (backtrace_and_maps): New function.
33789         (BEFORE_ABORT): New macro; call that.
33790         (struct str_list): Type removed.
33791         (__libc_message, __libc_fatal): Functions removed.
33792         Include <sysdeps/posix/libc_fatal.c> instead.
33794 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33796         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33797         constants.
33798         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33799         double constants.
33801 2013-03-19  Andreas Schwab  <schwab@suse.de>
33803         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33804         * sysdeps/gnu/configure: Regenerate.
33806         * configure.in: Substitute libc_cv_rtlddir.
33807         * configure: Regenerate.
33808         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33809         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33810         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33811         * elf/Makefile (install-others, CFLAGS-interp.c)
33812         (ldso_install, common-ldd-rewrite): Likewise.
33813         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33814         $(inst_slibdir)/$(rtld-installed-name).
33815         * scripts/rellns-sh: Add -p option.
33816         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33817         for source.
33819 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33821         * manual/nptl.texi: Renamed to ...
33822         * manual/threads.texi: ... this.
33823         * manual/Makefile (chapters): Update.
33825 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33827         [BZ #14812]
33828         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33829         on argument names, not just descriptions.
33830         * malloc/memusagestat.c (options): Likewise.
33831         * nss/getent.c (options): Likewise.
33833 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33835         [BZ #14812]
33836         * iconv/iconv_prog.c (options): Put N_ translation marker
33837         on argument names, not just descriptions.
33838         * iconv/iconvconfig.c (options): Likewise.
33840 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33842         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33843         implementation which is faster on all x86_64 architectures.
33844         Tested on AMD, Intel Nehalem, SNB, IVB.
33845         * sysdeps/x86_64/strnlen.S: Likewise.
33847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33848         Remove all multiarch strlen and strnlen versions.
33849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33850         Remove strlen and strnlen related parts.
33852         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33853         Inline strlen part.
33854         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33856         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33857         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33858         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33859         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33860         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33861         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33863 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33865         * manual/memory.texi (Malloc Tunable Parameters):
33866         Sort parameters alphabetically. Add comments for missing entries.
33868 2013-03-17  David S. Miller  <davem@davemloft.net>
33870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33872 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33874         [BZ #15283]
33875         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33876         for arguments at most half maximum finite value.
33877         * math/libm-test.inc (j0_test): Add more tests.
33878         (j1_test): Likewise.
33879         (y0_test): Likewise.
33880         (y1_test): Likewise.
33881         * sysdeps/i386/fpu/libm-test-ulps: Update.
33882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33884         [BZ #14155]
33885         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33886         1 / x and functions P and Q for arguments above 0x1p256L.
33887         (__ieee754_y0l): Likewise.
33888         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33889         (__ieee754_y1l): Likewise.
33890         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33891         (j1_test): Likewise.
33892         (y0_test): Likewise.
33893         (y1_test): Likewise.
33895 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33897         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33898         variable.
33900 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33902         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33903         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33904         zero since it's initialized to EXEC_PAGESIZE.
33906         * sysdeps/unix/sysv/linux/ldsodefs.h
33907         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33908         * sysdeps/generic/ldsodefs.h: ... here.
33910 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33912         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33914         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33915         math/test-snan.c.
33916         * math/test-snan.c: Renamed from
33917         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33918         * math/Makefile (tests): Add test-snan.
33919         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33920         test-powerpc-snan.
33922         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33923         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33924         functions.
33925         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33926         __builtin_nan family of functions.
33927         * math/libm-test.inc (initialize): Initialize qnan_value with
33928         __builtin_nan family of functions.
33929         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33930         Remove variables.
33931         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33932         Remove functions.
33933         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33934         storage class.  Initialize qNaN_var and sNaN_var with
33935         __builtin_nan and __builtin_nans families of functions,
33936         respectively.
33938         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33939         (sqrt_test): Remove duplicate test with qNaN input.
33940         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33941         (round_test, signbit_test, significand_test): Note missing +/-Inf
33942         as well as qNaN tests.
33944         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33945         qNaN_var.  Fix a few strings, too.
33946         * math/libm-test.inc (nan_value): Rename to qnan_value.
33947         * math/gen-libm-test.pl (%beautify): Adjust to that.
33948         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33949         * math/test-misc.c (main): Likewise.
33950         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33951         to __qnan_bytes, and __qnan_union, respectively.
33952         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33953         Likewise.
33954         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33955         and lqnanval, respectively.
33956         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33957         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33958         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33959         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33961         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33962         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33963         doubles.
33965         * math/test-misc.c (main): Fix copy'n'pastos.
33966         * misc/tst-efgcvt.c (special): Likewise.
33968         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33969         Remove declarations.
33971 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33973         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33974         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33975         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33976         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33978 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33980         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33981         macro to return vdso values correctly in IFUNC implementations.
33982         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33983         Optimization by using IFUNC.
33985 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33986             Richard Henderson  <rth@redhat.com>
33987             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33989         * Makefile.in (bench): New target.
33990         * NEWS: Mention the benchmark framework.
33991         * Rules (bench): Likewise.
33992         (binaries-bench): Generate binaries for functions to
33993         benchmark.
33994         * benchtests/Makefile: New makefile for benchmark tests.
33995         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33996         programs.
33997         * benchtests/exp-inputs: New input file for EXP function.
33998         * benchtests/pow-inputs: New input file for POW function.
33999         * scripts/bench.pl: New script to generate source files for
34000         benchmark programs.
34002 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34005         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
34006         computations on mantissa.  Use macros for rounding and
34007         division.
34008         (denorm): Likewise.
34009         (__dbl_mp): Likewise.
34010         (add_magnitudes): Likewise.
34011         (sub_magnitudes): Likewise.
34012         (__mul): Likewise.
34013         (__sqr): Likewise.
34014         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34015         powers of two in terms of TWOPOW macro.
34016         (mp_no): Make type of mantissa as MANTISSA_T.
34017         [!RADIXI]: Define RADIXI.
34018         [!TWO52]: Define TWO52.
34019         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34021         * manual/nptl.texi (cindex): Modify threads to pthreads.
34023 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34025         * sysdeps/x86_64/preconfigure: Regenerated.
34027 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34029         [BZ #14155]
34030         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34031         0x1p28 and above.
34032         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34033         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34034         0x1p28 and above.
34035         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34036         * math/libm-test.inc (j0_test): Do not allow one spurious
34037         underflow exception.
34038         (y1_test): Likewise.
34040 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34042         * manual/Makefile (chapters): Add nptl.
34043         * manual/debug.texi (Debugging Support): Add link to Threads
34044         chapter.
34045         * manual/nptl.texi: New file.
34047         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34049 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34051         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34052         for non-NULL pointer before the memory validity test. Pointed
34053         out by Holger Brunck <holger.brunck@keymile.com>.
34055 2013-03-13  Andreas Schwab  <schwab@suse.de>
34057         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34058         instead of .os.
34060 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34062         * timezone/zic.c: Update from tzcode 2013b.
34064 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34066         * manual/install.texi (Configuring and compiling):
34067         Mention i686 and i586.
34068         * INSTALL: Regenerate.
34070 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34072         * sysdeps/init_array/elf-init.c: New file.
34073         * csu/elf-init.c
34074         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34075         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34077         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34078         __gmon_start__ as global, but as static with a .preinit_array pointer.
34079         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34080         * sysdeps/init_array/crti.S: New file, empty except for comments.
34081         * sysdeps/init_array/crtn.S: Likewise.
34083 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34085         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34086         definining bcopy.
34087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34088         Remove Prefer_SSE_for_memop.
34089         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34090         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34091         HAS_PREFER_SSE_FOR_MEMOP.
34092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34093         memset-x86-64.
34094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34095         Remove bzero, memset ifunc support.
34096         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34097         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34098         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34099         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34101 2013-03-11  Andreas Schwab  <schwab@suse.de>
34103         [BZ #15234]
34104         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34105         by SHLIB_COMPAT.
34106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34107         (GLIBC_2.16): Remove pthread_atfork.
34109 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34111         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34112         (ptestcases.h): Likewise.
34114 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34116         * Makeconfig ($(common-objpfx)config.status): Depend on
34117         sysdeps/*/preconfigure{,.in} too.
34119 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34121         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34122         (__free_hook): Use void * instead of __malloc_ptr_t.
34123         (__malloc_hook): Likewise.
34124         (__realloc_hook): Likewise.
34125         (__memalign_hook): Likewise.
34126         (__after_morecore_hook): Likewise.
34127         * malloc/arena.c (save_malloc_hook): Likewise.
34128         (save_free_hook): Likewise.
34129         * malloc/hooks.c (malloc_hook_ini): Likewise.
34130         (realloc_hook_ini): Likewise.
34131         (memalign_hook_ini): Likewise.
34132         * malloc/malloc.c (malloc_hook_ini): Likewise.
34133         (realloc_hook_ini): Likewise.
34134         (memalign_hook_ini): Likewise.
34135         (__free_hook): Likewise.
34136         (__malloc_hook): Likewise.
34137         (__realloc_hook): Likewise.
34138         (__memalign_hook): Likewise.
34139         (__libc_malloc): Likewise.
34140         (__libc_free): Likewise.
34141         (__libc_realloc): Likewise.
34142         (__libc_memalign): Likewise.
34143         (__libc_valloc): Likewise.
34144         (__libc_pvalloc): Likewise.
34145         (__libc_calloc): Likewise.
34146         (__posix_memalign): Likewise.
34147         * malloc/morecore.c (__sbrk): Likewise.
34148         (__default_morecore): Likewise.
34150         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34152         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34153         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34154         __malloc_ptrdiff_t.
34156         * malloc/malloc.h (__malloc_size_t): Remove macro.
34157         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34158         __malloc_size_t.
34159         (old_memalign_hook): Likewise.
34160         (old_realloc_hook): Likewise.
34161         (struct hdr): Likewise.
34162         (flood): Likewise.
34163         (mallochook): Likewise.
34164         (memalignhook): Likewise.
34165         (reallochook): Likewise.
34166         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34167         (tr_old_realloc_hook): Likewise.
34168         (tr_old_memalign_hook): Likewise.
34169         (tr_mallochook): Likewise.
34170         (tr_reallochook): Likewise.
34171         (tr_memalignhook): Likewise.
34173 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34175         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34176         default_ldbl_pack and using as default implementation.
34177         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34178         implementation.
34179         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34180         redundant definition.
34181         (ldbl_insert_mantissa): Likewise.
34182         (ldbl_canonicalize): Likewise.
34183         (ldbl_nearbyint): Likewise.
34184         (ldbl_pack): Rename to ldbl_pack_ppc.
34185         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34186         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34187         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34189 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34192         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34193         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34194         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34196         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34197         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34198         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34200 2013-03-07  Andreas Jaeger  <aj@suse.de>
34202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34203         bits/mman-linux.h.
34205 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34207         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34208         Include mpa.h and declare __MPEXP.
34209         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34210         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34211         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34212         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34213         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34214         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34215         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34217         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34218         (__slowpow): Use long double EXPL and LOGL functions to
34219         compute POW.
34220         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34221         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34222         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34223         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34224         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34225         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34228         intermediate variable to calculate exponent.
34229         (__sqr): Likewise.
34230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34231         Likewise.
34232         (__sqr): Likewise.
34234         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34235         [!NO__SQR]: Define __sqr.
34236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34237         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34238         sysdeps/ieee754/dbl-64/mpa.c.
34239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34241         [BZ #12723]
34242         * posix/Makefile (tests): Add tst-pathconf.
34243         * posix/tst-pathconf.c: New test case.
34244         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34245         _PC_PIPE_BUF.
34246         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34248 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34250         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34252 2013-03-06  Andreas Jaeger  <aj@suse.de>
34254         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34255         definition via __MAP_ANONYMOUS.
34257         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34258         it's not part of Linux headers.
34260         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34261         (MAP_HUGE_MASK): Define.
34263         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34264         Define.
34265         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34267         Define.
34268         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34269         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34270         Define.
34271         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34272         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34273         Define.
34274         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34276         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34277         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34278         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34279         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34280         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34281         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34283         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34284         Handle f2fs.
34286         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34287         Handle f2fs and efivarfs.
34289         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34290         f2fs.
34292         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34293         (EFIVARFS_MAGIC): Add.
34294         (F2FS_LINK_MAX): Add.
34296 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34298         * stdio-common/vfprintf.c: Replace __builtin_expect with
34299         __glibc_unlikely.
34301 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34303         [BZ #13550]
34304         * sysdeps/generic/bp-sym.h: Remove file.
34305         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34306         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34307         <bp-sym.h> and <bp-asm.h>.
34308         (__longjmp): Don't use BP_SYM.
34309         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34310         and <bp-asm.h>.
34311         (memcpy): Don't use BP_SYM.
34312         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34313         <bp-sym.h> and <bp-asm.h>.
34314         (memcpy): Don't use BP_SYM.
34315         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34316         <bp-asm.h>.
34317         (memcpy): Don't use BP_SYM.
34318         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34319         <bp-asm.h>.
34320         (memset): Don't use BP_SYM.
34321         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34322         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34323         (__bzero): Don't use BP_SYM.
34324         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34325         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34326         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34327         <bp-sym.h> and <bp-asm.h>.
34328         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34329         pointers.
34330         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34331         <bp-sym.h> and <bp-asm.h>.
34332         (memcpy): Don't use BP_SYM.
34333         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34334         <bp-sym.h> and <bp-asm.h>.
34335         (memset): Don't use BP_SYM.
34336         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34337         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34338         (__bzero): Don't use BP_SYM.
34339         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34340         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34341         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34342         <bp-sym.h> and <bp-asm.h>.
34343         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34344         pointers.
34345         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34346         <bp-sym.h> and <bp-asm.h>.
34347         (memcpy): Don't use BP_SYM.
34348         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34349         <bp-sym.h> and <bp-asm.h>.
34350         (memset): Don't use BP_SYM.
34351         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34352         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34353         (__bzero): Don't use BP_SYM.
34354         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34355         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34356         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34357         <bp-sym.h> and <bp-asm.h>.
34358         (__memchr): Don't use BP_SYM.
34359         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34360         <bp-sym.h> and <bp-asm.h>.
34361         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34362         pointers.
34363         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34364         <bp-sym.h> and <bp-asm.h>.
34365         (memcpy): Don't use BP_SYM.
34366         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34367         <bp-sym.h> and <bp-asm.h>.
34368         (__mempcpy): Don't use BP_SYM.
34369         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34370         <bp-sym.h> and <bp-asm.h>.
34371         (__memrchr): Don't use BP_SYM.
34372         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34373         <bp-sym.h> and <bp-asm.h>.
34374         (memset): Don't use BP_SYM.
34375         (__bzero): Likewise.
34376         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34377         <bp-sym.h> and <bp-asm.h>.
34378         (__rawmemchr): Don't use BP_SYM.
34379         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34380         <bp-sym.h> and <bp-asm.h>.
34381         (__STRCMP): Don't use BP_SYM.
34382         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34383         <bp-sym.h> and <bp-asm.h>.
34384         (strchr): Don't use BP_SYM.
34385         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34386         <bp-sym.h> and <bp-asm.h>.
34387         (__strchrnul): Don't use BP_SYM.
34388         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34389         <bp-sym.h> and <bp-asm.h>.
34390         (strlen): Don't use BP_SYM.
34391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34392         <bp-sym.h> and <bp-asm.h>.
34393         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34394         pointers.
34395         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34396         <bp-sym.h> and <bp-asm.h>.
34397         (__strnlen): Don't use BP_SYM.
34398         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34399         <bp-sym.h> and <bp-asm.h>.
34400         (__GI__setjmp): Don't use BP_SYM.
34401         (_setjmp): Likewise.
34402         (__sigsetjmp): Likewise.
34403         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34404         (L(start_addresses)): Don't use BP_SYM.
34405         (_start): Likewise.
34406         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34407         <bp-asm.h>.
34408         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34409         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34410         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34411         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34412         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34413         <bp-asm.h>.
34414         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34415         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34416         about bounded pointers.
34417         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34418         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34419         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34420         <bp-asm.h>.
34421         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34422         about bounded pointers.  Remove GKM FIXME comments.
34423         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34424         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34425         <bp-asm.h>.
34426         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34427         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34428         Remove GKM FIXME comments.
34429         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34430         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34431         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34432         <bp-asm.h>.
34433         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34434         about bounded pointers.  Remove GKM FIXME comment.
34435         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34436         and <bp-asm.h>.
34437         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34438         pointers.
34439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34440         <bp-sym.h> and <bp-asm.h>.
34441         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34443         <bp-sym.h> and <bp-asm.h>.
34444         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34445         comment.
34447 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34449         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34450         call free(NULL).
34452 2013-03-05  David S. Miller  <davem@davemloft.net>
34454         * po/es.po: Update from translation team.
34456 2013-03-05  Andreas Jaeger  <aj@suse.de>
34458         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34459         <bits/mman-linux.h>.
34460         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34461         is fine.
34462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34463         <bits/mman-linux.h> to end of file.
34464         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34465         is fine.
34466         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34467         <bits/mman-linux.h> to end of file.
34468         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34469         is fine.
34470         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34471         <bits/mman-linux.h> to end of file.
34473         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34474         (MCL_CURRENT, MCL_FUTURE): Define here.
34476 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34478         [BZ #15232]
34479         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34480         attribute_hidden.
34481         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34483 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34485         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34486         fourth parameter needed for rt_sigprocmask syscall.
34487         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34488         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34489         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34490         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34491         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34492         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34494 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34496         [BZ #13550]
34497         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34498         comment about bounded pointers.
34499         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34500         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34502 2013-03-04  Andreas Jaeger  <aj@suse.de>
34504         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34505         common definitions.
34507         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34508         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34509         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34510         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34511         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34512         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34514 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34516         [BZ #15055]
34517         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34518         __ieee754_sqrl instead of __sqrl.
34520 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34522         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34523         * sysdeps/powerpc/fpu_control.h: ... here.
34524         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34525         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34526         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34527         * sysdeps/powerpc/bits/mathinline.h: ... here.
34529 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34531         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34532         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34533         to just [NEED_DL_SYSINFO_DSO].
34534         * elf/dl-support.c: Likewise.
34535         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34536         * elf/rtld.c (dl_main): Likewise.
34537         * elf/setup-vdso.h (setup_vdso): Likewise.
34538         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34539         * sysdeps/unix/sysv/linux/dl-sysdep.c
34540         (_dl_discover_osversion): Likewise.
34542 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34544         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34545         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34547 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34549         * NEWS: Mention libm performance improvements and non-x86 PI
34550         futex support.
34552         * csu/libc-start.c (__pthread_initialize_minimal): Change
34553         function arguments.
34554         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34556 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34558         [BZ #13550]
34559         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34560         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34561         <bp-sym.h> and <bp-asm.h>.
34562         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34563         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34564         and <bp-asm.h>.
34565         (memcpy): Don't use BP_SYM.
34566         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34567         <bp-asm.h>.
34568         (__mpn_add_n): Don't use BP_SYM.
34569         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34570         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34571         and <bp-asm.h>.
34572         (__mpn_addmul_1): Don't use BP_SYM.
34573         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34574         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34575         <bp-sym.h>.
34576         (_setjmp): Don't use BP_SYM.
34577         (__novmx_setjmp): Likewise.
34578         (__GI__setjmp): Likewise.
34579         (__vmx_setjmp): Likewise.
34580         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34581         <bp-sym.h>.
34582         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34583         (__bzero): Don't use BP_SYM.
34584         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34585         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34586         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34587         <bp-sym.h> and <bp-asm.h>.
34588         (memcpy): Don't use BP_SYM.
34589         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34590         <bp-sym.h> and <bp-asm.h>.
34591         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34593         <bp-sym.h> and <bp-asm.h>.
34594         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34595         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34596         <bp-asm.h>.
34597         (__mpn_lshift): Don't use BP_SYM.
34598         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34599         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34600         <bp-asm.h>.
34601         (memset): Don't use BP_SYM.
34602         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34603         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34604         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34605         <bp-asm.h>.
34606         (__mpn_mul_1): Don't use BP_SYM.
34607         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34608         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34609         <bp-sym.h> and <bp-asm.h>.
34610         (memcmp): Don't use BP_SYM.
34611         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34612         <bp-sym.h> and <bp-asm.h>.
34613         (memcpy): Don't use BP_SYM.
34614         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34615         <bp-sym.h> and <bp-asm.h>.
34616         (memset): Don't use BP_SYM.
34617         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34618         <bp-sym.h> and <bp-asm.h>.
34619         (strncmp): Don't use BP_SYM.
34620         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34621         <bp-sym.h> and <bp-asm.h>.
34622         (memcpy): Don't use BP_SYM.
34623         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34624         <bp-sym.h> and <bp-asm.h>.
34625         (memset): Don't use BP_SYM.
34626         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34627         <bp-sym.h> and <bp-asm.h>.
34628         (__memchr): Don't use BP_SYM.
34629         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34630         <bp-sym.h> and <bp-asm.h>.
34631         (memcmp): Don't use BP_SYM.
34632         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34633         <bp-sym.h> and <bp-asm.h>.
34634         (memcpy): Don't use BP_SYM.
34635         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34636         <bp-sym.h> and <bp-asm.h>.
34637         (__mempcpy): Don't use BP_SYM.
34638         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34639         <bp-sym.h> and <bp-asm.h>.
34640         (__memrchr): Don't use BP_SYM.
34641         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34642         <bp-sym.h> and <bp-asm.h>.
34643         (memset): Don't use BP_SYM.
34644         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34645         <bp-sym.h> and <bp-asm.h>.
34646         (__rawmemchr): Don't use BP_SYM.
34647         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34648         <bp-sym.h> and <bp-asm.h>.
34649         (__STRCMP): Don't use BP_SYM.
34650         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34651         <bp-sym.h> and <bp-asm.h>.
34652         (strchr): Don't use BP_SYM.
34653         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34654         <bp-sym.h> and <bp-asm.h>.
34655         (__strchrnul): Don't use BP_SYM.
34656         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34657         <bp-sym.h> and <bp-asm.h>.
34658         (strlen): Don't use BP_SYM.
34659         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34660         <bp-sym.h> and <bp-asm.h>.
34661         (strncmp): Don't use BP_SYM.
34662         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34663         <bp-sym.h> and <bp-asm.h>.
34664         (__strnlen): Don't use BP_SYM.
34665         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34666         <bp-asm.h>.
34667         (__mpn_rshift): Don't use BP_SYM.
34668         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34669         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34670         <bp-sym.h> and <bp-asm.h>.
34671         (__sigsetjmp): Don't use BP_SYM.
34672         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34673         (L(start_addresses)): Don't use BP_SYM.
34674         (_start): Likewise.
34675         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34676         <bp-asm.h>.
34677         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34678         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34679         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34680         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34681         <bp-asm.h>.
34682         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34683         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34684         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34685         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34686         <bp-asm.h>.
34687         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34688         comments.
34689         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34690         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34691         <bp-asm.h>.
34692         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34693         FIXME comments.
34694         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34695         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34696         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34697         <bp-asm.h>.
34698         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34699         comment.
34700         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34701         and <bp-asm.h>.
34702         (strncmp): Don't use BP_SYM,
34703         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34704         <bp-asm.h>.
34705         (__mpn_sub_n): Don't use BP_SYM.
34706         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34707         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34708         and <bp-asm.h>.
34709         (__mpn_submul_1): Don't use BP_SYM.
34710         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34712         <bp-sym.h> and <bp-asm.h>.
34713         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34715         <bp-sym.h> and <bp-asm.h>.
34716         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34717         comment.
34719 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34722         Use ZK to minimize writes to Z.
34723         (sub_magnitudes): Simplify code a bit.
34724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34725         Use ZK to minimize writes to Z.
34726         (sub_magnitudes): Simplify code a bit.
34728 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34730         * csu/gmon-start.c: Add special exception to license text.
34732 2013-02-27  Richard Henderson  <rth@redhat.com>
34734         * scripts/config.guess: Update from config.git.
34735         * scripts/config.sub: Likewise.
34737 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34739         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34741         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34743         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34745         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34747         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34749 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34751         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34752         [$(build-shared = yes].
34754 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34756         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34757         (__mul): Reduce iterations for calculating mantissa.
34759         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34760         MPTWO.
34761         (__mpranred): Likewise.
34763         [BZ #15160]
34764         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34765         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34767 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34769         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34770         Define __attribute__.
34772 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34774         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34775         unused.
34776         * posix/regex_internal.h (__attribute): Remove.
34777         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34778         (re_string_context_at): Likewise.
34779         (bitset_not): Use __attribute__ and mark function as possibly
34780         unused.
34781         (bitset_merge): Likewise.
34782         (bitset_mask): Likewise.
34783         (re_string_char_size_at): Likewise.
34784         (re_string_wchar_at): Likewise.
34785         (re_string_elem_size_at): Likewise.
34787 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34789         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34790         code.
34791         (cc32): Likewise.
34793         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34794         (__acr): Likewise.
34795         (__cpy): Likewise.
34796         (norm): Likewise.
34797         (denorm): Likewise.
34798         (__dbl_mp): Likewise.
34799         (add_magnitudes): Likewise.
34800         (sub_magnitudes): Likewise.
34801         (__mul): Likewise.
34802         (__inv): Likewise.
34804         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34805         style.
34807         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34808         style.
34810         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34811         code.
34813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34814         up changes with default code.
34815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34816         Likewise.
34818 2013-02-24  Allan McRae  <allan@archlinux.org>
34820         * manual/socket.texi (The Internet Namespace): Order menu items
34821         to match that in the file.
34823         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34824         node listing of the info page menu.
34826 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34828         [BZ #13550]
34829         * sysdeps/i386/bp-asm.h: Remove file.
34830         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34831         (PARMS): Do not use macros from bp-asm.h.
34832         (S1): Likewise.
34833         (S2): Likewise.
34834         (SIZE): Likewise.
34835         (__mpn_add_n): Do not use BP_SYM
34836         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34837         "bp-asm.h".
34838         (PARMS): Do not use macros from bp-asm.h.
34839         (S1): Likewise.
34840         (SIZE): Likewise.
34841         (__mpn_addmul_1): Do not use BP_SYM
34842         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34843         "bp-asm.h".
34844         (PARMS): Do not use macros from bp-asm.h.
34845         (SIGMSK): Likewise.
34846         (_setjmp): Likewise.  Do not use BP_SYM.
34847         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34848         "bp-asm.h".
34849         (PARMS): Do not use macros from bp-asm.h.
34850         (SIGMSK): Likewise.
34851         (setjmp): Likewise.  Do not use BP_SYM.
34852         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34853         "bp-asm.h".
34854         (PARMS): Do not use macros from bp-asm.h.
34855         (__frexp): Do not use BP_SYM.
34856         (frexp): Likewise.
34857         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34858         "bp-asm.h".
34859         (PARMS): Do not use macros from bp-asm.h.
34860         (__frexpf): Do not use BP_SYM.
34861         (frexpf): Likewise.
34862         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34863         "bp-asm.h".
34864         (PARMS): Do not use macros from bp-asm.h.
34865         (__frexpl): Do not use BP_SYM.
34866         (frexpl): Likewise.
34867         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34868         "bp-asm.h".
34869         (PARMS): Do not use macros from bp-asm.h.
34870         (__remquo): Do not use BP_SYM.
34871         (remquo): Likewise.
34872         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34873         "bp-asm.h".
34874         (PARMS): Do not use macros from bp-asm.h.
34875         (__remquof): Do not use BP_SYM.
34876         (remquof): Likewise.
34877         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34878         "bp-asm.h".
34879         (PARMS): Do not use macros from bp-asm.h.
34880         (__remquol): Do not use BP_SYM.
34881         (remquol): Likewise.
34882         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34883         "bp-asm.h".
34884         (PARMS): Do not use macros from bp-asm.h.
34885         (DEST): Likewise.
34886         (SRC): Likewise.
34887         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34888         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34889         "bp-asm.h".
34890         (PARMS): Do not use macros from bp-asm.h.
34891         (strlen): Do not use BP_SYM.
34892         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34893         "bp-asm.h".
34894         (PARMS): Do not use macros from bp-asm.h.
34895         (S1): Likewise.
34896         (S2): Likewise.
34897         (SIZE): Likewise.
34898         (__mpn_add_n): Do not use BP_SYM.
34899         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34900         "bp-asm.h".
34901         (PARMS): Do not use macros from bp-asm.h.
34902         (S1): Likewise.
34903         (SIZE): Likewise.
34904         (__mpn_addmul_1): Do not use BP_SYM.
34905         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34906         weak_alias.
34907         (bzero): Likewise.
34908         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34909         "bp-asm.h".
34910         (PARMS): Do not use macros from bp-asm.h.
34911         (S): Likewise.
34912         (SIZE): Likewise.
34913         (__mpn_lshift): Do not use BP_SYM.
34914         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34915         "bp-asm.h".
34916         (PARMS): Do not use macros from bp-asm.h.
34917         (DEST): Likewise.
34918         (SRC): Likewise.
34919         (LEN): Likewise.
34920         (memcpy): Likewise.  Do not use BP_SYM.
34921         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34922         libc_hidden_def and weak_alias.
34923         (mempcpy): Do not use BP_SYM in weak_alias.
34924         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34925         "bp-asm.h".
34926         (PARMS): Do not use macros from bp-asm.h.
34927         (DEST): Likewise.
34928         (LEN): Likewise.
34929         [!BZERO_P] (CHR): Likewise.
34930         (memset): Likewise.  Do not use BP_SYM.
34931         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34932         "bp-asm.h".
34933         (PARMS): Do not use macros from bp-asm.h.
34934         (S1): Likewise.
34935         (SIZE): Likewise.
34936         (__mpn_mul_1): Do not use BP_SYM.
34937         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34938         "bp-asm.h".
34939         (PARMS): Do not use macros from bp-asm.h.
34940         (S): Likewise.
34941         (SIZE): Likewise.
34942         (__mpn_rshift): Do not use BP_SYM.
34943         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34944         "bp-asm.h".
34945         (PARMS): Do not use macros from bp-asm.h.
34946         (STR): Likewise.
34947         (CHR): Likewise.
34948         (strchr): Likewise.  Do not use BP_SYM.
34949         (index): Do not use BP_SYM in weak_alias.
34950         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34951         "bp-asm.h".
34952         (PARMS): Do not use macros from bp-asm.h.
34953         (DEST): Likewise.
34954         (SRC): Likewise.
34955         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34956         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34957         "bp-asm.h".
34958         (PARMS): Do not use macros from bp-asm.h.
34959         (strlen): Do not use BP_SYM.
34960         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34961         "bp-asm.h".
34962         (PARMS): Do not use macros from bp-asm.h.
34963         (S1): Likewise.
34964         (S2): Likewise.
34965         (SIZE): Likewise.
34966         (__mpn_sub_n): Do not use BP_SYM.
34967         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34968         "bp-asm.h".
34969         (PARMS): Do not use macros from bp-asm.h.
34970         (S1): Likewise.
34971         (SIZE): Likewise.
34972         (__mpn_submul_1): Do not use BP_SYM.
34973         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34974         "bp-asm.h".
34975         (PARMS): Do not use macros from bp-asm.h.
34976         (S1): Likewise.
34977         (S2): Likewise.
34978         (SIZE): Likewise.
34979         (__mpn_add_n): Do not use BP_SYM.
34980         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34981         weak_alias.
34982         (bzero): Likewise.
34983         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34984         "bp-asm.h".
34985         (PARMS): Do not use macros from bp-asm.h.
34986         (BLK2): Likewise.
34987         (LEN): Likewise.
34988         (memcmp): Do not use BP_SYM.
34989         (bcmp): Do not use BP_SYM in weak_alias.
34990         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34991         "bp-asm.h".
34992         (PARMS): Do not use macros from bp-asm.h.
34993         (DEST): Likewise.
34994         (SRC): Likewise.
34995         (LEN): Likewise.
34996         (memcpy): Likewise.  Do not use BP_SYM.
34997         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34998         "bp-asm.h".
34999         (PARMS): Do not use macros from bp-asm.h.
35000         (DEST): Likewise.
35001         (SRC): Likewise.
35002         (LEN): Likewise.
35003         (memmove): Likewise.  Do not use BP_SYM.
35004         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
35005         "bp-asm.h".
35006         (PARMS): Do not use macros from bp-asm.h.
35007         (DEST): Likewise.
35008         (SRC): Likewise.
35009         (LEN): Likewise.
35010         (__mempcpy): Likewise.  Do not use BP_SYM.
35011         (mempcpy): Do not use BP_SYM in weak_alias.
35012         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35013         "bp-asm.h".
35014         (PARMS): Do not use macros from bp-asm.h.
35015         (DEST): Likewise.
35016         (LEN): Likewise.
35017         [!BZERO_P] (CHR): Likewise.
35018         (memset): Likewise.  Do not use BP_SYM.
35019         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35020         "bp-asm.h".
35021         (PARMS): Do not use macros from bp-asm.h.
35022         (STR2): Likewise.
35023         (strcmp): Do not use BP_SYM.
35024         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35025         "bp-asm.h".
35026         (PARMS): Do not use macros from bp-asm.h.
35027         (STR): Likewise.
35028         (DELIM): Likewise.
35029         [USE_AS_STRTOK_R] (SAVE): Likewise.
35030         (FUNCTION): Likewise.  Do not use BP_SYM.
35031         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35032         aliases.
35033         (strtok_r): Likewise.
35034         (__GI___strtok_r): Likewise.
35035         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35036         (PARMS): Do not use macros from bp-asm.h.
35037         (S): Likewise.
35038         (SIZE): Likewise.
35039         (__mpn_lshift): Do not use BP_SYM.
35040         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35041         (PARMS): Do not use macros from bp-asm.h.
35042         (STR): Likewise.
35043         (CHR): Likewise.
35044         (__memchr): Do not use BP_SYM.
35045         (memchr): Do not use BP_SYM in weak_alias.
35046         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35047         (PARMS): Do not use macros from bp-asm.h.
35048         (BLK2): Likewise.
35049         (LEN): Likewise.
35050         (memcmp): Do not use BP_SYM.
35051         (bcmp): Do not use BP_SYM in weak_alias.
35052         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35053         (PARMS): Do not use macros from bp-asm.h.
35054         (S1): Likewise.
35055         (SIZE): Likewise.
35056         (__mpn_mul_1): Do not use BP_SYM.
35057         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35058         "bp-asm.h".
35059         (PARMS): Do not use macros from bp-asm.h.
35060         (STR): Likewise.
35061         (CHR): Likewise.
35062         (__rawmemchr): Do not use BP_SYM.
35063         (rawmemchr): Do not use BP_SYM in weak_alias.
35064         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35065         (PARMS): Do not use macros from bp-asm.h.
35066         (S): Likewise.
35067         (SIZE): Likewise.
35068         (__mpn_rshift): Do not use BP_SYM.
35069         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35070         (PARMS): Do not use macros from bp-asm.h.
35071         (SIGMSK): Likewise.
35072         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35073         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35074         (_start): Do not use BP_SYM.
35075         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35076         (PARMS): Do not use macros from bp-asm.h.
35077         (DEST): Likewise.
35078         (SRC): Likewise.
35079         (__stpcpy): Likewise.  Do not use BP_SYM.
35080         (stpcpy): Do not use BP_SYM in weak_alias.
35081         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35082         "bp-asm.h".
35083         (PARMS): Do not use macros from bp-asm.h.
35084         (DEST): Likewise.
35085         (SRC): Likewise.
35086         (LEN): Likewise.
35087         (__stpncpy): Likewise.  Do not use BP_SYM.
35088         (stpncpy): Do not use BP_SYM in weak_alias.
35089         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35090         (PARMS): Do not use macros from bp-asm.h.
35091         (STR): Likewise.
35092         (CHR): Likewise.
35093         (strchr): Likewise.  Do not use BP_SYM.
35094         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35095         "bp-asm.h".
35096         (PARMS): Do not use macros from bp-asm.h.
35097         (STR): Likewise.
35098         (CHR): Likewise.
35099         (__strchrnul): Likewise.  Do not use BP_SYM.
35100         (strchrnul): Do not use BP_SYM in weak_alias.
35101         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35102         "bp-asm.h".
35103         (PARMS): Do not use macros from bp-asm.h.
35104         (STOP): Likewise.
35105         (strcspn): Do not use BP_SYM.
35106         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35107         "bp-asm.h".
35108         (PARMS): Do not use macros from bp-asm.h.
35109         (STR): Likewise.
35110         (STOP): Likewise.
35111         (strpbrk): Likewise.  Do not use BP_SYM.
35112         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35113         "bp-asm.h".
35114         (PARMS): Do not use macros from bp-asm.h.
35115         (STR): Likewise.
35116         (CHR): Likewise.
35117         (strrchr): Likewise.  Do not use BP_SYM.
35118         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35119         (PARMS): Do not use macros from bp-asm.h.
35120         (SKIP): Likewise.
35121         (strspn): Do not use BP_SYM.
35122         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35123         (PARMS): Do not use macros from bp-asm.h.
35124         (STR): Likewise.
35125         (DELIM): Likewise.
35126         (SAVE): Likewise.
35127         (FUNCTION): Likewise.  Do not use BP_SYM.
35128         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35129         aliases.
35130         (strtok_r): Likewise.
35131         (__GI___strtok_r): Likewise.
35132         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35133         (PARMS): Do not use macros from bp-asm.h.
35134         (S1): Likewise.
35135         (S2): Likewise.
35136         (SIZE): Likewise.
35137         (__mpn_sub_n): Do not use BP_SYM.
35138         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35139         "bp-asm.h".
35140         (PARMS): Do not use macros from bp-asm.h.
35141         (S1): Likewise.
35142         (SIZE): Likewise.
35143         (__mpn_submul_1): Do not use BP_SYM.
35144         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35145         <bp-sym.h>.
35146         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35147         and <bp-asm.h>.
35148         (PARMS): Do not use macros from bp-asm.h.
35149         (FLAGS): Likewise.
35150         (PTID): Likewise.
35151         (TLS): Likewise.
35152         (CTID): Likewise.
35153         (__clone): Do not use BP_SYM.
35154         (clone): Do not use BP_SYM in weak_alias.
35155         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35156         and <bp-asm.h>.
35157         (PARMS): Do not use macros from bp-asm.h.
35158         (LEN): Likewise.
35159         (__mmap64): Do not use BP_SYM.
35160         (mmap64): Do not use BP_SYM in weak_alias.
35161         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35162         <bp-sym.h> and <bp-asm.h>.
35163         (PARMS): Do not use macros from bp-asm.h.
35164         (__posix_fadvise64_l64): Do not use BP_SYM.
35165         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35166         (PARMS): Do not use macros from bp-asm.h.
35167         (NSOPS): Likewise.
35168         (semtimedop): Do not use BP_SYM.
35169         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35170         and <bp-asm.h>.
35172 2013-02-21  Allan McRae  <allan@archlinux.org>
35174         * manual/message.texi (Charset conversion in gettext):
35175         Move @end statement to beginning of line.
35177 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35180         static.
35181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35182         Likewise.
35184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35185         (denorm): Likewise.
35186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35189 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35191         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35192         tail-call to the resolved function if pltexit isn't needed.
35194 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35197         or Y being zero as being unlikely.
35198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35199         Likewise.
35201 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35203         * manual/nss.texi (System Databases and Name Service Switch):
35204         Remove frobnicate @pxref.
35206 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35208         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35209         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35211 2013-02-20  Petr Machata  <pmachata@redhat.com>
35213         * elf/elf.h (R_ARM_TARGET1): New macro.
35214         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35215         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35216         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35217         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35218         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35219         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35220         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35221         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35222         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35223         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35224         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35225         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35226         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35227         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35228         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35229         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35230         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35231         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35232         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35233         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35234         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35235         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35236         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35237         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35238         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35239         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35240         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35241         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35242         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35243         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35244         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35245         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35246         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35247         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35248         (R_ARM_THM_GOT_BREL12): Likewise.
35249         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35250         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35251         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35252         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35253         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35254         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35255         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35256         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35257         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35259 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35261         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35262         __attribute_used__ to __attribute__ ((unused)).
35264 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35266         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35267         powerpc mpa.c.
35268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35269         comment formatting.
35270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35272 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35274         [BZ #13550]
35275         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35276         Remove macro.
35277         (ENTER): Remove both macro definitions.
35278         (LEAVE): Likewise.
35279         (CHECK_BOUNDS_LOW): Likewise.
35280         (CHECK_BOUNDS_HIGH): Likewise.
35281         (CHECK_BOUNDS_BOTH): Likewise.
35282         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35283         (RETURN_BOUNDED_POINTER): Likewise.
35284         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35285         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35286         (POP_ERRNO_LOCATION_RETURN): Likewise.
35287         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35288         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35289         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35290         macros.
35291         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35292         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35293         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35294         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35295         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35296         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35297         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35298         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35299         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35300         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35301         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35302         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35303         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35304         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35305         removed macros.
35306         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35307         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35308         macros.
35309         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35310         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35311         * sysdeps/i386/i586/memset.S (memset): Likewise.
35312         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35313         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35314         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35315         macros.
35316         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35317         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35318         Change uses of L(2) to L(out).
35319         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35320         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35321         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35323         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35324         removed macros.
35325         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35326         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35327         macros.
35328         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35329         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35330         (RETURN): Do not use macro LEAVE.
35331         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35332         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35333         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35334         * sysdeps/i386/i686/memset.S (memset): Likewise.
35335         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35336         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35337         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35338         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35339         Likewise.
35340         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35341         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35342         L(1_2) and L(1_3) into L(1).
35343         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35344         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35345         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35346         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35347         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35348         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35349         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35350         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35351         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35352         macros.
35353         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35354         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35355         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35356         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35357         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35358         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35359         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35360         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35361         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35362         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35363         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35364         * sysdeps/i386/strspn.S (strspn): Likewise.
35365         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35366         conditional code.
35367         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35368         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35369         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35370         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35371         L(1_3) into L(1_1).
35372         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35373         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35374         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35375         macros.
35376         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35378 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35380         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35381         macro.
35383 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35385         * math/atest-exp.c (exp_mpn): Remove ROUND.
35386         * math/atest-exp2.c (exp_mpn): Likewise.
35387         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35389         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35390         * stdlib/tst-tls-atexit-lib.c: Likewise.
35391         * stdlib/tst-tls-atexit.c: Likewise.
35393 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35395         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35396         and __attribute_alloc_size__.
35398 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35400         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35401         __attribute_alloc_size__.
35402         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35403         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35405 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35407         * include/programs/xmalloc.h: New file.
35408         * catgets/gencat.c: Include it.
35409         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35410         * elf/pldd.c: Likewise.
35411         * iconv/iconv_charmap.c: Likewise.
35412         * iconv/iconvconfig.c: Likewise.
35413         * iconv/strtab.c: Likewise.
35414         * locale/programs/locale.c: Likewise.
35415         * locale/programs/localedef.h: Likewise.
35416         * locale/programs/simple-hash.c: Likewise.
35417         * nscd/nscd.h: Likewise.
35418         * nss/makedb.c: Likewise.
35419         * sysdeps/generic/ldconfig.h: Likewise.
35421 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35423         * Versions.def: Add GLIBC_2.18.
35424         * include/link.h (struct link_map): New member l_tls_dtor_count.
35425         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35426         (__call_tls_dtors): Likewise.
35427         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35428         __cxa_thread_atexit_impl.
35429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35430         Likewise.
35431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35432         Likewise.
35433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35434         Likewise.
35435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35436         Likewise.
35437         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35439         Likewise.
35440         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35441         Likewise.
35442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35444         Likewise.
35445         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35446         (tests): Add test case tst-tls-atexit.
35447         (modules-names): Add shared library for tst-tls-atexit.
35448         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35449         (GLIBC_PRIVATE): Add __call_tls_dtors.
35450         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35451         for libstdc++.
35452         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35453         * stdlib/tst-tls-atexit.c: New test case.
35454         * stdlib/tst-tls-atexit-lib.c: New test case.
35456         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35458         * elf/Versions (ld): Add _dl_find_dso_for_object.
35459         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35460         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35461         (dl_open_worker): Use _dl_find_dso_for_object.
35462         * elf/dl-sym.c (do_sym): Likewise.
35463         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35465 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35467         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35468         Syntactic changes only.
35469         (_dl_runtime_profile): Do a tail-call to the resolved function.
35471 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35473         [BZ #13550]
35474         * sysdeps/x86_64/bp-asm.h: Remove file.
35475         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35476         <bp-sym.h> and <bp-asm.h>.
35477         (__clone): Do not use BP_SYM.
35478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35479         <bp-sym.h> and <bp-asm.h>.
35480         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35481         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35482         "bp-asm.h".
35483         (_setjmp): Do not use BP_SYM.
35484         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35485         "bp-asm.h".
35486         (setjmp): Do not use BP_SYM.
35487         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35488         libc_hidden_def.
35489         (mempcpy): Do not use BP_SYM in weak_alias.
35490         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35491         "bp-asm.h".
35492         (strchr): Do not use BP_SYM.
35493         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35494         "bp-asm.h".
35495         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35496         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35497         (_start): Do not use BP_SYM.
35498         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35499         "bp-asm.h".
35500         (strcat): Do not use BP_SYM.
35501         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35502         "bp-asm.h".
35503         (STRCMP): Do not use BP_SYM.
35504         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35505         "bp-asm.h".
35506         (STRCPY): Do not use BP_SYM.
35507         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35508         "bp-asm.h".
35509         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35510         "bp-asm.h".
35511         (FUNCTION): Do not use BP_SYM.
35512         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35513         weak_alias.
35514         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35516 2013-02-17  Andreas Jaeger  <aj@suse.de>
35518         * time/Versions: Sort entries.
35519         * string/Versions: Likewise.
35520         * resolv/Versions: Likewise.
35521         * posix/Versions: Likewise.
35522         * iconv/Versions: Likewise.
35523         * elf/Versions: Likewise.
35524         * wcsmbs/Versions: Likewise.
35526 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35528         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35529         loop termination condition.
35531         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35532         variable to calculate EZ.
35533         (__sqr): Likewise.
35535         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35536         the lower precision input.
35538 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35540         [BZ #13550]
35541         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35542         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35543         (run-via-rtld-prefix): Do not handle %-bp tests.
35544         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35545         (all-object-suffixes): Remove .ob.
35546         (bppfx): Remove variable.
35547         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35548         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35549         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35550         [$(build-bounded) = yes] (libtype.ob): Likewise.
35551         * Makerules (elide-routines.ob): Remove variable.
35552         (do-tests-clean): Do not handle *-bp.out.
35553         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35554         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35555         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35556         (tests): Do not include $(tests-bp.out).
35557         (xtests): Do not include $(xtests-bp.out).
35558         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35559         [$(build-bounded) = yes] ($(addprefix
35560         $(objpfx),$(binaries-bounded))): Remove rule.
35561         ($(objpfx)%-bp.out): Remove rule.
35562         * config.make.in (build-bounded): Remove variable.
35563         * crypt/Makefile [$(build-bounded) = yes]
35564         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35565         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35566         append to variable.
35567         [$(build-bounded) = yes] (install-lib): Likewise.
35568         [$(build-bounded) = yes] (generated): Likewise.
35569         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35570         Remove rule.
35571         * intl/Makefile [$(build-bounded) = yes]
35572         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35573         * math/Makefile [$(build-bounded) = yes]
35574         ($(tests:%=$(objpfx)%-bp): Likewise.
35575         * misc/Makefile [$(build-bounded) = yes]
35576         ($(objpfx)tst-tsearch-bp): Likewise.
35577         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35578         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35579         Remove dependency.
35580         * string/Makefile (o-objects.ob): Remove variable.
35581         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35582         (CFLAGS-.ob): Remove variable.
35583         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35584         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35585         both definitions of variable.
35586         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35587         (ASFLAGS-.ob): Remove variable.
35589 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35591         [BZ #13550]
35592         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35593         Remove __BOUNDED_POINTERS__ from condition.
35594         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35595         * string/bits/string2.h [!__NO_STRING_INLINES &&
35596         !__BOUNDED_POINTERS__]: Likewise.
35597         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35598         Likewise.
35599         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35600         Remove conditional code.
35601         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35602         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35603         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35604         condition.
35606         [BZ #13550]
35607         * csu/libc-start.c: Do not include <bp-sym.h>.
35608         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35609         * elf/dl-open.c: Do not include <bp-sym.h>.
35610         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35611         * math/fegetenv.c: Do not include <bp-sym.h>.
35612         (fegetenv): Do not use BP_SYM in versioned symbols.
35613         * nptl/sysdeps/pthread/bits/libc-lockP.h
35614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35615         <bp-sym.h>.
35616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35617         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35619         (__pthread_mutex_destroy): Likewise.
35620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35621         (__pthread_mutex_lock): Likewise.
35622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35623         (__pthread_mutex_trylock): Likewise.
35624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35625         (__pthread_mutex_unlock): Likewise.
35626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35627         (__pthread_mutexattr_init): Likewise.
35628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35629         (__pthread_mutexattr_destroy): Likewise.
35630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35631         (__pthread_mutexattr_settype): Likewise.
35632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35633         (__pthread_rwlock_init): Likewise.
35634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35635         (__pthread_rwlock_destroy): Likewise.
35636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35637         (__pthread_rwlock_rdlock): Likewise.
35638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35639         (__pthread_rwlock_tryrdlock): Likewise.
35640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35641         (__pthread_rwlock_wrlock): Likewise.
35642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35643         (__pthread_rwlock_trywrlock): Likewise.
35644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35645         (__pthread_rwlock_unlock): Likewise.
35646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35647         (__pthread_key_create): Likewise.
35648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35649         (__pthread_setspecific): Likewise.
35650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35651         (__pthread_getspecific): Likewise.
35652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35653         Likewise.
35654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35655         (_pthread_cleanup_push_defer): Likewise.
35656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35657         (_pthread_cleanup_pop_restore): Likewise.
35658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35659         (pthread_setcancelstate): Likewise.
35660         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35661         <bp-sym.h>.
35662         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35663         (memchr): Do not use BP_SYM in weak_alias.
35664         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35665         (fegetenv): Do not use BP_SYM in versioned symbols.
35666         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35667         (fesetenv): Do not use BP_SYM in versioned symbols.
35668         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35669         (feupdateenv): Do not use BP_SYM in versioned symbols.
35670         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35671         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35672         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35673         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35674         (open64): Do not use BP_SYM in weak_alias.
35675         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35676         (fegetenv): Do not use BP_SYM in versioned symbols.
35677         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35678         (fesetenv): Do not use BP_SYM in versioned symbols.
35679         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35680         (feupdateenv): Do not use BP_SYM in versioned symbols.
35681         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35682         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35683         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35684         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35685         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35686         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35687         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35688         <bp-sym.h>.
35689         (__libc_start_main): Do not use BP_SYM.
35691 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35694         redundant return line.
35695         (norm): Likewise.
35696         (denorm): Likewise.
35697         (dbl_mp): Likewise.
35698         (sub_magnitudes): Likewise.
35699         (__add): Likewise.
35700         (__sub): Likewise.
35701         (__mul): Likewise.
35702         (__inv): Likewise.
35703         (__dvd): Likewise.
35704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35705         (norm): Likewise.
35706         (denorm): Likewise.
35707         (dbl_mp): Likewise.
35708         (sub_magnitudes): Likewise.
35709         (__add): Likewise.
35710         (__sub): Likewise.
35711         (__mul): Likewise.
35712         (__inv): Likewise.
35713         (__dvd): Likewise.
35715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35716         instead of __mul.
35717         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35718         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35719         (cc32): Likewise.
35721         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35722         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35723         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35724         of __mul for squares.
35725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35726         function
35727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35728         Likewise.
35729         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35730         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35732 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35734         [BZ #13550]
35735         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35736         code.
35737         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35738         prototype or function definition.  Rename ubp_* variables and
35739         parameters.  Remove argv definitions conditional on
35740         [__BOUNDED_POINTERS__].
35741         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35742         * elf/dl-runtime.c (_dl_fixup): Likewise.
35743         * include/set-hooks.h (RUN_HOOK): Likewise.
35744         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35745         definition.
35746         * string/strcpy.c (strcpy): Do not use __unbounded.
35747         * sysdeps/generic/frame.h (struct layout): Likewise.
35748         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35749         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35750         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35751         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35752         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35753         (__backtrace): Likewise.
35754         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35755         use __ptrvalue.
35756         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35757         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35758         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35759         Likewise.
35760         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35761         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35762         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35763         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35764         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35765         Do not use __unbounded.
35766         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35767         Rename __unboundedrlimits parameter to rlimits in prototype.
35768         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35769         Do not use __unbounded.
35770         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35771         not use __ptrvalue.
35772         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35773         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35774         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35775         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35776         __ptrvalue or __unbounded.
35777         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35778         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35779         use __unbounded.
35780         (__new_msgctl): Do not use __ptrvalue.
35781         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35782         __unbounded.
35783         (__libc_msgrcv): Do not use __ptrvalue.
35784         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35785         startup_info): Do not use __unbounded.
35786         (__libc_start_main): Likewise.  Rename ubp_* variables and
35787         parameters.  Remove argv definitions conditional on
35788         [__BOUNDED_POINTERS__].
35789         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35790         __ptrvalue.
35791         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35792         use __unbounded.
35793         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35794         or __ptrvalue.
35795         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35796         use __unbounded.
35797         (__new_shmctl): Do not use __ptrvalue.
35798         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35799         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35800         Likewise.
35801         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35802         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35803         (__libc_sigaction): Likewise.
35804         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35805         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35806         Likewise.
35807         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35809 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35811         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35813         * string/mempcpy.c: Implement by calling memcpy.
35815 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35820         evaluation.
35822         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35823         values in the mantissa.
35825         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35826         minimize writes to Z.
35827         (sub_magnitudes): Simplify code a bit.
35829 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35831         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35832         from the message.  The linker prefixes all warnings with that already.
35834 2013-02-12  Andreas Schwab  <schwab@suse.de>
35836         [BZ #15078]
35837         * posix/regexec.c (extend_buffers): Add parameter min_len.
35838         (check_matching): Pass minimum needed length.
35839         (clean_state_log_if_needed): Likewise.
35840         (get_subexp): Likewise.
35841         * posix/Makefile (tests): Add bug-regex34.
35842         (bug-regex34-ENV): Define.
35843         * posix/bug-regex34.c: New file.
35845         [BZ #11561]
35846         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35847         elements compare against the byte sequence of it, not its name.
35848         * posix/Makefile (tests): Add bug-regex35.
35849         (bug-regex35-ENV): Define.
35850         * posix/bug-regex35.c: New file.
35852 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35854         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35855         comment.
35856         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35857         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35858         (CHECK_EOL): Add undef.
35860 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35862         * bits/stdlib-bsearch.h: New file.
35863         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35864         * stdlib/stdlib.h: Likewise.
35866 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35868         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35869         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35870         declaration.
35871         * manual/search.texi (Array Search Function): Add missing const in
35872         lfind prototype.
35873         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35874         declaration to use rlim_t.
35875         (Basic Scheduling Functions): Remove erroneous const from
35876         sched_getparam prototype.  Remove erroneous * from
35877         sched_get_priority_max and sched_get_priority_min prototypes.
35878         (Resource Usage): Fix summary @comment on vtimes to refer to
35879         sys/vtimes.h rather than vtimes.h.
35880         Add missing *s in vtimes prototype.
35881         (Limits on Resources): Fix ulimit prototype to return long int.
35882         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35883         prototypes to use long int rather than double.
35884         (BSD Random): Fix initstate and setstate to use char *, not void *.
35885         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35886         prototype to make second argument 'struct aiocb64 *const[]'.
35887         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35888         (Status of AIO Operations): Remove erroneous const in aio_return and
35889         aio_return64 prototypes.
35890         (Synchronizing I/O): Fix sync prototype to return void.
35891         * manual/startup.texi (Suboptions): Remove an erroneous const in
35892         getsubopt prototype.
35893         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35894         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35895         use size_t rather than int.
35896         (Scanning All Users): Likewise for getpwent_r.
35897         (Setting Groups): Add missing const to setgroups prototype.
35898         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35899         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35900         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35901         'const void *' rather than 'const char *'.
35902         (Host Address Functions): Likewise for inet_ntop.
35903         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35904         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35905         ssize_t for return value.
35906         (Sending Data): Likewise for send, sendto, sendmsg.
35907         (Socket Option Functions): Add a missing const in setsockopt prototype.
35908         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35909         use wchar_t for the argument.
35910         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35911         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35912         take no arguments.
35913         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35914         double/float/long double for second argument.
35915         Fix return types of significand, significandf, significandl.
35916         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35917         argument in fchmod prototype.
35918         (File Owner): Use uid_t and gid_t in fchown prototype.
35919         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35920         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35921         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35922         use 'const struct dirent **' as argument types to CMP function pointer
35923         argument.
35924         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35925         (File Times): Fix summary magic @comment for struct utimbuf and utime
35926         to refer to utime.h, not time.h.
35927         * manual/string.texi (Argz Functions): Add missing const in
35928         argz_extract and argz_next prototypes.
35929         (Finding Tokens in a String): Likewise for basename.
35930         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35931         (Copying and Concatenation): Fix typo in wmemmove prototype.
35932         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35933         (Signal Stack): Remove erroneous const in sigstack prototype.
35934         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35935         prototype.
35936         (Simple Calendar Time): Likewise for stime.
35937         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35938         prototype.
35939         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35940         say sys/sysctl.h instead.
35941         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35942         and vsyslog prototypes.
35944 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35946         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35947         Remove.
35949 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35951         * misc/sys/mman.h: Fix typo in mremap comment.
35953 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35955         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35956         the '\0' terminator.
35958 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35960         [BZ #13550]
35961         * debug/segfault.c: Don't include <bp-checks.h>.
35962         * sysdeps/generic/bp-checks.h: Remove file.
35963         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35964         (__GETDENTS): Don't use CHECK_N.
35965         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35966         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35967         (__getgroups): Don't use CHECK_N.
35968         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35969         (setgroups): Don't use CHECK_N.
35970         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35971         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35972         (__libc_msgrcv): Don't use CHECK_N.
35973         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35974         (__libc_msgsnd): Don't use CHECK_N.
35975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35976         <bp-checks.h>.
35977         (__libc_pread): Don't use CHECK_N.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35979         include <bp-checks.h>.
35980         (__libc_pread64): Don't use CHECK_N.
35981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35982         include <bp-checks.h>.
35983         (__libc_pwrite): Don't use CHECK_N.
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35985         include <bp-checks.h>.
35986         (__libc_pwrite64): Don't use CHECK_N.
35987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35988         <bp-checks.h>.
35989         (__libc_pread): Don't use CHECK_N.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35991         include <bp-checks.h>.
35992         (__libc_pread64): Don't use CHECK_N.
35993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35994         include <bp-checks.h>.
35995         (__libc_pwrite): Don't use CHECK_N.
35996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35997         include <bp-checks.h>.
35998         (__libc_pwrite64): Don't use CHECK_N.
35999         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
36000         (do_pread): Don't use CHECK_N.
36001         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
36002         (do_pread64): Don't use CHECK_N.
36003         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
36004         (do_pwrite): Don't use CHECK_N.
36005         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
36006         (do_pwrite64): Don't use CHECK_N.
36007         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
36008         (__libc_readv): Don't use CHECK_N.
36009         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
36010         (semop): Don't use CHECK_N.
36011         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
36012         <bp-checks.h>.
36013         (semtimedop): Don't use CHECK_N.
36014         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36015         (__libc_pread): Don't use CHECK_N.
36016         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36017         <bp-checks.h>.
36018         (__libc_pread64): Don't use CHECK_N.
36019         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36020         <bp-checks.h>.
36021         (__libc_pwrite): Don't use CHECK_N.
36022         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36023         <bp-checks.h>.
36024         (__libc_pwrite64): Don't use CHECK_N.
36025         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36026         <bp-checks.h>.
36027         (__libc_msgrcv): Don't use CHECK_N.
36028         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36029         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36030         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36031         (__libc_writev): Don't use CHECK_N.
36033 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36035         * string/strcpy.c: Removed unused variable.
36037         * Makeconfig (+sysdep-includes): Define with := rather than =.
36038         Use an existing include/ subdir of each sysdeps dir before it.
36040 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36042         * nscd/connection.c (register_traced_file): Comment function.
36043         [HAVE_INOTIFY] (union __inev): Define.
36044         [HAVE_INOTIFY] (inotify_check_files): New function.
36045         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36046         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36047         clear_db_cache.
36048         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36050 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36052         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36053         loaded if not already and that a failure is permanent.
36055 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36057         [BZ #15006]
36058         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36059         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36061 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36063         [BZ #13550]
36064         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36065         (CHECK_1_NULL_OK): Likewise.
36066         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36067         (__fxstat): Do not use CHECK_1.
36068         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36069         <bp-checks.h>.
36070         (___fxstat64): Do not use CHECK_1.
36071         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36072         <bp-checks.h>.
36073         (__fxstatat): Do not use CHECK_1.
36074         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36075         <bp-checks.h>.
36076         (__fxstatat64): Do not use CHECK_1.
36077         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36078         <bp-checks.h>.
36079         (__fxstat): Do not use CHECK_1.
36080         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36081         <bp-checks.h>.
36082         (__fxstatat): Do not use CHECK_1.
36083         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36084         <bp-checks.h>.
36085         (__getresgid): Do not use CHECK_1.
36086         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36087         <bp-checks.h>.
36088         (__getresuid): Do not use CHECK_1.
36089         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36090         <bp-checks.h>.
36091         (__lxstat): Do not use CHECK_1.
36092         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36093         <bp-checks.h>.
36094         (__old_msgctl): Do not use CHECK_1.
36095         (__new_msgctl): Likewise.
36096         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36097         <bp-checks.h>.
36098         (__new_setrlimit): Do not use CHECK_1.
36099         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36100         <bp-checks.h>.
36101         (__old_shmctl): Do not use CHECK_1.
36102         (__new_shmctl): Likewise.
36103         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36104         <bp-checks.h>.
36105         (__xstat): Do not use CHECK_1.
36106         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36107         (__lxstat): Do not use CHECK_1.
36108         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36109         <bp-checks.h>.
36110         (___lxstat64): Do not use CHECK_1.
36111         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36112         (__old_msgctl): Do not use CHECK_1.
36113         (__new_msgctl): Likewise.
36114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36115         <bp-checks.h>.
36116         (__gettimeofday): Do not use CHECK_1.
36117         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36118         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36119         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36120         <bp-checks.h>.
36121         (__gettimeofday): Do not use CHECK_1.
36122         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36123         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36124         (__new_shmctl): Do not use CHECK_1.
36125         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36126         <bp-checks.h>.
36127         (do_sigtimedwait): Do not use CHECK_1.
36128         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36129         <bp-checks.h>.
36130         (do_sigwaitinfo): Do not use CHECK_1.
36131         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36132         <bp-checks.h>.
36133         (msgctl): Do not use CHECK_1.
36134         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36135         <bp-checks.h>.
36136         (shmctl): Do not use CHECK_1.
36137         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36138         (ustat): Do not use CHECK_1.
36139         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36140         <bp-checks.h>.
36141         (__fxstat): Do not use CHECK_1.
36142         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36143         <bp-checks.h>.
36144         (__fxstatat): Do not use CHECK_1.
36145         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36146         <bp-checks.h>.
36147         (__lxstat): Do not use CHECK_1.
36148         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36149         <bp-checks.h>.
36150         (__xstat): Do not use CHECK_1.
36151         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36152         (__xstat): Do not use CHECK_1.
36153         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36154         (___xstat64): Do not use CHECK_1.
36156         [BZ #13550]
36157         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36158         definitions.
36159         (CHECK_BOUNDS_HIGH): Likewise.
36160         * string/strcpy.c: Do not include <bp-checks.h>.
36161         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36163 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36165         * nscd/nscd-client.h (__nscd_drop_map_ref):
36166         Add __attribute__ ((unused)).
36167         * nis/nss-nisplus.h (niserr2nss): Likewise.
36169         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36170         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36172         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36173         Remove inline keyword.
36174         * include/rounding-mode.h (round_away): Likewise.
36175         * libio/wfileops.c (adjust_wide_data): Likewise.
36176         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36177         (__m128i_strloadu_tolower): Likewise.
36178         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36179         (__m128i_strloadu_tolower): Likewise.
36180         * time/mktime.c (ydhms_diff): Likewise.
36181         * locale/elem-hash.h (elem_hash): Likewise.
36182         * locale/setlocale.c (setdata): Likewise.
36183         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36184         (re_string_wchar_at): Likewise.
36185         (bitset_not, bitset_merge, bitset_mask): Likewise.
36186         [!(__GNUC__ > 3)] (inline): Remove macro.
36187         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36188         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36189         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36190         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36191         * string/memcmp.c (memcmp_bytes): Likewise.
36192         * locale/programs/locarchive.c (compute_hashval): Likewise.
36193         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36194         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36195         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36196         * nss/getent.c (print_rpc, print_protocols): Likewise.
36197         (print_passwd, print_group, print_aliases): Likewise.
36198         * nis/nss-nisplus.h (niserr2nss): Likewise.
36199         * nscd/connections.c (restart_p): Likewise.
36200         Change return type to bool.
36202 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36204         * Makeconfig (all-Depend-files): Add existing
36205         $(sorted-subdirs:=/Depend) files.
36206         (all-subdirs): Remove nss.
36207         * sysdeps/unix/inet/Subdirs: Add it here instead.
36208         * hesiod/Depend: New file.
36210         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36211         instead of calling alloca.
36213         * io/lseek.c (__lseek): Rename to __libc_lseek.
36214         Define __lseek as an alias.
36216         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36218 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36220         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36221         else clause and remove check for non-standard endianness.
36223 2013-02-04  David S. Miller  <davem@davemloft.net>
36225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36227 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36229         [BZ #13550]
36230         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36231         (__ubp_memchr): Remove prototype.
36232         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36233         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36234         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36235         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36236         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36237         Remove alias.
36238         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36239         (__ubp_memchr): Likewise.
36240         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36241         (__ubp_memchr): Likewise.
36242         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36243         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36244         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36245         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36246         CHECK_STRING.
36247         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36248         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36249         (__getcwd): Do not use CHECK_STRING.
36250         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36251         <bp-checks.h>.
36252         (__real_chown): Do not use CHECK_STRING.
36253         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36254         <bp-checks.h>.
36255         (fchownat): Do not use CHECK_STRING.
36256         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36257         CHECK_STRING.
36258         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36259         <bp-checks.h>.
36260         (__lchown): Do not use CHECK_STRING.
36261         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36262         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36263         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36264         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36266         include <bp-checks.h>.
36267         (truncate64): Do not use CHECK_STRING.
36268         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36269         <bp-checks.h>.
36270         (__real_chown): Do not use CHECK_STRING.
36271         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36272         <bp-checks.h>.
36273         (__lchown): Do not use CHECK_STRING.
36274         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36275         <bp-checks.h>.
36276         (__chown): Do not use CHECK_STRING.
36277         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36278         <bp-checks.h>.
36279         (truncate64): Do not use CHECK_STRING.
36280         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36281         Likewise.
36282         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36283         (__xmknod): Do not use CHECK_STRING.
36284         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36285         <bp-checks.h>.
36286         (__xmknodat): Do not use CHECK_STRING.
36287         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36288         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36290 2013-02-04  Andreas Schwab  <schwab@suse.de>
36292         [BZ #14142]
36293         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36294         * include/netdb.h: Likewise for h_errno.
36295         * elf/tst-stackguard1.c: Include <tls.h>.
36297 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36299         * elf/link.h (struct link_map): Extend the l_addr comment.
36300         * include/link.h (struct link_map): Likewise.
36302 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36304         [BZ #13550]
36305         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36306         (BOUNDED_1): Remove macro.
36307         * debug/backtrace.c: Don't include <bp-checks.h>.
36308         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36309         (__backtrace): Likewise.
36310         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36311         <bp-checks.h>.
36312         (__backtrace): Don't use BOUNDED_1.
36313         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36314         <bp-checks.h>.
36315         (__backtrace): Don't use BOUNDED_1.
36316         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36317         (__backtrace): Don't use BOUNDED_1.
36318         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36319         (shmat): Don't use BOUNDED_N.
36321 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36323         [BZ #13550]
36324         * sysdeps/generic/bp-start.h: Remove file.
36325         * csu/libc-start.c: Don't include <bp-start.h>.
36326         (LIBC_START_MAIN): Set up __environ directly instead of using
36327         INIT_ARGV_and_ENVIRON.
36328         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36329         <bp-start.h>.
36331         [BZ #13550]
36332         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36333         definitions.
36334         (CHECK_FCNTL): Likewise.
36335         (CHECK_N_PAGES): Likewise.
36337         [BZ #13550]
36338         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36339         definitions.
36340         (CHECK_SIGSET_NULL_OK): Likewise.
36341         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36342         <bp-checks.h>.
36343         (sigpending): Don't use CHECK_SIGSET.
36344         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36345         <bp-checks.h>.
36346         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36347         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36348         <bp-checks.h>.
36349         (do_sigsuspend): Don't use CHECK_SIGSET.
36350         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36351         use CHECK_SIGSET.
36352         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36353         (do_sigwait): Don't use CHECK_SIGSET.
36354         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36355         use CHECK_SIGSET.
36356         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36357         include <bp-checks.h>.
36358         (sigpending): Don't use CHECK_SIGSET.
36359         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36360         include <bp-checks.h>.
36361         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36362         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36363         <bp-checks.h>.
36364         (sigpending): Don't use CHECK_SIGSET.
36365         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36366         <bp-checks.h>.
36367         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36369         [BZ #13550]
36370         * sysdeps/generic/bp-semctl.h: Remove file.
36371         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36372         <bp-checks.h> and <bp-semctl.h>.
36373         (__old_semctl): Don't use CHECK_SEMCTL.
36374         (__new_semctl): Likewise.
36375         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36376         and <bp-semctl.h>.
36377         (__old_semctl): Don't use CHECK_SEMCTL.
36378         (__new_semctl): Likewise.
36379         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36380         <bp-checks.h> and <bp-semctl.h>.
36381         (__old_semctl): Don't use CHECK_SEMCTL.
36382         (__new_semctl): Likewise.
36383         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36384         <bp-checks.h> and <bp-semctl.h>.
36385         (semctl): Don't use CHECK_SEMCTL.
36387         [BZ #13550]
36388         * Makerules (elide-bp-thunks): Remove variable.
36389         (elide-routines.oS): Don't use $(elide-bp-thunks).
36390         (elide-routines.os): Likewise.
36391         (elide-routines.o): Likewise.
36392         (elide-routines.op): Likewise.
36393         (elide-routines.og): Likewise.
36394         (objects): Don't use $(bp-thunks).
36395         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36396         include.
36397         (common-generated): Do not add s-proto-bp.d.
36398         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36399         (int): Likewise.
36400         (typ): Likewise.
36401         Do not generate makefile rules for bounded-pointer thunks.
36402         * sysdeps/generic/bp-thunks.h: Remove file.
36403         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36404         * sysdeps/unix/s-proto-bp.S: Likewise.
36406         [BZ #15062]
36407         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36408         parts of result separately when argument is not close to line from
36409         -i to i and one part of argument is small.
36410         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36411         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36412         * math/libm-test.inc (cacos_test): Add more tests.
36413         (casin_test): Likewise.
36414         (casinh_test): Likewise.
36415         * sysdeps/i386/fpu/libm-test-ulps: Update.
36416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36418 2013-01-31  David S. Miller  <davem@davemloft.net>
36420         * po/de.po: Update from translation team.
36422 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36424         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36426 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36428         * configure.in (_AC_PROG_CC_C89): New definition.
36429         * configure: Regenerate.
36431         * configure.in (AC_PROG_CPP): New definition.
36432         * configure: Regenerate.
36434 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36436         * debug/tst-backtrace.h: New file.
36437         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36438         (ret): Remove variable.
36439         (x): Likewise.
36440         (FAIL): Remove macro.
36441         (NO_INLINE): Likewise.
36442         (fn1): Use match function instead of strstr.
36443         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36444         (ret): Remove variable.
36445         (x): Likewise.
36446         (FAIL): Remove macro.
36447         (NO_INLINE): Likewise.
36448         (fn): Use match function instead of strstr.
36449         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36450         (ret): Remove variable.
36451         (x): Likewise.
36452         (FAIL): Remove macro.
36453         (NO_INLINE): Likewise.
36454         (handle_signal): Use match function instead of strstr.
36455         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36456         (ret): Remove variable.
36457         (x): Likewise.
36458         (FAIL): Remove macro.
36459         (NO_INLINE): Likewise.
36460         (handle_signal): Use match function instead of strstr.
36462 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36464         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36466 2013-01-23  David S. Miller  <davem@davemloft.net>
36468         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36469         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36470         argument of CAS if possible.
36471         * sysdeps/sparc/sparc64/bits/atomic.h
36472         (__arch_compare_and_exchange_val_32_acq): Likewise.
36473         (__arch_compare_and_exchange_val_64_acq): Likewise.
36475 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36477         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36478         * sysdeps/posix/ulimit.c: ... this.
36479         Include <limits.h>.
36480         * sysdeps/unix/bsd/ulimit.c: Remove file.
36482 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36484         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36485         (LDFLAGS-tst-array5): Likewise.
36487 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36489         [BZ #15036]
36490         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36491         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36492         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36493         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36495 2013-01-21  David S. Miller  <davem@davemloft.net>
36497         * sysdeps/sparc/backtrace.c: New file.
36498         * sysdeps/sparc/sparc32/backtrace.h: New file.
36499         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36500         * sysdeps/sparc/sparc64/backtrace.h: New file.
36501         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36502         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36503         -funwind-tables.
36505 2013-01-21  Andreas Schwab  <schwab@suse.de>
36507         [BZ #15020]
36508         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36509         closed its stdout.
36511 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36513         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36514         "mpa2.h".
36515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36517 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36518             Mark Mitchell  <mark@codesourcery.com>
36519             Tom de Vries  <tom@codesourcery.com>
36520             Paul Pluzhnikov  <ppluzhnikov@google.com>
36522         * debug/tst-backtrace2.c: New file.
36523         * debug/tst-backtrace3.c: Likewise.
36524         * debug/tst-backtrace4.c: Likewise.
36525         * debug/tst-backtrace5.c: Likewise.
36526         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36527         (CFLAGS-tst-backtrace3.c): Likewise.
36528         (CFLAGS-tst-backtrace4.c): Likewise.
36529         (CFLAGS-tst-backtrace5.c): Likewise.
36530         (LDFLAGS-tst-backtrace2): Likewise.
36531         (LDFLAGS-tst-backtrace3): Likewise.
36532         (LDFLAGS-tst-backtrace4): Likewise.
36533         (LDFLAGS-tst-backtrace5): Likewise.
36534         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36535         tst-backtrace4 and tst-backtrace5.
36537 2013-01-18  Anton Blanchard  <anton@samba.org>
36538             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36540         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36541         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36542         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36543         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36545         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36546         "+r" and remove output regs list as redundant.  Add explicit inline
36547         asm to specify register of return val to work around compiler codegen
36548         bug.  Remove (int) cast on return value.  Add return type parameter to
36549         use in macro so that this macro does not truncate return value for
36550         64-bit values.
36551         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36552         pass to INTERNAL_VSYSCALL_NCS.
36553         (INLINE_VSYSCALL): Add 'long int' as return type to
36554         INTERNAL_VSYSCALL_NCS macro invocation.
36555         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36556         INTERNAL_VSYSCALL_NCS macro invocation.
36557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36559 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36561         [BZ #14496]
36562         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36563         Fix application of SIMD FP exception mask.
36565         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36566         mp_no from a power of two.
36567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36568         __mpexp_twomm1.  Use __pow_mp.
36570         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36571         multiplication.
36573 2013-01-17  David S. Miller  <davem@davemloft.net>
36575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36577 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36579         [BZ #15023]
36580         * include/complex.h: Condition contents on [!_COMPLEX_H].
36581         (__kernel_casinhf): New prototype.
36582         (__kernel_casinh): Likewise.
36583         (__kernel_casinhl): Likewise.
36584         * math/Makefile (libm_calls): Add k_casinh.
36585         * math/k_casinh.c: New file.
36586         * math/k_casinhf.c: Likewise.
36587         * math/k_casinhl.c: Likewise.
36588         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36589         finite nonzero arguments.
36590         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36591         finite nonzero arguments.
36592         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36593         finite nonzero arguments.
36594         * math/s_casinh.c: Do not include <float.h>.
36595         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36596         * math/s_casinhf.c: Do not include <float.h>.
36597         (__casinhf): Move code for finite nonzero arguments to
36598         k_casinhf.c.
36599         * math/s_casinhl.c: Do not include <float.h>.
36600         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36601         redefine.
36602         (__casinhl): Move code for finite nonzero arguments to
36603         k_casinhl.c.
36604         * math/libm-test.inc (cacos_test): Add more tests.
36605         * sysdeps/i386/fpu/libm-test-ulps: Update.
36606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36610         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36611         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36612         [!HAVE_MREMAP]: Remove [defined linux] case.
36613         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36615 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36617         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36619 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36621         * elf/elf.h (R_386_SIZE32): New relocation.
36622         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36623         R_386_SIZE32.
36624         (elf_machine_rela): Likewise.
36625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36626         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36628 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36630         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36631         (FP_FAST_FMA): Do not define.
36632         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36633         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36634         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36635         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36636         !_SOFT_FLOAT]: Likewise.
36637         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36638         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36639         value.
36640         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36641         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36642         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36643         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36644         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36645         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36646         file.
36648 2013-01-16  Andreas Schwab  <schwab@suse.de>
36650         [BZ #14327]
36651         * include/stdlib.h (__mktemp): Add declaration.
36652         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36653         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36655 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36657         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36658         definitions.
36659         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36660         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36661         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36662         definitions here.
36663         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36664         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36665         definitions.
36666         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36667         and ONE.
36668         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36669         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36670         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36671         definitions.
36672         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36673         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36674         definitions.
36675         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36677         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36679 2013-01-15  David S. Miller  <davem@davemloft.net>
36681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36682         trunc{,f} to libm-sysdep_routes.
36683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36685         file.
36686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36688         file.
36689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36690         file.
36691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36693         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36694         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36695         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36696         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36697         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36698         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36701         nearbyint{,f} to libm-sysdep_routes.
36702         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36704         New file.
36705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36706         file.
36707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36708         New file.
36709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36710         file.
36711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36713         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36714         file.
36715         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36716         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36717         file.
36718         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36719         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36720         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36722         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36723         libc_feholdexcept and libc_fesetenv.
36725 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36727         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36729 2013-01-14  David S. Miller  <davem@davemloft.net>
36731         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36732         (SPARC_ASM_VIS2_IFUNC): Likewise.
36733         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36735         use of 'siam' instruction.
36736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36737         Likewise.
36738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36739         Likewise.
36740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36741         Likewise.
36742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36747         file.
36748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36749         file.
36750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36751         file.
36752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36753         file.
36754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36755         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36757         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36759         new VIS2 routines.
36760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36763         Likewise.
36764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36769         routines to libm-sysdep_routines.
36770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36773         fdim/fdimf to libm-sysdep_routines.
36774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36775         file.
36776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36778         file.
36779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36782         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36783         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36784         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36785         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36787 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36789         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36790         to optimize copies.
36792         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36793         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36797         local variable MPTWO.
36798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36799         Likewise.
36801 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36803         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36804         GLOB_NOESCAPE.
36806 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36808         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36810 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36812         * manual/pattern.texi (glob_t): Document gl_flags.
36813         (glob64_t): Likewise.
36815 2013-01-11  David S. Miller  <davem@davemloft.net>
36817         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36818         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36819         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36820         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36821         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36822         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36823         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36824         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36825         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36826         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36827         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36828         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36829         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36831         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36832         sparc V9 rather than using V8 code.
36833         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36834         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36836         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36837         Move to...
36838         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36839         Here.
36841 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36843         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36844         not in the main loop.
36845         * configure: Regenerated.
36847 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36849         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36850         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36851         to just #else.
36852         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36853         [!__GLIBC_HAVE_LONG_LONG] case.
36854         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36855         condition to just #else.
36856         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36857         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36858         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36859         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36860         unconditional.
36861         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36862         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36863         #elif condition to just #else.
36864         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36865         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36866         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36867         #elif condition to just #else.
36869 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36871         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36872         (EF_MIPS_ARCH_64): Fix value.
36873         (EF_MIPS_ARCH_32R2): New.
36874         (EF_MIPS_ARCH_64R2): New.
36876 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36878         * Makeconfig (+link-pie-before-libc): New.
36879         (+link-pie-after-libc): Likewise.
36880         (+link-pie-tests): Likewise.
36881         (+link-pie): Rewritten.
36882         (link-before-libc): Remove $(config-LDFLAGS).
36883         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36884         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36885         (config-LDFLAGS): Renamed to ...
36886         (rtld-LDFLAGS): This.
36887         (rtld-tests-LDFLAGS): New macro.
36888         (link-libc-rpath-link): Likewise.
36889         (link-libc-tests-rpath-link): Likewise.
36890         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36891         (link-libc): Prepand $(link-libc-rpath-link).
36892         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36893         (test-program-prefix): New macro.
36894         (test-via-rtld-prefix): Likewise.
36895         (test-program-cmd): Likewise.
36896         (host-test-program-cmd): Likewise.
36897         * Makefile ($(common-objpfx)testrun.sh): Replace
36898         $(run-program-prefix) with $(test-program-prefix).
36899         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36900         $(rtld-LDFLAGS).
36901         ($(common-objpfx)shlib.lds): Likewise.
36902         (build-module-helper): Likewise.
36903         ($(common-objpfx)format.lds): Likewise.
36904         * Rules (binaries-pie-tests): New.
36905         (binaries-pie-notests): Likewise.
36906         (binaries-pie): Rewritten.
36907         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36908         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36909         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36910         (make-test-out): Replace $(host-built-program-cmd) with
36911         $(host-test-program-cmd).
36912         * config.make.in (build-hardcoded-path-in-tests): New variable.
36913         * configure.in (--enable-hardcoded-path-in-tests): New configure
36914         option.
36915         (hardcoded_path_in_tests): New AC_SUBST.
36916         * configure: Regenerated.
36917         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36918         $(built-program-cmd) with $(test-program-cmd).
36919         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36920         (test_program_cmd): This.
36921         * elf/Makefile ($(objpfx)order.out): Run test with
36922         $(test-program-prefix).
36923         ($(objpfx)order2.out): Likewise.
36924         ($(objpfx)tst-initorder.out): Likewise.
36925         ($(objpfx)tst-initorder2.out): Likewise.
36926         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36927         $(test-program-cmd).
36928         ($(objpfx)tst-array1-static.out): Likewise.
36929         ($(objpfx)tst-array2.out): Likewise.
36930         ($(objpfx)tst-array3.out): Likewise.
36931         ($(objpfx)tst-array4.out): Likewise.
36932         ($(objpfx)tst-array5.out): Likewise.
36933         ($(objpfx)tst-array5-static.out): Likewise.
36934         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36935         $(test-program-cmd).
36936         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36937         $(run-program-prefix) with $(test-program-prefix).
36938         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36939         (test_program_prefix): This.
36940         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36941         $(run-program-prefix) with $(test-program-prefix).
36942         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36943         (test_program_prefix): This.
36944         * iconvdata/tst-tables.sh: Likewise.
36945         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36946         $(run-program-prefix) with $(test-program-prefix).
36947         ($(objpfx)tst-translit.out): Likewise.
36948         ($(objpfx)tst-gettext2.out): Likewise.
36949         ($(objpfx)tst-gettext4.out): Likewise.
36950         ($(objpfx)tst-gettext6.out): Likewise.
36951         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36952         (test_program_prefix): This.
36953         * intl/tst-gettext2.sh: Likewise.
36954         * intl/tst-gettext4.sh  Likewise.
36955         * intl/tst-gettext6.sh: Likewise.
36956         * intl/tst-translit.sh: Likewise.
36957         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36958         with $(test-program-cmd).
36959         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36960         $(run-program-prefix) with $(test-program-prefix).
36961         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36962         (test_program_prefix): This.
36963         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36964         $(run-program-prefix) with $(test-program-prefix).
36965         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36966         (test_program_prefix): This.
36967         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36968         * posix/Makefile ($(objpfx)globtest.out): Replace
36969         $(run-via-rtld-prefix) and $(test-wrapper) with
36970         $(test-program-prefix) and $(test-via-rtld-prefix).
36971         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36972         $(test-program-prefix).
36973         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36974         $(host-test-program-cmd).
36975         (tst-spawn-ARGS): Likewise.
36976         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36977         $(test-program-prefix).
36978         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36979         (test_via_rtld_prefix): This.
36980         (test_wrapper): Renamed to ...
36981         (test_program_prefix): This.
36982         (run_program_prefix): Replaced by test_program_prefix.
36983         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36984         (test_program_prefix): This.
36985         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36986         with $(host-test-program-cmd).
36987         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36988         $(run-program-prefix) with $(test-program-prefix).
36989         ($(objpfx)tst-printf.out): Likewise.
36990         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36991         $(test-program-cmd).
36992         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36993         (test_program_prefix): This.
36994         * stdio-common/tst-unbputc.sh: Likewise.
36995         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36996         $(run-program-prefix) with $(test-program-prefix).
36997         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36998         (test_program_prefix): This.
36999         * string/Makefile ($(objpfx)tst-svc.out):  Replace
37000         $(built-program-cmd) with $(test-program-cmd).
37002 2013-01-11  Andreas Jaeger  <aj@suse.de>
37004         [BZ #15003]
37005         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
37006         value. Sync with Linux 3.7.
37008 2013-01-10  David S. Miller  <davem@davemloft.net>
37010         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
37011         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37012         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37014 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37016         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37017         never set.
37018         * configure: Regenerated.
37020 2013-01-10  David S. Miller  <davem@davemloft.net>
37022         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37023         sparc V9 rather than using V8 code.
37024         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37025         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37027 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37029         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37030         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37031         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37032         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37033         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37034         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37035         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37036         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37037         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37038         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37039         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37040         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37041         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37042         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37043         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37044         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37045         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37046         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37047         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37048         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37049         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37050         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37051         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37052         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37053         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37054         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37055         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37057 2013-01-10  David S. Miller  <davem@davemloft.net>
37059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37061 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37063         * posix/Makefile (tests-static): New variable.
37064         (tests): Add $(tests-static).
37065         (tst-exec-static-ARGS): New variable.
37066         (tst-spawn-static-ARGS): Likewise.
37067         * posix/tst-exec-static.c: New file.
37068         * posix/tst-spawn-static.c: Likewise.
37069         * posix/tst-exec.c: Support run directly.
37070         * posix/tst-spawn.c: Likewise.
37072 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37074         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37075         long.
37076         * math/bits/mathcalls.h (llrint): Likewise.
37077         (llround): Likewise.
37078         * stdlib/stdlib.h (struct drand48_data): Likewise.
37079         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37080         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37081         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37082         Likewise.
37083         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37084         Likewise.
37085         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37086         (elf_greg_t): Likewise.
37087         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37088         (__jmp_buf): Likewise.
37089         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37090         definitions.
37091         (llrint): Likewise, for all definitions.
37092         (llrintl): Likewise.
37094         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37095         Remove [__GNUC__] condition.
37096         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37097         condition to just [__USE_ISOC99].
37098         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37100 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37102         [BZ #14200]
37103         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37104         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37105         defined.
37106         (_POSIX_V6_ILP32_OFF32): Likewise.
37107         (_XBS5_ILP32_OFF32): Likewise.
37108         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37109         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37111 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37113         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37116         doubles __mpexp_twomm1.  Adjust usage.
37117         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37118         Remove.
37120 2013-01-10  Andreas Schwab  <schwab@suse.de>
37122         [BZ #14964]
37123         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37124         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37126 2013-01-09  David S. Miller  <davem@davemloft.net>
37128         [BZ #15003]
37129         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37130         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37131         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37132         (TCP_FASTOPEN): Define.
37133         (tcp_repair_opt): New structure.
37134         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37135         enum values.
37136         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37137         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37138         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37139         (tcp_cookie_transactions): New structure.
37141 2013-01-09  Anton Blanchard  <anton@samba.org>
37143         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37144         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37145         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37146         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37148 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37150         * include/features.h (__USE_ANSI): Remove.
37152 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37154         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37156         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37158 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37160         * sysdeps/s390/fpu/libm-test-ulps: Update.
37162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37164         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37165         (__acr): Likewise.
37166         (__cpy): Likewise.
37167         (norm): Likewise.
37168         (denorm): Likewise.
37169         (__mp_dbl): Likewise.
37170         (__dbl_mp): Likewise.
37171         (add_magnitudes): Likewise.
37172         (sub_magnitudes): Likewise.
37173         (__add): Likewise.
37174         (__sub): Likewise.
37175         (__mul): Likewise.
37176         (__inv): Likewise.
37177         (__dvd): Likewise.
37178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37179         (__acr): Likewise.
37180         (__cpy): Likewise.
37181         (norm): Likewise.
37182         (denorm): Likewise.
37183         (__mp_dbl): Likewise.
37184         (__dbl_mp): Likewise.
37185         (add_magnitudes): Likewise.
37186         (sub_magnitudes): Likewise.
37187         (__add): Likewise.
37188         (__sub): Likewise.
37189         (__mul): Likewise.
37190         (__inv): Likewise.
37191         (__dvd): Likewise.
37192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37193         (__acr): Likewise.
37194         (__cpy): Likewise.
37195         (norm): Likewise.
37196         (denorm): Likewise.
37197         (__mp_dbl): Likewise.
37198         (__dbl_mp): Likewise.
37199         (add_magnitudes): Likewise.
37200         (sub_magnitudes): Likewise.
37201         (__add): Likewise.
37202         (__sub): Likewise.
37203         (__mul): Likewise.
37204         (__inv): Likewise.
37205         (__dvd): Likewise.
37207 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37209         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37210         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37211         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37212         2 && __USE_EXTERN_INLINES]: Likewise.
37214 2013-01-08  Andreas Jaeger  <aj@suse.de>
37216         [BZ# 14985]
37217         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37218         Remove.
37219         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37220         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37222 2013-01-07  Anton Blanchard  <anton@samba.org>
37224         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37225         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37226         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37227         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37228         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37229         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37230         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37231         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37233         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37234         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37235         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37236         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37238         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37239         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37240         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37241         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37242         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37243         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37244         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37245         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37246         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37247         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37248         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37249         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37250         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37251         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37252         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37253         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37254         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37256         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37257         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37258         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37259         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37260         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37261         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37262         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37263         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37264         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37265         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37266         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37268 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37270         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37271         (__MALLOC_PMT): Likewise.
37272         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37273         [__GNUC__], only on [_LIBC].
37274         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37275         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37276         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37277         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37278         forward declaration.
37279         (realloc_hook_ini): Likewise.
37280         (memalign_hook_ini): Likewise.
37281         (__libc_memalign): Do not use __MALLOC_PMT in variable
37282         declaration.
37283         (__libc_valloc): Likewise.
37284         (__libc_pvalloc): Likewise.
37285         (__libc_calloc): Likewise.
37286         (__posix_memalign): Likewise.
37288         [BZ #14996]
37289         * math/s_casinh.c: Include <float.h>.
37290         (__casinh): Do not do computation with squaring and square root
37291         for large arguments.
37292         * math/s_casinhf.c: Include <float.h>.
37293         (__casinhf): Do not do computation with squaring and square root
37294         for large arguments.
37295         * math/s_casinhl.c: Include <float.h>.
37296         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37297         (__casinhl): Do not do computation with squaring and square root
37298         for large arguments.
37299         * math/libm-test.inc (casin_test): Add more tests.
37300         (casinh_test): Likewise.
37301         * sysdeps/i386/fpu/libm-test-ulps: Update.
37302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37306         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37307         (__x86_64_raw_data_cache_size): Likewise.
37308         (__x86_64_data_cache_size_half): Likewise.
37309         (__x86_64_raw_data_cache_size_half): Likewise.
37310         (__x86_64_shared_cache_size): Likewise.
37311         (__x86_64_raw_shared_cache_size): Likewise.
37312         (__x86_64_shared_cache_size_half): Likewise.
37313         (__x86_64_raw_shared_cache_size_half): Likewise.
37314         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37315         to ...
37316         (__x86_data_cache_size): This.
37317         (__x86_64_raw_data_cache_size): Renamed to ...
37318         (__x86_raw_data_cache_size): This.
37319         (__x86_64_data_cache_size_half): Renamed to ...
37320         (__x86_data_cache_size_half): This.
37321         (__x86_64_raw_data_cache_size_half): Renamed to ...
37322         (__x86_raw_data_cache_size_half): This.
37323         (__x86_64_shared_cache_size): Renamed to ...
37324         (__x86_shared_cache_size): This.
37325         (__x86_64_raw_shared_cache_size): Renamed to ...
37326         (__x86_raw_shared_cache_size): This.
37327         (__x86_64_shared_cache_size_half): Renamed to ...
37328         (__x86_shared_cache_size_half): This.
37329         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37330         (__x86_raw_shared_cache_size_half): This.
37331         * sysdeps/x86_64/memcpy.S: Updated.
37332         * sysdeps/x86_64/memset.S: Likewise.
37333         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37334         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37337 2013-01-04  David S. Miller  <davem@davemloft.net>
37339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37341 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37343         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37344         1 to avoid redefinition warning.
37345         (__USE_GNU): Don't define.
37346         (init_signaling_nan): Protoize.
37348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37350 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37352         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37354         (__cpymn): Likewise.
37355         (norm): Remove commented code.
37356         (denorm): Likewise.
37357         (__mp_dbl): Likewise.
37358         (__inv): Likewise.
37359         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37360         (__cpymn): Likewise.
37361         (norm): Remove commented code.
37362         (denorm): Likewise.
37363         (__mp_dbl): Likewise.
37364         (__inv): Likewise.
37366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37367         mp_no value for 1.0 and 2.0.
37368         (norm): Use RADIXI instead of radixi.d.
37369         (denorm): Likewise.
37370         (__mul): Use 0.0 instead of zero.d.
37371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37372         mp_no value for 1.0 and 2.0.
37373         (norm): Use RADIXI instead of radixi.d.
37374         (denorm): Likewise.
37375         (__mul): Use 0.0 instead of zero.d.
37377 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37379         [BZ #14994]
37380         * math/s_casinh.c (__casinh): Reduce finite argument to first
37381         quadrant then set signs of results at the end.
37382         * math/s_casinhf.c (__casinhf): Likewise.
37383         * math/s_casinhl.c (__casinhl): Likewise.
37384         * math/libm-test.inc (casin_test): Add more tests.
37385         (casinh_test): Likewise.
37386         * sysdeps/i386/fpu/libm-test-ulps: Update.
37387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37389 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37391         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37393         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37395         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37396         declarations.
37397         (denorm): Likewise.
37398         (__mp_dbl): Likewise.
37399         (__inv): Likewise.
37401         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37402         and adjust the header comment.
37404         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37405         variable name from declaration.
37407 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37410         Initialize COMMON_CPUID_INDEX_7 element.
37411         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37412         (CPUID_RTM): Likewise.
37413         (HAS_RTM): Likewise.
37414         (COMMON_CPUID_INDEX_7): New enum.
37416 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37418         [BZ #14981]
37419         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37420         size is zero, record memory as freed.
37422 2013-01-03  Andreas Jaeger  <aj@suse.de>
37424         * po/ia.po: Add new Interlingua translation.
37426 2012-01-03  Allan McRae  <allan@archlinux.org>
37428         * locale/programs/localedef.c: Fix description of '--posix' flag.
37430 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37432         * NEWS: Update dates in second copyright notice.
37433         * README: Update copyright dates in example.
37434         * manual/libc.texinfo: Update copyright dates.
37435         * scripts/test-installation.pl: Update copyright date in --version
37436         output.
37438         * hurd/ctty-input.c: Fix copyright notice formatting.
37439         * hurd/ctty-output.c: Likewise.
37440         * hurd/dtable.c: Likewise.
37441         * hurd/hurd-raise.c: Likewise.
37442         * hurd/hurdprio.c: Likewise.
37443         * hurd/msgportdemux.c: Likewise.
37444         * misc/sys/file.h: Likewise.
37445         * misc/sys/ioctl.h: Likewise.
37446         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37447         * sysdeps/mach/hurd/chdir.c: Likewise.
37448         * sysdeps/mach/hurd/fchdir.c: Likewise.
37449         * sysdeps/mach/hurd/rename.c: Likewise.
37450         * sysdeps/mach/hurd/rmdir.c: Likewise.
37451         * sysdeps/mach/hurd/seekdir.c: Likewise.
37452         * sysdeps/mach/hurd/setsid.c: Likewise.
37453         * sysdeps/posix/wait3.c: Likewise.
37455         * All files with FSF copyright notices: Update copyright dates
37456         using scripts/update-copyrights.
37457         * intl/plural.c: Regenerated.
37458         * locale/programs/charmap-kw.h: Likewise.
37459         * locale/programs/locfile-kw.h: Likewise.
37461 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37463         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37464         four values.
37466         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37467         calculation loop and add branch prediction.
37469         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37470         check access beyond bounds of m1np.
37472         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37473         MPTWO.
37474         (__inv): Remove local variable MPTWO to use the global
37475         constant.
37476         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37477         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37478         variable MPTWO.
37479         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37480         MP3HALFS static const.
37482 2013-01-01  David S. Miller  <davem@davemloft.net>
37484         * po/ca.po: Update from translation team.
37486 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37488         * scripts/update-copyrights: New file.
37489         * Makeconfig: Reformat copyright notice.
37490         * ctype/ctype.h: Likewise.
37491         * debug/swprintf_chk.c: Likewise.
37492         * elf/dl-cache.c: Likewise.
37493         * elf/dl-debug.c: Likewise.
37494         * elf/dl-object.c: Likewise.
37495         * grp/initgroups.c: Likewise.
37496         * hurd/Makefile: Likewise.
37497         * hurd/hurd/signal.h: Likewise.
37498         * hurd/hurdfault.c: Likewise.
37499         * hurd/hurdioctl.c: Likewise.
37500         * hurd/hurdlookup.c: Likewise.
37501         * hurd/intr-msg.c: Likewise.
37502         * iconv/gconv_open.c: Likewise.
37503         * libio/swprintf.c: Likewise.
37504         * locale/lc-ctype.c: Likewise.
37505         * locale/nl_langinfo.c: Likewise.
37506         * mach/Machrules: Likewise.
37507         * mach/Makefile: Likewise.
37508         * malloc/obstack.h: Likewise.
37509         * manual/Makefile: Likewise.
37510         * manual/tsort.awk: Likewise.
37511         * misc/bits/stab.def: Likewise.
37512         * nis/nis_print_group_entry.c: Likewise.
37513         * nis/nis_table.c: Likewise.
37514         * nis/nss_compat/compat-pwd.c: Likewise.
37515         * nis/nss_compat/compat-spwd.c: Likewise.
37516         * po/Makefile: Likewise.
37517         * posix/fnmatch.c: Likewise.
37518         * posix/regex.h: Likewise.
37519         * resolv/Makefile: Likewise.
37520         * resolv/nss_dns/dns-network.c: Likewise.
37521         * resolv/res_hconf.c: Likewise.
37522         * scripts/gen-sorted.awk: Likewise.
37523         * soft-fp/soft-fp.h: Likewise.
37524         * stdio-common/printf.h: Likewise.
37525         * stdlib/monetary.h: Likewise.
37526         * stdlib/random.c: Likewise.
37527         * stdlib/random_r.c: Likewise.
37528         * sysdeps/generic/Makefile: Likewise.
37529         * sysdeps/gnu/Makefile: Likewise.
37530         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37531         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37532         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37533         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37534         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37538         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37540         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37541         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37542         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37543         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37544         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37545         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37546         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37547         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37548         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37549         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37550         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37551         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37552         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37553         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37554         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37555         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37556         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37557         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37558         * sysdeps/mach/hurd/errnos.awk: Likewise.
37559         * sysdeps/mach/hurd/fork.c: Likewise.
37560         * sysdeps/mach/hurd/getcwd.c: Likewise.
37561         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37562         * sysdeps/mach/hurd/mmap.c: Likewise.
37563         * sysdeps/mach/hurd/utimes.c: Likewise.
37564         * sysdeps/mach/hurd/xmknod.c: Likewise.
37565         * sysdeps/posix/profil.c: Likewise.
37566         * sysdeps/posix/readdir_r.c: Likewise.
37567         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37568         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37569         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37570         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37572         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37573         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37574         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37576         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37577         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37578         * sysdeps/pthread/lio_listio.c: Likewise.
37579         * sysdeps/sparc/dl-procinfo.h: Likewise.
37580         * sysdeps/unix/i386/sysdep.S: Likewise.
37581         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37582         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37583         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37584         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37586         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37587         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37588         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37589         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37590         * sysdeps/wordsize-32/divdi3.c: Likewise.
37591         * time/sys/time.h: Likewise.
37592         * wcsmbs/Makefile: Likewise.
37594 2013-01-01  David S. Miller  <davem@davemloft.net>
37596         * po/fr.po: Update from translation team.
37598         * catgets/gencat.c: Update copyright year.
37599         * csu/version.c: Likewise.
37600         * debug/catchsegv.sh: Likewise.
37601         * debug/pcprofiledump.c: Likewise.
37602         * debug/xtrace.sh: Likewise.
37603         * elf/ldconfig.c: Likewise.
37604         * elf/ldd.bash.in: Likewise.
37605         * elf/pldd.c: Likewise.
37606         * elf/sotruss.ksh: Likewise.
37607         * elf/sprof.c: Likewise.
37608         * iconv/iconv_prog.c: Likewise.
37609         * iconv/iconvconfig.c: Likewise.
37610         * locale/programs/locale.c: Likewise.
37611         * locale/programs/localedef.c: Likewise.
37612         * login/programs/pt_chown.c: Likewise.
37613         * malloc/memusage.sh: Likewise.
37614         * malloc/memusagestat.c: Likewise.
37615         * malloc/mtrace.pl: Likewise.
37616         * nscd/nscd.c: Likewise.
37617         * nss/getent.c: Likewise.
37618         * nss/makedb.c: Likewise.
37619         * posix/getconf.c: Likewise.
37621 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37623         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37624         numbers.
37626 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37628         * math/bits/mathcalls.h (modf): Use __nonnull.
37630 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37633         (split): Use macro CN instead of the bare value.
37634         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37635         could be used.
37636         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37637         instead of the bare value.
37638         (power1): Likewise.
37640 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37642         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37643         __ATAN_TWOM.
37644         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37646         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37647         their values.
37648         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37649         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37650         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37651         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37653 2012-12-28  Andreas Jaeger  <aj@suse.de>
37655         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37656         values are from Linux 3.7.
37658         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37659         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37661 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37663         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37664         TRUE case.
37666         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37667         (norm): Likewise.
37668         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37669         variables with preprocessor constants.
37670         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37671         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37672         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37674 2012-12-27  Bruno Haible  <bruno@clisp.org>
37676         [BZ #14317]
37677         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37678         only if needed.
37680 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37683         and use variable directly.
37684         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37686         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37687         MPONE.
37688         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37690         variable MPONE.
37691         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37693         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37694         include directive.  Remove local variable MPONE.
37695         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37696         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37697         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37699 2012-12-25  David S. Miller  <davem@davemloft.net>
37701         * version.h (RELEASE): Set to "development".
37702         (VERSION): Set to "2.17.90".
37703         * NEWS: Add 2.18 section.
37705 2012-12-21  David S. Miller  <davem@davemloft.net>
37707         * po/hr.po: Update from translation team.
37709 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37711         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37713 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37715         * NEWS:  Mention new memcpy for MIPS.
37717 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37719         * manual/contrib.texi (Contributors): Spelling correction.
37721 2012-12-15  David S. Miller  <davem@davemloft.net>
37723         * po/ru.po: Update from translation team.
37725 2012-12-13  David S. Miller  <davem@davemloft.net>
37727         * NEWS: Mention IFUNC testsuite enhancements.
37729         * po/pl.po: Update from translation team.
37730         * po/bg.po: Likewise.
37732         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37733         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37735 2012-12-11  David S. Miller  <davem@davemloft.net>
37737         * po/sv.po: Update from translation team.
37739         * po/vi.po: Update from translation team.
37741         * po/cs.po: Update from translation team.
37743         * po/de.po: Update from translation team.
37744         * po/eo.po: Likewise.
37745         * po/nl.po: Likewise.
37747 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37749         [BZ #14246]
37750         * manual/argp.texi (Argp Helper Functions): Move node to follow
37751         Argp Parsing State.
37753         [BZ #14872]
37754         * manual/conf.texi (Limits on File System Capacity): Mention if
37755         terminating null is included in the max size.
37757 2012-12-10  Andreas Jaeger  <aj@suse.de>
37759         * po/cs.po: Update from translation team.
37761 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37763         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37764         void pointer and cast to uintptr_t.
37765         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37766         path.
37767         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37768         * sysdeps/s390/s390-64/memset.S: Likewise.
37770 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37772         [BZ #14833]
37773         * menual/message.texi (Message Translation): Fix typos.
37774         (Helper programs for gettext): Likewise.
37776 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37778         [BZ #14898]
37779         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37780         Change to -1.
37782 2012-12-07  David S. Miller  <davem@davemloft.net>
37784         * po/libc.pot: Update.
37786 2012-12-07  Richard Henderson  <rth@redhat.com>
37788         [BZ #10114]
37789         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37790         normal/normal case to before the switch.
37791         (_FP_DIV): Likewise.
37793 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37794             Mike Frysinger  <vapier@gentoo.org>
37796         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37797         check for __NR_fadvise64_64.
37799 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37801         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37802         0, not just to plain "0" as a statement.
37803         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37804         with cw.
37806 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37808         * NEWS: Use sourceware.org in Bugzilla URL.
37810 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37813         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37815         * stdio-common/tst-put-error.c (do_test): Add newline to the
37816         padded test to ensure flush.
37818 2012-12-05  Jeff Law  <law@redhat.com>
37820         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37822 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37824         * README: Don't refer to ports add-on as distributed separately.
37825         Mention AArch64 in list of systems supported in the ports add-on.
37827         * LICENSES: Add more non-FSF copyright and license notices.
37829         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37830         ((unused)).
37832         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37834         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37835         10000 as width of padded output.
37837 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37839         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37841         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37842         variable LX with __attribute__ ((unused)).
37843         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37844         Likewise.
37845         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37846         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37847         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37848         with __attribute__ ((unused)).
37850 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37852         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37854 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37856         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37857         (CFLAGS-nldbl-acos.c): New variable.
37858         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37859         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37860         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37861         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37862         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37863         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37864         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37865         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37866         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37867         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37868         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37869         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37870         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37871         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37872         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37873         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37874         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37875         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37876         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37877         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37878         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37879         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37880         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37881         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37882         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37883         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37884         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37885         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37886         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37887         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37888         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37889         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37890         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37891         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37892         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37893         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37894         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37895         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37896         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37897         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37898         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37899         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37900         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37901         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37902         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37903         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37904         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37905         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37906         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37907         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37908         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37909         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37910         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37911         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37912         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37913         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37914         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37915         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37916         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37917         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37918         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37919         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37920         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37921         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37922         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37923         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37924         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37925         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37926         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37927         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37928         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37929         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37930         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37931         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37932         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37933         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37934         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37935         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37936         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37937         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37938         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37939         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37940         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37941         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37942         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37943         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37944         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37945         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37946         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37947         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37948         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37949         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37950         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37951         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37952         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37953         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37954         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37957         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37959         [BZ #14914]
37960         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37961         whole low double instead of just low 47 bits when splitting values
37962         into two parts.
37964 2012-12-03  Allan McRae  <allan@archlinux.org>
37966         * manual/stdio.texi (Predefined Printf Handlers): Remove
37967         @hsep and @vsep usage.
37969 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37971         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37972         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37974 2012-12-03  Jeff Law  <law@redhat.com>
37976         * time/sys/time.h (settimeofday): Do not mark TV argument
37977         as __nonnull.
37979 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37981         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37982         when currently writing and seek to current position when not.
37983         * libio/Makefile (tests): Remove bug-fclose1.
37984         * libio/bug-fclose1.c: Delete.
37986 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37988         * manual/arith.texi (feenableexcept): Fix typo.
37989         (fedisableexcept): Likewise.
37991 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37993         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37994         second, differently-typed declaration, rather than a cast.
37996 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37998         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37999         * include/rpc/svc.h: ... here.
38001 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
38003         [BZ #13013]
38004         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
38005         depending n and resplen2 to catch cases where answer
38006         equals answerp2.
38008 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
38010         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
38011         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38013 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38015         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38017 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38019         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38021 2012-11-28  Jeff Law  <law@redhat.com>
38023         [BZ #13761]
38024         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38025         dataset_temporary.  Track alloca usage into alloca_used.
38026         If dataset is large allocate and release it via malloc/free.
38028 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38030         [BZ #14197]
38031         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38033 2012-11-28  David S. Miller  <davem@davemloft.net>
38035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38037 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38039         [BZ #14803]
38040         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38041         of pi/2 rounded to nearest to 64 bits.
38042         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38043         nearest to 64 bits.
38044         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38045         bits.
38047 2012-11-28  Jeff Law <law@redhat.com>
38048             Martin Osvald <mosvald@redhat.com>
38050         [BZ #14889]
38051         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38052         * sunrpc/svc.c: Include time.h.
38053         (__svc_accept_failed): New function.
38054         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38055         any reason other than EINTR, call __svc_accept_failed.
38056         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38057         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38059 2012-11-28  Andreas Schwab  <schwab@suse.de>
38061         * scripts/abilist.awk: Also handle indirect functions in .opd
38062         section.
38064 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38066         [BZ #13881]
38067         * sysdeps/x86/fpu/powl_helper.c: New file.
38068         * sysdeps/x86/fpu/Makefile: Likewise.
38069         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38070         (p3): New object.
38071         (__ieee754_powl): Use __powl_helper for finite arguments except
38072         integer exponents below 8.
38073         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38074         (p3): New object.
38075         (__ieee754_powl): Use __powl_helper for finite arguments except
38076         integer exponents below 8.
38077         * math/libm-test.inc (pow_test): Add more tests and enable some
38078         previously disabled tests.
38079         * sysdeps/i386/fpu/libm-test-ulps: Update.
38080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38082 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083             Carlos O'Donell  <carlos_odonell@mentor.com>
38085         * nss/makedb.c (is_prime): Assert that input is odd and greater
38086         than 4.  Note that fact in a comment too.
38087         (next_prime): Add 4 to input.
38089 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38091         [BZ #11741]
38092         * libio/Makefile (tests): Add test case tst-fwrite-error.
38093         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38094         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38095         * libio/tst-fwrite-error.c: New test case.
38097 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38099         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38100         before casting to void *.
38101         * include/libc-internal.h (__pointer_type): New macro.
38102         (__integer_if_pointer_type_sub): Likewise.
38103         (__integer_if_pointer_type): Likewise.
38104         (cast_to_integer): Likewise.
38105         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38106         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38107         before casting to atomic64_t.
38108         (atomic_exchange_acq): Likewise.
38109         (__arch_exchange_and_add_body): Likewise.
38110         (__arch_add_body): Likewise.
38111         (atomic_add_negative): Likewise.
38112         (atomic_add_zero): Likewise.
38114 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38116         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38117         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38118         (add_fdes): Likewise.
38119         (linear_search_fdes): Likewise.
38120         (binary_search_unencoded_fdes): Likewise.
38122 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38124         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38126 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38128         * configure.in: Autodetect C++ header directories.
38129         * configure: Regenerated.
38131 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38133         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38135 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38139 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38141         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38142         LDBL_MANT_DIG == 106]: Disable some tests.
38143         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38144         Likewise.
38145         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38146         Likewise.
38148         [BZ #14871]
38149         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38150         input for small inputs.  Return +/- pi/2 for large inputs.
38151         * math/libm-test.inc (atan_test): Add more tests.
38153         * sysdeps/generic/unwind-dw2-fde-glibc.c
38154         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38155         __attribute__ ((unused)).
38157         [BZ #14645]
38158         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38159         x * y if x and y are nonzero and z is zero.
38161         [BZ #14811]
38162         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38163         nonzero exponents with absolute value below 0x1p-117 to +/-
38164         0x1p-117.
38166         [BZ #14869]
38167         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38168         up arguments below 2**-450, not just those below 2**-500.
38169         * math/libm-test.inc (hypot_test): Add another test.
38171         [BZ #14868]
38172         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38173         Return a+b for ratio over 2**120, not 2**60.
38174         * math/libm-test.inc (hypot_test): Add another test.
38176         * math/libm-test.inc (clog_test): Use
38177         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38178         (clog10_test): Likewise.
38180         [BZ #6778]
38181         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38183 2012-11-22  Andreas Schwab  <schwab@suse.de>
38185         * sysdeps/i386/fpu/libm-test-ulps: Update.
38187 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38189         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38190         printf output with newline.
38192 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38194         [BZ #14865]
38195         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38196         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38197         -z nodlopen, -z initfirst and -z execstack support.
38198         * configure: Regenerated.
38200         * elf/elf.h (DF_1_NODIRECT): New macro.
38201         (DF_1_IGNMULDEF): Likewise.
38202         (DF_1_NOKSYMS): Likewise.
38203         (DF_1_NOHDR): Likewise.
38204         (DF_1_EDITED): Likewise.
38205         (DF_1_NORELOC): Likewise.
38206         (DF_1_SYMINTPOSE): Likewise.
38207         (DF_1_GLOBAUDIT): Likewise.
38208         (DF_1_SINGLETON): Likewise.
38209         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38210         DT_1_SUPPORTED_MASK bits.
38211         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38213 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38215         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38217 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38219         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38220         macro.
38222         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38223         (sendmmsg): Move declarations...
38224         * socket/sys/socket.h: ... here.
38225         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38226         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38227         include it from...
38228         * socket/recvmmsg.c: ... this new file.
38229         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38230         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38231         definition of __sendmmsg hidden.
38232         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38233         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38234         Move ENOSYS stub into and include it from...
38235         * socket/sendmmsg.c: ... this new file.
38236         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38237         (sysdep_routines): Move recvmmsg and sendmmsg...
38238         * socket/Makefile (routines): ... here.
38239         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38240         (GLIBC_PRIVATE): Add __sendmmsg.
38241         * include/sys/socket.h (__sendmmsg): Add declarations.
38242         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38243         sendmmsg.
38245 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38247         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38248         variable I1 with __attribute__ ((unused)).
38249         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38251 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38253         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38254         DUMMY variables with __attribute__ ((unused)).
38256         * bits/byteswap.h: Include <bits/types.h>.
38257         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38259 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38261         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38262         string_t.  Do not manually set errno.
38263         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38264         length with __strnlen.  Make sure to both set errno and return it on
38265         failure.
38267 2012-11-19  David S. Miller  <davem@davemloft.net>
38269         With help from Joseph Myers.
38270         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38271         very large arguments properly.
38272         * math/libm-test.inc (atan_test): New tests.
38273         (atan2_test): New tests.
38274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38277 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38279         [BZ #14856]
38280         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38281         Define to 3.
38283         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38284         [POSIX] (EADDRNOTAVAIL): Likewise.
38285         [POSIX] (EAFNOSUPPORT): Likewise.
38286         [POSIX] (EALREADY): Likewise.
38287         [POSIX] (ECONNABORTED): Likewise.
38288         [POSIX] (ECONNREFUSED): Likewise.
38289         [POSIX] (ECONNRESET): Likewise.
38290         [POSIX] (EDESTADDRREQ): Likewise.
38291         [POSIX] (EDQUOT): Likewise.
38292         [POSIX] (EHOSTUNREACH): Likewise.
38293         [POSIX] (EIDRM): Likewise.
38294         [POSIX] (EISCONN): Likewise.
38295         [POSIX] (ELOOP): Likewise.
38296         [POSIX] (EMULTIHOP): Likewise.
38297         [POSIX] (ENETDOWN): Likewise.
38298         [POSIX] (ENETUNREACH): Likewise.
38299         [POSIX] (ENOBUFS): Likewise.
38300         [POSIX] (ENODATA): Likewise.
38301         [POSIX] (ENOLINK): Likewise.
38302         [POSIX] (ENOMSG): Likewise.
38303         [POSIX] (ENOPROTOOPT): Likewise.
38304         [POSIX] (ENOSR): Likewise.
38305         [POSIX] (ENOSTR): Likewise.
38306         [POSIX] (ENOTCONN): Likewise.
38307         [POSIX] (ENOTSOCK): Likewise.
38308         [POSIX] (EOPNOTSUPP): Likewise.
38309         [POSIX] (EOVERFLOW): Likewise.
38310         [POSIX] (EPROTO): Likewise.
38311         [POSIX] (EPROTONOSUPPORT): Likewise.
38312         [POSIX] (EPROTOTYPE): Likewise.
38313         [POSIX] (ESTALE): Likewise.
38314         [POSIX] (ETIME): Likewise.
38315         [POSIX] (ETXTBSY): Likewise.
38316         [POSIX] (EWOULDBLOCK): Likewise.
38317         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38318         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38319         [POSIX] (SEEK_CUR): Likewise.
38320         [POSIX] (SEEK_END): Likewise.
38321         [POSIX || UNIX98] (mode_t): Do not require.
38322         [POSIX] (off_t): Likewise.
38323         [POSIX] (pid_t): Likewise.
38324         [POSIX] (sys/stat.h): Do not allow header.
38325         [POSIX] (unistd.h): Likewise.
38326         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38327         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38328         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38329         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38330         require.
38331         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38332         sigevent): Specify elements.
38333         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38334         entry.
38335         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38336         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38338         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38339         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38340         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38341         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38342         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38343         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38344         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38345         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38346         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38347         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38348         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38349         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38350         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38351         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38352         Likewise.
38353         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38354         Likewise.
38355         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38356         Likewise.
38357         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38358         Likewise.
38359         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38360         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38361         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38362         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38363         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38364         Specify lower bound on value.
38365         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38366         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38367         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38368         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38369         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38370         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38371         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38372         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38373         value.
38374         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38375         as optional.
38376         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38377         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38378         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38379         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38380         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38381         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38382         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38383         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38384         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38385         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38386         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38387         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38388         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38389         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38390         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38391         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38392         entry.
38393         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38394         optional.
38395         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38396         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38397         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38398         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38399         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38400         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38401         Likewise.
38402         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38403         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38404         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38405         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38406         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38407         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38408         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38409         as optional.
38410         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38411         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38412         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38413         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38414         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38415         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38416         specify as optional.
38417         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38418         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38419         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38420         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38421         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38422         [XPG3] (NL_LANGMAX): Likewise.
38423         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38424         [POSIX || XPG3] (NL_NMAX): Likewise.
38425         [POSIX || XPG3] (NL_SETMAX): Likewise.
38426         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38427         [XPG3] (NZERO): Likewise.
38428         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38429         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38430         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38431         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38432         (REG_ERANGE): Expect.
38433         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38434         optional-constant.
38435         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38436         Use (void) in prototype.
38437         [POSIX] (*_t): Allow.
38438         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38439         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38440         (WRDE_BADVAL): Expect.
38442         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38443         expect.
38444         [XPG3 || XPG4] (O_RSYNC): Likewise.
38445         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38446         Likewise.
38447         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38448         [XPG3 || XPG4] (sigqueue): Likewise.
38449         [XPG3 || XPG4] (sigtimedwait): Likewise.
38450         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38451         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38452         [XPG3 || XPG4] (vsnprintf): Likewise.
38453         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38454         Likewise.
38455         [XPG3 || XPG4] (blksize_t): Likewise.
38456         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38457         Likewise.
38458         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38459         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38460         [XPG3 || XPG4] (struct itimerspec): Likewise.
38461         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38462         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38463         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38464         [XPG3 || XPG4] (clockid_t): Likewise.
38465         [XPG3 || XPG4] (timer_t): Likewise.
38466         [XPG3 || XPG4] (clock_getres): Likewise.
38467         [XPG3 || XPG4] (clock_gettime): Likewise.
38468         [XPG3 || XPG4] (clock_settime): Likewise.
38469         [XPG3 || XPG4] (nanosleep): Likewise.
38470         [XPG3 || XPG4] (timer_create): Likewise.
38471         [XPG3 || XPG4] (timer_delete): Likewise.
38472         [XPG3 || XPG4] (timer_gettime): Likewise.
38473         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38474         [XPG3 || XPG4] (timer_settime): Likewise.
38475         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38476         [XPG3 || XPG4] (getlogin_r): Likewise.
38477         [XPG3 || XPG4] (pread): Likewise.
38478         [XPG3 || XPG4] (pthread_atfork): Likewise.
38479         [XPG3 || XPG4] (pwrite): Likewise.
38481         [BZ #14835]
38482         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38483         <bits/siginfo.h>.
38485 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38487         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38488         finalizing MALLSTREAM.
38490         * sysdeps/mach/hurd/syncfs.c: New file.
38492 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38494         [BZ #14719]
38495         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38496         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38497         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38498         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38499         (_nss_dns_gethostbyname4_r): Likewise.
38500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38501         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38503 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38505         [BZ #13763]
38506         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38508 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38510         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38511         * elf/cache.c (print_entry): Print ",AArch64" for
38512         FLAG_AARCH64_LIB64
38514         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38515         * elf/cache.c (print_entry): Print ",hard-float" for
38516         FLAG_ARM_LIBHF.
38518 2012-11-18  David S. Miller  <davem@davemloft.net>
38520         With help from Joseph Myers.
38521         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38522         cutoff to 2**-13.
38523         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38524         cutoff to 2**-25.
38525         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38526         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38527         small.
38528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38529         * math/libm-test.inc (y0_test): New tests.
38530         (y1_test): New tests.
38531         * sysdeps/i386/fpu/libm-test-ulps: Update.
38532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38535 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38537         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38538         64-bit targets.
38539         * configure: Regenerated.
38541 2012-11-17  David S. Miller  <davem@davemloft.net>
38543         [BZ #14811]
38544         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38545         nonzero exponents with absolute value below 0x1p-128 to +/-
38546         0x1p-128.
38548 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38550         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38552         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38554         * posix/getconf-speclist.c: New file.
38555         * posix/posix-envs.def: Likewise.
38556         * posix/confstr.c (START_ENV_GROUP): New macro.
38557         (END_ENV_GROUP): Likewise.
38558         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38559         (KNOWN_PRESENT_ENV_STRING): Likewise.
38560         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38561         (UNKNOWN_ENVIRONMENT): Likewise.
38562         (confstr): Include posix-envs.def instead of handling
38563         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38564         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38565         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38566         (END_ENV_GROUP): Likewise.
38567         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38568         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38569         (UNKNOWN_ENVIRONMENT): Likewise.
38570         (__sysconf): Include posix-envs.def instead of handling associated
38571         cases directly here.
38572         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38573         preprocessing getconf-speclist.c rather than running getconf or
38574         generating empty file.
38576 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38578         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38580 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38582         [BZ #14672]
38583         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38585 2012-11-16  David S. Miller  <davem@davemloft.net>
38587         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38588         smaller than LDBL_EPSILON/2.0L, just return xm1.
38590 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38592         * elf/tst-array1.c (init): Set constructor priority to 1000.
38593         (fini): Set destructor priority to 1000.
38594         * elf/tst-array2dep.c: Likewise.
38596 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38598         [BZ #11741]
38599         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38600         (_IO_new_file_xsputn): Also return EOF if none of the input
38601         data was written when overflow failed.
38602         * libio/iopadn.c (_IO_padn): Likewise.
38603         * libio/iowpadn.c (_IO_wpadn): Likewise.
38604         * stdio-common/tst-put-error.c: Add copyright notice.
38605         (do_test): Add case for printing padded string.
38606         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38607         _IO_padn returned error.
38608         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38609         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38610         return EOF.
38612 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38614         * libio/libioP.h: Add comment note that the references to C++
38615         bits are now obsolete.
38617 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38619         * math/libm-test.inc (check_complex): Use asprintf.
38621 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38623         * debug/pcprofiledump.c (print_version): Update copyright year.
38624         * malloc/memusagestat.c (print_version): Likewise.
38626 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38628         [BZ #14831]
38629         * elf/Makefile (tests): Add tst-audit8.
38630         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38631         ($(objpfx)tst-audit8.out): New target.
38632         (tst-audit8-ENV): New variable.
38633         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38634         audit if l_reloc_result is NULL.
38635         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38636         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38637         * elf/tst-audit8.c: New file.
38639 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38641         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38642         * misc/Makefile (CFLAGS-select.c): Define.
38643         * posix/Makefile (CFLAGS-pause.c): Define.
38645 2012-11-13  David S. Miller  <davem@davemloft.net>
38647         * crypt/Makefile: Move test targets after toplevel Rules
38648         inclusion.  Grab any necessary sysdep routines when linking.
38649         * crypt/md5.c (md5_process_block): Remove define, we will always
38650         name it __md5_process_block.
38651         (md5_finish_ctx): Update md5_process_block call.
38652         (md5_stream): Likewise.
38653         (md5_process_bytes): Likewise.
38654         (md5_process_block): Rename to __md5_process_block and move to ...
38655         * crypt/md5-block.c: ... here.
38656         * crypt/sha256.c (sha256_process_block): Move to ...
38657         * crypt/sha256-block.c: ... here.
38658         * crypt/sha512.c (sha512_process_block): Move to ...
38659         * crypt/sha512-block.c: ... here.
38660         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38661         path.
38662         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38663         * sysdeps/sparc/sparc64/multiarch/Makefile
38664         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38665         crypt subdir.
38666         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38667         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38668         multiarch changes.
38669         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38670         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38671         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38672         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38673         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38674         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38675         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38676         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38677         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38678         file.
38679         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38680         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38681         file.
38682         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38684 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38686         * timezone/tzselect.ksh: Update from tzcode git revision
38687         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38688         * timezone/zdump.c: Likewise.
38689         * timezone/zic.c: Likewise.
38690         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38691         in TZVERSION setting, not $(PKGVERSION).
38692         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38693         REPORT_BUGS_TO settings.
38695         [BZ #14838]
38696         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38697         macro.
38699 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38701         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38702         detection to immediately after _FP_ROUND().
38703         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38704         bits are 0.
38706 2012-11-11  David S. Miller  <davem@davemloft.net>
38708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38709         inttypes.h
38710         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38711         __close rather than their public counterparts.
38713 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38715         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38716         file.
38717         [UNIX98] (sem_timedwait): Do not expect.
38718         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38719         [XPG4 || UNIX98] (sockatmark): Do not expect.
38720         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38721         (clock_getcpuclockid): Do not expect.
38722         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38723         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38724         Do not expect.
38725         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38726         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38727         [UNIX98] (vwscanf): Likewise.
38728         [UNIX98] (vswscanf): Likewise.
38730 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38732         * timezone/version.h: Remove file.
38733         * timezone/README: Do not refer to version.h.
38734         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38735         $(objpfx)version.h.
38736         ($(objpfx)zdump.o): Likewise.
38737         ($(objpfx)version.h): New target.
38739         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38740         2012i.
38741         * timezone/README: Don't mention modification to tzselect.ksh.
38742         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38743         work on unmodified tzselect.ksh.  Substitute version numbers in
38744         tzselect.ksh.
38746         * Makefile (format-me): Remove.
38747         (INSTALL): Adjust indentation.  Use commands directly instead of
38748         using $(format-me).
38750         * aclocal.m4 (ACX_PKGVERSION): New macro.
38751         (ACX_BUGURL): Likewise.
38752         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38753         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38754         (REPORT_BUGS_TO): Likewise.
38755         * configure: Regenerated.
38756         * config.h.in (PKGVERSION): New macro.
38757         (REPORT_BUGS_TO): Likewise.
38758         * config.make.in (PKGVERSION): New variable.
38759         (PKGVERSION_TEXI): Likewise.
38760         (REPORT_BUGS_TO): Likewise.
38761         (REPORT_BUGS_TEXI): Likewise.
38762         * Makefile (format-me): Use -I$(common-objpfx)manual.
38763         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38764         ($(common-objpfx)manual/%): New target.
38765         (manual/%): Remove target.
38766         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38767         (print_version): Use PKGVERSION.
38768         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38769         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38770         and REPORT_BUGS_TO.
38771         ($(objpfx)xtrace): Likewise.
38772         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38773         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38774         (print_version): Use PKGVERSION.
38775         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38776         (do_version): Use PKGVERSION.
38777         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38778         REPORT_BUGS_TO.
38779         (common-ldd-rewrite): Likewise.
38780         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38781         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38782         (print_version): Use PKGVERSION.
38783         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38784         * elf/pldd.c (argp_program_bug_address): Remove variable.
38785         (more_help): New function.
38786         (argp): Use more_help.
38787         (print_version): Use PKGVERSION.
38788         * elf/sln.c (main): Use PKGVERSION.
38789         (usage): Use REPORT_BUGS_TO.
38790         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38791         (top level): Use PKGVERSION.
38792         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38793         (print_version): Use PKGVERSION.
38794         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38795         (print_version): Use PKGVERSION.
38796         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38797         (print_version): Use PKGVERSION.
38798         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38799         (print_version): Use PKGVERSION.
38800         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38801         (print_version): Use PKGVERSION.
38802         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38803         (print_version): Use PKGVERSION.
38804         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38805         and BUGURL.
38806         ($(objpfx)memusage): Likewise.
38807         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38808         (do_version): Use PKGVERSION.
38809         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38810         (print_version): Use PKGVERSION.
38811         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38812         ($PKGVERSION): New variable.
38813         ($REPORT_BUGS_TO): Likewise.
38814         (usage): Use $REPORT_BUGS_TO.
38815         (top level): Use $PKGVERSION.
38816         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38817         ($(objpfx)pkgvers.texi): New rule.
38818         ($(objpfx)stamp-pkgvers): Likewise.
38819         * manual/install.texi: Include pkgvers.texi.
38820         (--with-pkgversion): Document new configure option.
38821         (--with-bugurl): Likewise.
38822         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38823         than necessarily for this particular distribution.  Use
38824         REPORT_BUGS_TO for where to report bugs.
38825         * INSTALL: Regenerated.
38826         * manual/libc.texinfo: Include pkgvers.texi.
38827         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38828         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38829         (print_version): Use PKGVERSION.
38830         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38831         (print_version): Use PKGVERSION.
38832         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38833         (print_version): Use PKGVERSION.
38834         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38835         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38836         macro.
38837         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38838         (print_version): Use PKGVERSION.
38839         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38840         (print_version): Use PKGVERSION.
38841         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38842         and PKGVERSION.
38844         * timezone/checktab.awk: Update from tzcode 2012i.
38845         * timezone/ialloc.c: Likewise.
38846         * timezone/private.h: Likewise.
38847         * timezone/scheck.c: Likewise.
38848         * timezone/tzfile.h: Likewise.
38849         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38850         (TZVERSION): Hardcode tzcode version number.
38851         * timezone/zdump.c: Update from tzcode 2012i.
38852         * timezone/zic.c: Likewise.
38853         * timezone/version.h: New file.
38854         * timezone/README: Describe version.h.  Update upstream location.
38856         [BZ #14824]
38857         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38858         (mktemp): Enable declaration.
38859         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38860         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38861         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38862         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38863         Likewise.
38864         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38865         Likewise.
38866         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38867         Likewise.
38868         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38869         Likewise.
38870         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38871         Likewise.
38872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38873         Likewise.
38875         [BZ #14821]
38876         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38877         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38878         for copies of such integer values.
38879         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38880         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38882 2012-11-09  Andreas Jaeger  <aj@suse.de>
38884         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38885         definitions and declarations that are provided by
38886         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38888 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38890         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38891         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38892         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38893         definition.
38895 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38897         * elf/elf.h: Update comment before AArch64 relocations.
38899 2012-11-07  David S. Miller  <davem@davemloft.net>
38901         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38902         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38903         (__start_context): Declare.
38904         (__makecontext_ret): Delete.
38905         (__makecontext): Hook up __start_context instead of
38906         __makecontext_ret.
38907         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38908         (sysdep_routines): Add __start_context when in stdlib.
38910 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38912         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38913         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38914         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38915         hardcoded "nm".
38916         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38917         (READELF): New variable.  Use it instead of hardcoded "readelf".
38919 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38921         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38922         * sysdeps/x86/Makefile: Here.
38923         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38924         * sysdeps/x86/tst-xmmymm.sh: This.
38926 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38928         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38929         expectations.
38930         [UNIX98] (pthread_barrier_t): Do not expect.
38931         [UNIX98] (pthread_barrierattr_t): Likewise.
38932         [UNIX98] (pthread_spinlock_t): Likewise.
38933         [UNIX98] (pthread_barrier_destroy): Likewise.
38934         [UNIX98] (pthread_barrier_init): Likewise.
38935         [UNIX98] (pthread_barrier_wait): Likewise.
38936         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38937         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38938         [UNIX98] (pthread_barrierattr_init): Likewise.
38939         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38940         [UNIX98] (pthread_getcpuclockid): Likewise.
38941         [UNIX98] (pthread_mutex_timedlock): Likewise.
38942         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38943         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38944         [UNIX98] (pthread_sigmask): Likewise.
38945         [UNIX98] (pthread_spin_destroy): Likewise.
38946         [UNIX98] (pthread_spin_init): Likewise.
38947         [UNIX98] (pthread_spin_lock): Likewise.
38948         [UNIX98] (pthread_spin_trylock): Likewise.
38949         [UNIX98] (pthread_spin_unlock): Likewise.
38950         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38951         Do not expect.
38952         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38953         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38954         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38955         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38956         [XPG3 || XPG4] (pthread_key_t): Likewise.
38957         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38958         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38959         [XPG3 || XPG4] (pthread_once_t): Likewise.
38960         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38961         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38962         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38963         [XPG3 || XPG4] (pthread_t): Likewise.
38965         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38966         not expect.
38967         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38969         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38970         Change function return type to int.
38972         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38973         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38974         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38975         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38976         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38977         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38978         [!POSIX] (posix_madvise): Likewise.
38979         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38980         && !UNIX98].
38981         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38982         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38983         (mode_t): Likewise.
38984         (posix_mem_offset): Likewise.
38985         (posix_typed_mem_get_info): Likewise.
38986         (posix_typed_mem_open): Likewise.
38988         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38989         Change condition to [XOPEN2K8].
38991         * conform/conformtest.pl: Preprocess allow-header data with -x c
38992         instead of from stdin.
38993         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38994         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38995         [C99-based standards] (cerfc): Likewise.
38996         [C99-based standards] (cexp2): Likewise.
38997         [C99-based standards] (cexpm1): Likewise.
38998         [C99-based standards] (clog10): Likewise.
38999         [C99-based standards] (clog1p): Likewise.
39000         [C99-based standards] (clog2): Likewise.
39001         [C99-based standards] (clgamma): Likewise.
39002         [C99-based standards] (ctgamma): Likewise.
39003         [C99-based standards] (cerff): Likewise.
39004         [C99-based standards] (cerfcf): Likewise.
39005         [C99-based standards] (cexp2f): Likewise.
39006         [C99-based standards] (cexpm1f): Likewise.
39007         [C99-based standards] (clog10f): Likewise.
39008         [C99-based standards] (clog1pf): Likewise.
39009         [C99-based standards] (clog2f): Likewise.
39010         [C99-based standards] (clgammaf): Likewise.
39011         [C99-based standards] (ctgammaf): Likewise.
39012         [C99-based standards] (cerfl): Likewise.
39013         [C99-based standards] (cerfcl): Likewise.
39014         [C99-based standards] (cexp2l): Likewise.
39015         [C99-based standards] (cexpm1l): Likewise.
39016         [C99-based standards] (clog10l): Likewise.
39017         [C99-based standards] (clog1pl): Likewise.
39018         [C99-based standards] (clog2l): Likewise.
39019         [C99-based standards] (clgammal): Likewise.
39020         [C99-based standards] (ctgammal): Likewise.
39021         * conform/data/inttypes.h-data [C99-based standards]: Include
39022         stdint.h-data.  Remove all expectations for stdint.h contents.
39023         [C99-based standards] (PRI*): Do not allow.
39024         [C99-based standards] (SCN*): Likewise.
39025         [C99-based standards] (*_t): Likewise.
39026         [C99-based-standards] (PRId8): Expect macro.
39027         [C99-based-standards] (PRIi8): Likewise.
39028         [C99-based-standards] (PRIo8): Likewise.
39029         [C99-based-standards] (PRIu8): Likewise.
39030         [C99-based-standards] (PRIx8): Likewise.
39031         [C99-based-standards] (PRIX8): Likewise.
39032         [C99-based-standards] (SCNd8): Likewise.
39033         [C99-based-standards] (SCNi8): Likewise.
39034         [C99-based-standards] (SCNo8): Likewise.
39035         [C99-based-standards] (SCNu8): Likewise.
39036         [C99-based-standards] (SCNx8): Likewise.
39037         [C99-based-standards] (PRIdLEAST8): Likewise.
39038         [C99-based-standards] (PRIiLEAST8): Likewise.
39039         [C99-based-standards] (PRIoLEAST8): Likewise.
39040         [C99-based-standards] (PRIuLEAST8): Likewise.
39041         [C99-based-standards] (PRIxLEAST8): Likewise.
39042         [C99-based-standards] (PRIXLEAST8): Likewise.
39043         [C99-based-standards] (SCNdLEAST8): Likewise.
39044         [C99-based-standards] (SCNiLEAST8): Likewise.
39045         [C99-based-standards] (SCNoLEAST8): Likewise.
39046         [C99-based-standards] (SCNuLEAST8): Likewise.
39047         [C99-based-standards] (SCNxLEAST8): Likewise.
39048         [C99-based-standards] (PRIdFAST8): Likewise.
39049         [C99-based-standards] (PRIiFAST8): Likewise.
39050         [C99-based-standards] (PRIoFAST8): Likewise.
39051         [C99-based-standards] (PRIuFAST8): Likewise.
39052         [C99-based-standards] (PRIxFAST8): Likewise.
39053         [C99-based-standards] (PRIXFAST8): Likewise.
39054         [C99-based-standards] (SCNdFAST8): Likewise.
39055         [C99-based-standards] (SCNiFAST8): Likewise.
39056         [C99-based-standards] (SCNoFAST8): Likewise.
39057         [C99-based-standards] (SCNuFAST8): Likewise.
39058         [C99-based-standards] (SCNxFAST8): Likewise.
39059         [C99-based-standards] (PRId16): Likewise.
39060         [C99-based-standards] (PRIi16): Likewise.
39061         [C99-based-standards] (PRIo16): Likewise.
39062         [C99-based-standards] (PRIu16): Likewise.
39063         [C99-based-standards] (PRIx16): Likewise.
39064         [C99-based-standards] (PRIX16): Likewise.
39065         [C99-based-standards] (SCNd16): Likewise.
39066         [C99-based-standards] (SCNi16): Likewise.
39067         [C99-based-standards] (SCNo16): Likewise.
39068         [C99-based-standards] (SCNu16): Likewise.
39069         [C99-based-standards] (SCNx16): Likewise.
39070         [C99-based-standards] (PRIdLEAST16): Likewise.
39071         [C99-based-standards] (PRIiLEAST16): Likewise.
39072         [C99-based-standards] (PRIoLEAST16): Likewise.
39073         [C99-based-standards] (PRIuLEAST16): Likewise.
39074         [C99-based-standards] (PRIxLEAST16): Likewise.
39075         [C99-based-standards] (PRIXLEAST16): Likewise.
39076         [C99-based-standards] (SCNdLEAST16): Likewise.
39077         [C99-based-standards] (SCNiLEAST16): Likewise.
39078         [C99-based-standards] (SCNoLEAST16): Likewise.
39079         [C99-based-standards] (SCNuLEAST16): Likewise.
39080         [C99-based-standards] (SCNxLEAST16): Likewise.
39081         [C99-based-standards] (PRIdFAST16): Likewise.
39082         [C99-based-standards] (PRIiFAST16): Likewise.
39083         [C99-based-standards] (PRIoFAST16): Likewise.
39084         [C99-based-standards] (PRIuFAST16): Likewise.
39085         [C99-based-standards] (PRIxFAST16): Likewise.
39086         [C99-based-standards] (PRIXFAST16): Likewise.
39087         [C99-based-standards] (SCNdFAST16): Likewise.
39088         [C99-based-standards] (SCNiFAST16): Likewise.
39089         [C99-based-standards] (SCNoFAST16): Likewise.
39090         [C99-based-standards] (SCNuFAST16): Likewise.
39091         [C99-based-standards] (SCNxFAST16): Likewise.
39092         [C99-based-standards] (PRId32): Likewise.
39093         [C99-based-standards] (PRIi32): Likewise.
39094         [C99-based-standards] (PRIo32): Likewise.
39095         [C99-based-standards] (PRIu32): Likewise.
39096         [C99-based-standards] (PRIx32): Likewise.
39097         [C99-based-standards] (PRIX32): Likewise.
39098         [C99-based-standards] (SCNd32): Likewise.
39099         [C99-based-standards] (SCNi32): Likewise.
39100         [C99-based-standards] (SCNo32): Likewise.
39101         [C99-based-standards] (SCNu32): Likewise.
39102         [C99-based-standards] (SCNx32): Likewise.
39103         [C99-based-standards] (PRIdLEAST32): Likewise.
39104         [C99-based-standards] (PRIiLEAST32): Likewise.
39105         [C99-based-standards] (PRIoLEAST32): Likewise.
39106         [C99-based-standards] (PRIuLEAST32): Likewise.
39107         [C99-based-standards] (PRIxLEAST32): Likewise.
39108         [C99-based-standards] (PRIXLEAST32): Likewise.
39109         [C99-based-standards] (SCNdLEAST32): Likewise.
39110         [C99-based-standards] (SCNiLEAST32): Likewise.
39111         [C99-based-standards] (SCNoLEAST32): Likewise.
39112         [C99-based-standards] (SCNuLEAST32): Likewise.
39113         [C99-based-standards] (SCNxLEAST32): Likewise.
39114         [C99-based-standards] (PRIdFAST32): Likewise.
39115         [C99-based-standards] (PRIiFAST32): Likewise.
39116         [C99-based-standards] (PRIoFAST32): Likewise.
39117         [C99-based-standards] (PRIuFAST32): Likewise.
39118         [C99-based-standards] (PRIxFAST32): Likewise.
39119         [C99-based-standards] (PRIXFAST32): Likewise.
39120         [C99-based-standards] (SCNdFAST32): Likewise.
39121         [C99-based-standards] (SCNiFAST32): Likewise.
39122         [C99-based-standards] (SCNoFAST32): Likewise.
39123         [C99-based-standards] (SCNuFAST32): Likewise.
39124         [C99-based-standards] (SCNxFAST32): Likewise.
39125         [C99-based-standards] (PRId64): Likewise.
39126         [C99-based-standards] (PRIi64): Likewise.
39127         [C99-based-standards] (PRIo64): Likewise.
39128         [C99-based-standards] (PRIu64): Likewise.
39129         [C99-based-standards] (PRIx64): Likewise.
39130         [C99-based-standards] (PRIX64): Likewise.
39131         [C99-based-standards] (SCNd64): Likewise.
39132         [C99-based-standards] (SCNi64): Likewise.
39133         [C99-based-standards] (SCNo64): Likewise.
39134         [C99-based-standards] (SCNu64): Likewise.
39135         [C99-based-standards] (SCNx64): Likewise.
39136         [C99-based-standards] (PRIdLEAST64): Likewise.
39137         [C99-based-standards] (PRIiLEAST64): Likewise.
39138         [C99-based-standards] (PRIoLEAST64): Likewise.
39139         [C99-based-standards] (PRIuLEAST64): Likewise.
39140         [C99-based-standards] (PRIxLEAST64): Likewise.
39141         [C99-based-standards] (PRIXLEAST64): Likewise.
39142         [C99-based-standards] (SCNdLEAST64): Likewise.
39143         [C99-based-standards] (SCNiLEAST64): Likewise.
39144         [C99-based-standards] (SCNoLEAST64): Likewise.
39145         [C99-based-standards] (SCNuLEAST64): Likewise.
39146         [C99-based-standards] (SCNxLEAST64): Likewise.
39147         [C99-based-standards] (PRIdFAST64): Likewise.
39148         [C99-based-standards] (PRIiFAST64): Likewise.
39149         [C99-based-standards] (PRIoFAST64): Likewise.
39150         [C99-based-standards] (PRIuFAST64): Likewise.
39151         [C99-based-standards] (PRIxFAST64): Likewise.
39152         [C99-based-standards] (PRIXFAST64): Likewise.
39153         [C99-based-standards] (SCNdFAST64): Likewise.
39154         [C99-based-standards] (SCNiFAST64): Likewise.
39155         [C99-based-standards] (SCNoFAST64): Likewise.
39156         [C99-based-standards] (SCNuFAST64): Likewise.
39157         [C99-based-standards] (SCNxFAST64): Likewise.
39158         [C99-based-standards] (PRIdMAX): Likewise.
39159         [C99-based-standards] (PRIiMAX): Likewise.
39160         [C99-based-standards] (PRIoMAX): Likewise.
39161         [C99-based-standards] (PRIuMAX): Likewise.
39162         [C99-based-standards] (PRIxMAX): Likewise.
39163         [C99-based-standards] (PRIXMAX): Likewise.
39164         [C99-based-standards] (SCNdMAX): Likewise.
39165         [C99-based-standards] (SCNiMAX): Likewise.
39166         [C99-based-standards] (SCNoMAX): Likewise.
39167         [C99-based-standards] (SCNuMAX): Likewise.
39168         [C99-based-standards] (SCNxMAX): Likewise.
39169         [C99-based-standards] (PRIdPTR): Likewise.
39170         [C99-based-standards] (PRIiPTR): Likewise.
39171         [C99-based-standards] (PRIoPTR): Likewise.
39172         [C99-based-standards] (PRIuPTR): Likewise.
39173         [C99-based-standards] (PRIxPTR): Likewise.
39174         [C99-based-standards] (PRIXPTR): Likewise.
39175         [C99-based-standards] (SCNdPTR): Likewise.
39176         [C99-based-standards] (SCNiPTR): Likewise.
39177         [C99-based-standards] (SCNoPTR): Likewise.
39178         [C99-based-standards] (SCNuPTR): Likewise.
39179         [C99-based-standards] (SCNxPTR): Likewise.
39180         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39181         allow.
39182         * conform/data/stdint.h-data: Update comments to clarify
39183         requirements.
39184         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39185         type.
39186         [C99-based standards] (INT8_MAX): Likewise.
39187         [C99-based standards] (INT16_MIN): Likewise.
39188         [C99-based standards] (INT16_MAX): Likewise.
39189         [C99-based standards] (INT32_MIN): Likewise.
39190         [C99-based standards] (INT32_MAX): Likewise.
39191         [C99-based standards] (INT64_MIN): Likewise.
39192         [C99-based standards] (INT64_MAX): Likewise.
39193         [C99-based standards] (UINT8_MAX): Likewise.
39194         [C99-based standards] (UINT16_MAX): Likewise.
39195         [C99-based standards] (UINT32_MAX): Likewise.
39196         [C99-based standards] (UINT64_MAX): Likewise.
39197         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39198         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39199         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39200         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39201         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39202         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39203         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39204         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39205         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39206         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39207         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39208         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39209         [C99-based standards] (INT_FAST8_MIN): Likewise.
39210         [C99-based standards] (INT_FAST8_MAX): Likewise.
39211         [C99-based standards] (INT_FAST16_MIN): Likewise.
39212         [C99-based standards] (INT_FAST16_MAX): Likewise.
39213         [C99-based standards] (INT_FAST32_MIN): Likewise.
39214         [C99-based standards] (INT_FAST32_MAX): Likewise.
39215         [C99-based standards] (INT_FAST64_MIN): Likewise.
39216         [C99-based standards] (INT_FAST64_MAX): Likewise.
39217         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39218         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39219         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39220         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39221         [C99-based standards] (INTPTR_MIN): Likewise.
39222         [C99-based standards] (INTPTR_MAX): Likewise.
39223         [C99-based standards] (UINTPTR_MAX): Likewise.
39224         [C99-based standards] (INTMAX_MIN): Likewise.
39225         [C99-based standards] (INTMAX_MAX): Likewise.
39226         [C99-based standards] (UINTMAX_MAX): Likewise.
39227         [C99-based standards] (PTRDIFF_MIN): Likewise.
39228         [C99-based standards] (PTRDIFF_MAX): Likewise.
39229         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39230         [C99-based standards] (SIZE_MAX): Likewise.
39231         [C99-based standards] (WCHAR_MAX): Likewise.
39232         [C99-based standards] (WINT_MAX): Likewise.
39233         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39234         constraint on value.
39235         [C99-based standards] (WCHAR_MIN): Likewise.
39236         [C99-based standards] (WINT_MIN): Likewise.
39237         [C99-based standards] (*_t): Allow.
39238         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39239         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39240         Include math.h-data and complex.h-data.  Remove all expectations
39241         of math.h and complex.h contents.
39242         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39243         at end of line.
39244         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39245         (struct tm): Expect tag.
39246         [C99-based-standards] (wcstof): Expect function.
39247         [C99-based-standards] (wcstold): Likewise.
39248         [C99-based-standards] (wcstoll): Likewise.
39249         [C99-based-standards] (wcstoull): Likewise.
39250         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39251         macro-int-constant.  Specify type.
39252         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39253         constraint on value.
39254         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39255         Specify type.
39256         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39257         Specify value.
39258         [ISO C standards]: Do not allow headers.
39259         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39260         wcs[abcdefghijklmnopqrstuvwxyz]*.
39261         [ISO C standards] (*_t): Do not allow.
39262         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39263         Expect function.
39264         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39265         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39266         Specify type.
39267         [ISO C standards]: Do not allow headers.
39268         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39269         is[abcdefghijklmnopqrstuvwxyz]*.
39270         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39271         to[abcdefghijklmnopqrstuvwxyz]*.
39272         [ISO C standards] (*_t): Do not allow.
39273         * conform/data/stdalign.h-data: New file.
39274         * conform/data/stdbool.h-data: Likewise.
39275         * conform/data/stdnoreturn.h-data: Likewise.
39277 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39279         [BZ #14815]
39280         * manual/filesys.texi (Directory Entries): Typo fix.
39281         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39283 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39285         * elf/elf.h (EM_AARCH64): New macro.
39286         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39287         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39288         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39289         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39290         (R_AARCH64_TLSDESC): Likewise.
39291         (NT_ARM_TLS): Likewise.
39292         (NT_ARM_HW_BREAK): Likewise.
39293         (NT_ARM_HW_WATCH): Likewise.
39295 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39297         [BZ #14811]
39298         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39299         (__ieee754_powl): Saturate nonzero exponents with absolute value
39300         below 0x1p-79 to +/- 0x1p-79.
39301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39302         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39303         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39304         nonzero exponents with absolute value below 0x1p-32 to +/-
39305         0x1p-32.
39306         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39307         (__ieee754_powl): Saturate nonzero exponents with absolute value
39308         below 0x1p-79 to +/- 0x1p-79.
39309         * math/libm-test.inc (pow_test): Add more tests.
39311 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39313         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39314         _dl_s390_cap_flags with kernel. Increase string length.
39315         (_dl_s390_platforms): Add z196 and zEC12.
39317 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39319         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39320         Change XOPEN21K to XOPEN2K.
39322 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39324         * string/memmove.c: Use memcpy when possible.
39326 2012-11-06  Andreas Jaeger  <aj@suse.de>
39328         * po/eo.po: Update from translation team.
39330 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39332         [BZ #14793]
39333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39334         exponent and small x and y exponents, scale x or y up.  Increase
39335         by 2 the exponent used in scaling up.
39336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39337         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39338         * math/libm-test.inc (fma_test): Add more tests.
39339         (fma_test_towardzero): Likewise.
39340         (fma_test_downward): Likewise.
39341         (fma_test_upward): Likewise.
39343 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39345         [BZ #14805]
39346         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39347         fenv_t *.
39349         [BZ #14801]
39350         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39351         namespace for names of struct fields.
39352         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39353         fenv_t fields.
39354         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39355         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39357 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39359         [BZ #3665]
39360         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39362 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39364         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39365         PTR_DEMANGLE.
39367         [BZ #5246]
39368         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39369         PTR_DEMANGLE.
39371 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39373         [BZ #14797]
39374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39375         definitely overflow as x * y not x * y + z.
39376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39377         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39378         * math/libm-test.inc (fma_test): Add more tests.
39379         (fma_test_towardzero): Likewise.
39380         (fma_test_downward): Likewise.
39381         (fma_test_upward): Likewise.
39383 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39385         [BZ #157]
39387         * include/stub-tag.h: Remove file.
39388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39389         '#include' of it.
39390         * manual/maint.texi (Porting): Don't reference it.
39391         * Makerules ($(objpfx)stubs): Likewise.
39392         * dirent/closedir.c: Don't include <stub-tag.h>.
39393         * dirent/dirfd.c: Likewise.
39394         * dirent/fdopendir.c: Likewise.
39395         * dirent/getdents.c: Likewise.
39396         * dirent/getdents64.c: Likewise.
39397         * dirent/opendir.c: Likewise.
39398         * dirent/readdir.c: Likewise.
39399         * dirent/readdir64.c: Likewise.
39400         * dirent/readdir64_r.c: Likewise.
39401         * dirent/readdir_r.c: Likewise.
39402         * dirent/rewinddir.c: Likewise.
39403         * dirent/seekdir.c: Likewise.
39404         * dirent/telldir.c: Likewise.
39405         * gmon/profil.c: Likewise.
39406         * grp/setgroups.c: Likewise.
39407         * inet/if_index.c: Likewise.
39408         * io/access.c: Likewise.
39409         * io/chdir.c: Likewise.
39410         * io/chmod.c: Likewise.
39411         * io/chown.c: Likewise.
39412         * io/close.c: Likewise.
39413         * io/dup.c: Likewise.
39414         * io/dup2.c: Likewise.
39415         * io/dup3.c: Likewise.
39416         * io/euidaccess.c: Likewise.
39417         * io/faccessat.c: Likewise.
39418         * io/fchdir.c: Likewise.
39419         * io/fchmod.c: Likewise.
39420         * io/fchmodat.c: Likewise.
39421         * io/fchown.c: Likewise.
39422         * io/fchownat.c: Likewise.
39423         * io/fcntl.c: Likewise.
39424         * io/flock.c: Likewise.
39425         * io/fstatfs.c: Likewise.
39426         * io/fstatfs64.c: Likewise.
39427         * io/fstatvfs.c: Likewise.
39428         * io/fstatvfs64.c: Likewise.
39429         * io/futimens.c: Likewise.
39430         * io/fxstat.c: Likewise.
39431         * io/fxstat64.c: Likewise.
39432         * io/fxstatat.c: Likewise.
39433         * io/fxstatat64.c: Likewise.
39434         * io/getcwd.c: Likewise.
39435         * io/isatty.c: Likewise.
39436         * io/lchmod.c: Likewise.
39437         * io/lchown.c: Likewise.
39438         * io/link.c: Likewise.
39439         * io/linkat.c: Likewise.
39440         * io/lseek.c: Likewise.
39441         * io/lseek64.c: Likewise.
39442         * io/lxstat64.c: Likewise.
39443         * io/mkdir.c: Likewise.
39444         * io/mkdirat.c: Likewise.
39445         * io/mkfifo.c: Likewise.
39446         * io/mkfifoat.c: Likewise.
39447         * io/open.c: Likewise.
39448         * io/open64.c: Likewise.
39449         * io/openat.c: Likewise.
39450         * io/openat64.c: Likewise.
39451         * io/pipe.c: Likewise.
39452         * io/pipe2.c: Likewise.
39453         * io/poll.c: Likewise.
39454         * io/posix_fadvise.c: Likewise.
39455         * io/posix_fadvise64.c: Likewise.
39456         * io/posix_fallocate.c: Likewise.
39457         * io/posix_fallocate64.c: Likewise.
39458         * io/read.c: Likewise.
39459         * io/readlink.c: Likewise.
39460         * io/readlinkat.c: Likewise.
39461         * io/rmdir.c: Likewise.
39462         * io/sendfile.c: Likewise.
39463         * io/sendfile64.c: Likewise.
39464         * io/statfs.c: Likewise.
39465         * io/statfs64.c: Likewise.
39466         * io/statvfs.c: Likewise.
39467         * io/statvfs64.c: Likewise.
39468         * io/symlink.c: Likewise.
39469         * io/symlinkat.c: Likewise.
39470         * io/ttyname.c: Likewise.
39471         * io/ttyname_r.c: Likewise.
39472         * io/umask.c: Likewise.
39473         * io/unlink.c: Likewise.
39474         * io/unlinkat.c: Likewise.
39475         * io/utime.c: Likewise.
39476         * io/utimensat.c: Likewise.
39477         * io/write.c: Likewise.
39478         * io/xmknod.c: Likewise.
39479         * io/xmknodat.c: Likewise.
39480         * io/xstat.c: Likewise.
39481         * io/xstat64.c: Likewise.
39482         * login/getpt.c: Likewise.
39483         * login/grantpt.c: Likewise.
39484         * login/unlockpt.c: Likewise.
39485         * math/e_acoshl.c: Likewise.
39486         * math/e_acosl.c: Likewise.
39487         * math/e_asinl.c: Likewise.
39488         * math/e_atan2l.c: Likewise.
39489         * math/e_atanhl.c: Likewise.
39490         * math/e_coshl.c: Likewise.
39491         * math/e_expl.c: Likewise.
39492         * math/e_fmodl.c: Likewise.
39493         * math/e_gammal_r.c: Likewise.
39494         * math/e_hypotl.c: Likewise.
39495         * math/e_j0l.c: Likewise.
39496         * math/e_j1l.c: Likewise.
39497         * math/e_jnl.c: Likewise.
39498         * math/e_lgammal_r.c: Likewise.
39499         * math/e_log10l.c: Likewise.
39500         * math/e_log2l.c: Likewise.
39501         * math/e_logl.c: Likewise.
39502         * math/e_powl.c: Likewise.
39503         * math/e_rem_pio2l.c: Likewise.
39504         * math/e_sinhl.c: Likewise.
39505         * math/e_sqrtl.c: Likewise.
39506         * math/fclrexcpt.c: Likewise.
39507         * math/fedisblxcpt.c: Likewise.
39508         * math/feenablxcpt.c: Likewise.
39509         * math/fegetenv.c: Likewise.
39510         * math/fegetexcept.c: Likewise.
39511         * math/fegetround.c: Likewise.
39512         * math/feholdexcpt.c: Likewise.
39513         * math/fesetenv.c: Likewise.
39514         * math/fesetround.c: Likewise.
39515         * math/feupdateenv.c: Likewise.
39516         * math/fgetexcptflg.c: Likewise.
39517         * math/fraiseexcpt.c: Likewise.
39518         * math/fsetexcptflg.c: Likewise.
39519         * math/ftestexcept.c: Likewise.
39520         * math/k_cosl.c: Likewise.
39521         * math/k_rem_pio2l.c: Likewise.
39522         * math/k_sinl.c: Likewise.
39523         * math/k_tanl.c: Likewise.
39524         * math/s_asinhl.c: Likewise.
39525         * math/s_atanl.c: Likewise.
39526         * math/s_cbrtl.c: Likewise.
39527         * math/s_erfl.c: Likewise.
39528         * math/s_expm1l.c: Likewise.
39529         * math/s_log1pl.c: Likewise.
39530         * math/s_tanhl.c: Likewise.
39531         * misc/acct.c: Likewise.
39532         * misc/brk.c: Likewise.
39533         * misc/chflags.c: Likewise.
39534         * misc/chroot.c: Likewise.
39535         * misc/fchflags.c: Likewise.
39536         * misc/fgetxattr.c: Likewise.
39537         * misc/flistxattr.c: Likewise.
39538         * misc/fremovexattr.c: Likewise.
39539         * misc/fsetxattr.c: Likewise.
39540         * misc/fsync.c: Likewise.
39541         * misc/ftruncate.c: Likewise.
39542         * misc/futimes.c: Likewise.
39543         * misc/futimesat.c: Likewise.
39544         * misc/getdomain.c: Likewise.
39545         * misc/getdtsz.c: Likewise.
39546         * misc/gethostid.c: Likewise.
39547         * misc/gethostname.c: Likewise.
39548         * misc/getloadavg.c: Likewise.
39549         * misc/getpagesize.c: Likewise.
39550         * misc/getsysstats.c: Likewise.
39551         * misc/getxattr.c: Likewise.
39552         * misc/gtty.c: Likewise.
39553         * misc/ioctl.c: Likewise.
39554         * misc/lgetxattr.c: Likewise.
39555         * misc/listxattr.c: Likewise.
39556         * misc/llistxattr.c: Likewise.
39557         * misc/lremovexattr.c: Likewise.
39558         * misc/lsetxattr.c: Likewise.
39559         * misc/lutimes.c: Likewise.
39560         * misc/madvise.c: Likewise.
39561         * misc/mincore.c: Likewise.
39562         * misc/mlock.c: Likewise.
39563         * misc/mlockall.c: Likewise.
39564         * misc/mmap.c: Likewise.
39565         * misc/mprotect.c: Likewise.
39566         * misc/msync.c: Likewise.
39567         * misc/munlock.c: Likewise.
39568         * misc/munlockall.c: Likewise.
39569         * misc/munmap.c: Likewise.
39570         * misc/preadv.c: Likewise.
39571         * misc/preadv64.c: Likewise.
39572         * misc/ptrace.c: Likewise.
39573         * misc/pwritev.c: Likewise.
39574         * misc/pwritev64.c: Likewise.
39575         * misc/readv.c: Likewise.
39576         * misc/reboot.c: Likewise.
39577         * misc/remap_file_pages.c: Likewise.
39578         * misc/removexattr.c: Likewise.
39579         * misc/revoke.c: Likewise.
39580         * misc/select.c: Likewise.
39581         * misc/setdomain.c: Likewise.
39582         * misc/setegid.c: Likewise.
39583         * misc/seteuid.c: Likewise.
39584         * misc/sethostid.c: Likewise.
39585         * misc/sethostname.c: Likewise.
39586         * misc/setregid.c: Likewise.
39587         * misc/setreuid.c: Likewise.
39588         * misc/setxattr.c: Likewise.
39589         * misc/sstk.c: Likewise.
39590         * misc/stty.c: Likewise.
39591         * misc/swapoff.c: Likewise.
39592         * misc/swapon.c: Likewise.
39593         * misc/sync.c: Likewise.
39594         * misc/syncfs.c: Likewise.
39595         * misc/syscall.c: Likewise.
39596         * misc/truncate.c: Likewise.
39597         * misc/ualarm.c: Likewise.
39598         * misc/usleep.c: Likewise.
39599         * misc/ustat.c: Likewise.
39600         * misc/utimes.c: Likewise.
39601         * misc/vhangup.c: Likewise.
39602         * misc/writev.c: Likewise.
39603         * posix/_exit.c: Likewise.
39604         * posix/alarm.c: Likewise.
39605         * posix/execve.c: Likewise.
39606         * posix/fexecve.c: Likewise.
39607         * posix/fork.c: Likewise.
39608         * posix/fpathconf.c: Likewise.
39609         * posix/getaddrinfo.c: Likewise.
39610         * posix/getegid.c: Likewise.
39611         * posix/geteuid.c: Likewise.
39612         * posix/getgid.c: Likewise.
39613         * posix/getgroups.c: Likewise.
39614         * posix/getlogin.c: Likewise.
39615         * posix/getlogin_r.c: Likewise.
39616         * posix/getpgid.c: Likewise.
39617         * posix/getpid.c: Likewise.
39618         * posix/getppid.c: Likewise.
39619         * posix/getresgid.c: Likewise.
39620         * posix/getresuid.c: Likewise.
39621         * posix/getsid.c: Likewise.
39622         * posix/getuid.c: Likewise.
39623         * posix/glob64.c: Likewise.
39624         * posix/nanosleep.c: Likewise.
39625         * posix/pathconf.c: Likewise.
39626         * posix/pause.c: Likewise.
39627         * posix/posix_madvise.c: Likewise.
39628         * posix/pread.c: Likewise.
39629         * posix/pread64.c: Likewise.
39630         * posix/pwrite.c: Likewise.
39631         * posix/pwrite64.c: Likewise.
39632         * posix/sched_getaffinity.c: Likewise.
39633         * posix/sched_getp.c: Likewise.
39634         * posix/sched_gets.c: Likewise.
39635         * posix/sched_primax.c: Likewise.
39636         * posix/sched_primin.c: Likewise.
39637         * posix/sched_rr_gi.c: Likewise.
39638         * posix/sched_setaffinity.c: Likewise.
39639         * posix/sched_setp.c: Likewise.
39640         * posix/sched_sets.c: Likewise.
39641         * posix/sched_yield.c: Likewise.
39642         * posix/setgid.c: Likewise.
39643         * posix/setlogin.c: Likewise.
39644         * posix/setpgid.c: Likewise.
39645         * posix/setresgid.c: Likewise.
39646         * posix/setresuid.c: Likewise.
39647         * posix/setsid.c: Likewise.
39648         * posix/setuid.c: Likewise.
39649         * posix/sleep.c: Likewise.
39650         * posix/spawni.c: Likewise.
39651         * posix/sysconf.c: Likewise.
39652         * posix/times.c: Likewise.
39653         * posix/wait.c: Likewise.
39654         * posix/wait3.c: Likewise.
39655         * posix/wait4.c: Likewise.
39656         * posix/waitpid.c: Likewise.
39657         * resolv/gai_sigqueue.c: Likewise.
39658         * resource/getpriority.c: Likewise.
39659         * resource/getrlimit.c: Likewise.
39660         * resource/getrusage.c: Likewise.
39661         * resource/nice.c: Likewise.
39662         * resource/setpriority.c: Likewise.
39663         * resource/setrlimit.c: Likewise.
39664         * resource/ulimit.c: Likewise.
39665         * rt/aio_cancel.c: Likewise.
39666         * rt/aio_fsync.c: Likewise.
39667         * rt/aio_read.c: Likewise.
39668         * rt/aio_sigqueue.c: Likewise.
39669         * rt/aio_suspend.c: Likewise.
39670         * rt/aio_write.c: Likewise.
39671         * rt/clock_getres.c: Likewise.
39672         * rt/clock_gettime.c: Likewise.
39673         * rt/clock_nanosleep.c: Likewise.
39674         * rt/clock_settime.c: Likewise.
39675         * rt/lio_listio.c: Likewise.
39676         * rt/mq_close.c: Likewise.
39677         * rt/mq_getattr.c: Likewise.
39678         * rt/mq_notify.c: Likewise.
39679         * rt/mq_open.c: Likewise.
39680         * rt/mq_receive.c: Likewise.
39681         * rt/mq_send.c: Likewise.
39682         * rt/mq_setattr.c: Likewise.
39683         * rt/mq_timedreceive.c: Likewise.
39684         * rt/mq_timedsend.c: Likewise.
39685         * rt/mq_unlink.c: Likewise.
39686         * rt/shm_open.c: Likewise.
39687         * rt/shm_unlink.c: Likewise.
39688         * rt/timer_create.c: Likewise.
39689         * rt/timer_delete.c: Likewise.
39690         * rt/timer_getoverr.c: Likewise.
39691         * rt/timer_gettime.c: Likewise.
39692         * rt/timer_settime.c: Likewise.
39693         * setjmp/__longjmp.c: Likewise.
39694         * setjmp/setjmp.c: Likewise.
39695         * signal/kill.c: Likewise.
39696         * signal/killpg.c: Likewise.
39697         * signal/raise.c: Likewise.
39698         * signal/sigaction.c: Likewise.
39699         * signal/sigaltstack.c: Likewise.
39700         * signal/sigblock.c: Likewise.
39701         * signal/sigignore.c: Likewise.
39702         * signal/sigintr.c: Likewise.
39703         * signal/signal.c: Likewise.
39704         * signal/sigpause.c: Likewise.
39705         * signal/sigpending.c: Likewise.
39706         * signal/sigqueue.c: Likewise.
39707         * signal/sigreturn.c: Likewise.
39708         * signal/sigset.c: Likewise.
39709         * signal/sigsetmask.c: Likewise.
39710         * signal/sigstack.c: Likewise.
39711         * signal/sigsuspend.c: Likewise.
39712         * signal/sigtimedwait.c: Likewise.
39713         * signal/sigvec.c: Likewise.
39714         * signal/sigwait.c: Likewise.
39715         * signal/sigwaitinfo.c: Likewise.
39716         * signal/sysv_signal.c: Likewise.
39717         * socket/accept.c: Likewise.
39718         * socket/accept4.c: Likewise.
39719         * socket/bind.c: Likewise.
39720         * socket/connect.c: Likewise.
39721         * socket/getpeername.c: Likewise.
39722         * socket/getsockname.c: Likewise.
39723         * socket/getsockopt.c: Likewise.
39724         * socket/isfdtype.c: Likewise.
39725         * socket/listen.c: Likewise.
39726         * socket/recv.c: Likewise.
39727         * socket/recvfrom.c: Likewise.
39728         * socket/recvmsg.c: Likewise.
39729         * socket/send.c: Likewise.
39730         * socket/sendmsg.c: Likewise.
39731         * socket/sendto.c: Likewise.
39732         * socket/setsockopt.c: Likewise.
39733         * socket/shutdown.c: Likewise.
39734         * socket/sockatmark.c: Likewise.
39735         * socket/socket.c: Likewise.
39736         * socket/socketpair.c: Likewise.
39737         * stdio-common/ctermid.c: Likewise.
39738         * stdio-common/cuserid.c: Likewise.
39739         * stdio-common/remove.c: Likewise.
39740         * stdio-common/rename.c: Likewise.
39741         * stdio-common/renameat.c: Likewise.
39742         * stdio-common/tempname.c: Likewise.
39743         * stdlib/getcontext.c: Likewise.
39744         * stdlib/makecontext.c: Likewise.
39745         * stdlib/setcontext.c: Likewise.
39746         * stdlib/swapcontext.c: Likewise.
39747         * stdlib/system.c: Likewise.
39748         * streams/fattach.c: Likewise.
39749         * streams/fdetach.c: Likewise.
39750         * streams/getmsg.c: Likewise.
39751         * streams/getpmsg.c: Likewise.
39752         * streams/putmsg.c: Likewise.
39753         * streams/putpmsg.c: Likewise.
39754         * sysdeps/unix/bsd/getpt.c: Likewise.
39755         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39756         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39757         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39759         Likewise.
39760         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39761         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39762         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39763         * sysvipc/msgctl.c: Likewise.
39764         * sysvipc/msgget.c: Likewise.
39765         * sysvipc/msgrcv.c: Likewise.
39766         * sysvipc/msgsnd.c: Likewise.
39767         * sysvipc/semctl.c: Likewise.
39768         * sysvipc/semget.c: Likewise.
39769         * sysvipc/semop.c: Likewise.
39770         * sysvipc/semtimedop.c: Likewise.
39771         * sysvipc/shmat.c: Likewise.
39772         * sysvipc/shmctl.c: Likewise.
39773         * sysvipc/shmdt.c: Likewise.
39774         * sysvipc/shmget.c: Likewise.
39775         * termios/tcdrain.c: Likewise.
39776         * termios/tcflow.c: Likewise.
39777         * termios/tcflush.c: Likewise.
39778         * termios/tcgetattr.c: Likewise.
39779         * termios/tcgetpgrp.c: Likewise.
39780         * termios/tcsendbrk.c: Likewise.
39781         * termios/tcsetattr.c: Likewise.
39782         * termios/tcsetpgrp.c: Likewise.
39783         * time/adjtime.c: Likewise.
39784         * time/clock.c: Likewise.
39785         * time/getitimer.c: Likewise.
39786         * time/gettimeofday.c: Likewise.
39787         * time/setitimer.c: Likewise.
39788         * time/settimeofday.c: Likewise.
39789         * time/stime.c: Likewise.
39790         * time/time.c: Likewise.
39792 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39794         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39795         /usr/old/bin.
39797         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39798         instead of spaces.
39799         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39801 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39803         [BZ #14796]
39804         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39805         FE_TONEAREST before applying Dekker multiplication and Knuth
39806         addition.  Clear inexact exceptions and check for exact zero
39807         results afterwards.
39808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39809         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39811         * math/libm-test.inc (fma_test): Add more tests.
39812         (fma_test_towardzero): Likewise.
39813         (fma_test_downward): Likewise.
39814         (fma_test_upward): Likewise.
39815         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39816         function.
39817         (libc_fesetround): New macro.
39818         (libc_fesetroundf): Likewise.
39819         (libc_fesetroundl): Likewise.
39820         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39821         function.
39822         (libc_fesetround_387): Likewise.
39823         (libc_fesetroundf): New macro.
39824         (libc_fesetround): Likewise.
39825         (libc_fesetroundl): Likewise.
39826         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39827         function.
39828         (libc_fesetroundf): New macro.
39829         (libc_fesetround): Likewise.
39830         (libc_fesetroundl): Likewise.
39831         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39832         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39833         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39834         libm_hidden_ver.
39835         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39836         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39837         libm_hidden_def.
39838         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39839         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39840         libm_hidden_ver.
39841         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39842         libm_hidden_def.
39844         [BZ #3439]
39845         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39846         integer constant usable in #if and use that to give value to enum
39847         constant.
39848         (FE_DIVBYZERO): Likewise.
39849         (FE_UNDERFLOW): Likewise.
39850         (FE_OVERFLOW): Likewise.
39851         (FE_INVALID): Likewise.
39852         (FE_INVALID_SNAN): Likewise.
39853         (FE_INVALID_ISI): Likewise.
39854         (FE_INVALID_IDI): Likewise.
39855         (FE_INVALID_ZDZ): Likewise.
39856         (FE_INVALID_IMZ): Likewise.
39857         (FE_INVALID_COMPARE): Likewise.
39858         (FE_INVALID_SOFTWARE): Likewise.
39859         (FE_INVALID_SQRT): Likewise.
39860         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39861         (FE_TONEAREST): Likewise.
39862         (FE_TOWARDZERO): Likewise.
39863         (FE_UPWARD): Likewise.
39864         (FE_DOWNWARD): Likewise.
39865         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39866         (FE_DIVBYZERO): Likewise.
39867         (FE_OVERFLOW): Likewise.
39868         (FE_UNDERFLOW): Likewise.
39869         (FE_INEXACT): Likewise.
39870         (FE_TONEAREST): Likewise.
39871         (FE_DOWNWARD): Likewise.
39872         (FE_UPWARD): Likewise.
39873         (FE_TOWARDZERO): Likewise.
39874         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39875         (FE_UNDERFLOW): Likewise.
39876         (FE_OVERFLOW): Likewise.
39877         (FE_DIVBYZERO): Likewise.
39878         (FE_INVALID): Likewise.
39879         (FE_TONEAREST): Likewise.
39880         (FE_TOWARDZERO): Likewise.
39881         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39882         (FE_OVERFLOW): Likewise.
39883         (FE_UNDERFLOW): Likewise.
39884         (FE_DIVBYZERO): Likewise.
39885         (FE_INEXACT): Likewise.
39886         (FE_TONEAREST): Likewise.
39887         (FE_TOWARDZERO): Likewise.
39888         (FE_UPWARD): Likewise.
39889         (FE_DOWNWARD): Likewise.
39890         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39891         (FE_DIVBYZERO): Likewise.
39892         (FE_OVERFLOW): Likewise.
39893         (FE_UNDERFLOW): Likewise.
39894         (FE_INEXACT): Likewise.
39895         (FE_TONEAREST): Likewise.
39896         (FE_DOWNWARD): Likewise.
39897         (FE_UPWARD): Likewise.
39898         (FE_TOWARDZERO): Likewise.
39900 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39902         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39904 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39906         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39907         commands.  Quote $PWD.
39908         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39909         -x" by "export".
39910         (remove_newlines): Remove.
39912 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39914         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39915         * stdlib/stdlib.h (atof): Moved to ...
39916         * include/bits/stdlib-float.h: Here.  New file.
39917         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39918         * stdlib/bits/stdlib-float.h: New file.
39919         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39920         -mno-sse -mno-mmx.
39921         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39922         <xmmintrin.h>.
39924 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39926         * conform/conformtest.pl (@headers): Add fenv.h.
39927         * conform/data/fenv.h-data: New file.
39928         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39929         include of <math/fenv.h>.
39931         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39932         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39933         && !UNIX98].  Enables tests for XOPEN2K8.
39934         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39935         POSIX2008]: Likewise.
39937         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39938         (struct rusage): Do not expect type or its members.
39940         [BZ #3439]
39941         * math/math.h (FP_NAN): Define macro to integer constant usable in
39942         #if and use that to give value to enum constant.
39943         (FP_INFINITE): Likewise.
39944         (FP_ZERO): Likewise.
39945         (FP_SUBNORMAL): Likewise.
39946         (FP_NORMAL): Likewise.
39948 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39950         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39951         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39952         arguments.
39954 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39956         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39957         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39958         autoconf-time if not.
39959         * configure.in: Remove AC_PREREQ.
39961 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39963         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39964         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39965         of the internal implementation.
39967 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39969         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39970         except include of <misc/sys/syslog.h>.
39972 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39975         function returns with a NULL context exit with zero.
39977 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39979         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39981 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39983         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39984         (run_program_cmd): This.
39985         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39986         (tst_langinfo): New variable.  Use it.
39988 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39990         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39991         floating point opcodes.
39993 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39995         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39996         variable.
39998         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
40000         * sysdeps/mach/hurd/powerpc: Remove directory.
40001         * sysdeps/mach/powerpc: Likewise.
40003 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40005         * scripts/check-local-headers.sh: Ignore c++ headers.
40007 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40009         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
40010         __libc_cleanup_region_start argument.
40012 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40014         [BZ #14784]
40015         [BZ #14785]
40016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40017         x * y using scaling, not as x * y + z.
40018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40020         * math/libm-test.inc (fma_test): Add more tests.
40021         (fma_test_towardzero): Likewise.
40022         (fma_test_downward): Likewise.
40023         (fma_test_upward): Likewise.
40025 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40027         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40029 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40031         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40032         New variable.
40034 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40036         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40038 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40041         Fix sort order.
40042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40043         Likewise.
40045 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40048         Fix the order of the list for glibc 2.17.
40049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40050         Likewise.
40052 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40056 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40058         [BZ #14610]
40059         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40060         for low part of x being zero before using __atanl (y).
40061         * math/libm-test.inc (atan2_test): Add another test.
40063         * manual/install.texi (Configuring and compiling): Document
40064         general use of test-wrapper and test-wrapper-env.
40065         * INSTALL: Regenerated.
40067         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40068         (__fma): Do not extract and scale down low bits on after-rounding
40069         systems when result rounded to normal precision would have normal
40070         exponent.
40071         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40072         (__fmal): Do not extract and scale down low bits on after-rounding
40073         systems when result rounded to normal precision would have normal
40074         exponent.
40075         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40076         (__fmal): Do not extract and scale down low bits on after-rounding
40077         systems when result rounded to normal precision would have normal
40078         exponent.
40079         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40080         macro.
40081         (fma_test): Add more tests.
40082         (fma_test_towardzero): Likewise.
40083         (fma_test_downward): Likewise.
40084         (fma_test_upward): Likewise.
40086 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40088         * sysdeps/i386/tininess.h: Renamed to ...
40089         * sysdeps/x86/tininess.h: This.
40090         * sysdeps/x86_64/tininess.h: Removed.
40092 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40094         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40095         input.  Use $(build-program-cmd).
40096         ($(objpfx)tst-array1-static.out): Likewise.
40097         ($(objpfx)tst-array2.out): Likewise.
40098         ($(objpfx)tst-array3.out): Likewise.
40099         ($(objpfx)tst-array4.out): Likewise.
40100         ($(objpfx)tst-array5.out): Likewise.
40101         ($(objpfx)tst-array5-static.out): Likewise.
40103 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40105         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40106         if defined.
40108         * nss/nsswitch.h (nss_interface_function): Provide new
40109         macro for use with NSS functions.
40110         * grp/initgroups.c: Use new macro.
40111         * nss/getXXbyYY.c: Likewise.
40112         * nss/getXXbyYY_r.c: Likewise.
40113         * nss/getXXent.c: Likewise.
40114         * nss/getXXent_r.c: Likewise.
40115         * sysdeps/posix/getaddrinfo.c: Likewise.
40117 2012-10-30  Andreas Jaeger  <aj@suse.de>
40119         * po/ru.po: Update Russion translation from translation project.
40121 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40123         [BZ #14152]
40124         [BZ #14783]
40125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40126         result and shift together with sticky bit instead of replicating
40127         round-to-nearest rounding.
40128         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40129         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40130         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40131         missing underflow exceptions.
40132         (fma_test_towardzero): Add more tests.
40133         (fma_test_downward): Likewise.
40134         (fma_test_upward): Likewise.
40136         [BZ #14047]
40137         * sysdeps/generic/tininess.h: New file.
40138         * sysdeps/i386/tininess.h: Likewise.
40139         * sysdeps/sh/tininess.h: Likewise.
40140         * sysdeps/x86_64/tininess.h: Likewise.
40141         * stdlib/tst-strtod-underflow.c: Likewise.
40142         * stdlib/tst-tininess.c: Likewise.
40143         * stdlib/strtod_l.c: Include <tininess.h>.
40144         (round_and_return): Do not set errno for exact underflow cases.
40145         Force an underflow exception when setting errno for underflow.
40146         Determine underflow based on rounding to normal precision if
40147         TININESS_AFTER_ROUNDING.
40148         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40149         ERANGE for exact underflow cases.
40150         * stdlib/Makefile (tests): Add tst-tininess and
40151         tst-strtod-underflow.
40152         ($(objpfx)tst-tininess): Use $(link-libm).
40153         ($(objpfx)tst-strtod-underflow): Likewise.
40155 2012-10-30  Andreas Jaeger  <aj@suse.de>
40157         [BZ#14767]
40158         * elf/Makefile (tests): Remove conditional for have-initfini-array
40159         since this is now always required and the variable does not exist
40160         anymore.
40161         (tests-static): Likewise.
40162         (modules-names): Likewise.
40164         * po/eo.po: Add Esperanto translation from translation project.
40166         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40167         merged with constructor/destructor.
40168         (init_array): Likewise.
40169         * elf/tst-array2dep.c (fini_array): Likewise.
40170         (init_array): Likewise.
40172 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40174         * manual/message.texi: Delete @cartouche tags.
40176 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40178         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40179         EOPNOTSUPP.
40180         * sysdeps/mach/hurd/fsync.c: Likewise.
40182         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40183         [_POSIX_REALTIME_SIGNALS]: Change condition to
40184         [_POSIX_REALTIME_SIGNALS > 0].
40186 2012-10-27  Andreas Jaeger  <aj@suse.de>
40188         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40189         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40190         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40191         [__WORDSIZE != 64]: Likewise.
40193 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40195         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40196         *  iconvdata/tst-tables.sh: Likewise.
40198 2012-10-25  David S. Miller  <davem@davemloft.net>
40200         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40201         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40202         of strtoull.
40204         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40205         ifunc-impl-list.c
40206         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40207         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40208         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40209         file.
40211 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40214         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40215         __getdirentries.
40217 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40218             Jim Blandy  <jimb@codesourcery.com>
40220         * scripts/cross-test-ssh.sh: New file.
40221         * manual/install.texi (Configuring and compiling): Document use of
40222         cross-test-ssh.sh.
40223         * INSTALL: Regenerated.
40225 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40227         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40228         EOPNOTSUPP.
40230 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40232         * Makeconfig (run-program-prefix): Fix comment.
40234 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40235             Jim Blandy  <jimb@codesourcery.com>
40237         * Makeconfig (test-wrapper): New variable,
40238         (test-wrapper-env): Likewise.
40239         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40240         (run-built-tests): Define to yes.
40241         (run-program-prefix): Use $(test-wrapper).
40242         (built-program-cmd): Likewise.
40243         * Rules (make-test-out): Use $(test-wrapper-env) and
40244         $(host-built-program-cmd).
40245         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40246         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40247         tst-pathopt.sh.
40248         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40249         $(test-wrapper-env) to tst-rtld-load-self.sh.
40250         ($(objpfx)order2.out): Use $(test-wrapper).
40251         ($(objpfx)tst-initorder.out): Likewise.
40252         ($(objpfx)tst-initorder2.out): Likewise.
40253         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40254         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40255         (test_wrapper_env): New variable.  Use it to run ld.so.
40256         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40257         Use it to run ld.so.
40258         (test_wrapper_env): Likewise.
40259         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40260         $(test-wrapper) to run-iconv-test.sh.
40261         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40262         (ICONV): Use $test_wrapper.
40263         * posix/Makefile ($(objpfx)globtest.out): Pass
40264         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40265         globtest.sh, not $(run-program-prefix).
40266         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40267         (test_wrapper): Likewise.
40268         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40269         set together with run_via_rtld_prefix.
40270         (run_program_prefix): Define in terms of test_wrapper and
40271         run_via_rtld_prefix.
40273 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40275         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40276         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40277         Targets removed.
40279         [BZ #14743]
40280         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40281         Declare __clock_getres, __clock_gettime, __clock_settime,
40282         __clock_nanosleep, and __clock_getcpuclockid.
40283         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40284         Remove librt_hidden_def (clock_gettime).
40285         * sysdeps/unix/clock_gettime.c: Likewise.
40286         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40287         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40288         * rt/clock_getres.c: Define __clock_getres as an alias.
40289         * sysdeps/posix/clock_getres.c: Likewise.
40290         * rt/clock_settime.c: Define __clock_settime as an alias.
40291         * sysdeps/unix/clock_settime.c: Likewise.
40292         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40293         * sysdeps/unix/clock_nanosleep.c: Likewise.
40294         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40295         * rt/clock-compat.c: New file.
40296         * rt/Makefile (librt-routines): Add clock-compat and move
40297         $(clock-routines) to ...
40298         (routines): ... here, new variable.
40299         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40300         Don't add get_clockfreq here.
40301         * rt/Versions (libc: GLIBC_2.17): New version set.
40302         Add clock_* symbols here.
40303         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40304         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40305         (GLIBC_2.17): Add clock_* symbols.
40306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40310         Likewise.
40311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40312         Likewise.
40313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40317         * NEWS: Mention the move.
40319         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40320         Use __open, __read, __close rather than their public counterparts.
40321         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40322         (__get_clockfreq_via_cpuinfo): Likewise.
40323         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40324         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40326         * config.h.in (HAVE_IFUNC): New #undef.
40327         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40328         was successful.
40329         * configure: Regenerated.
40331 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40333         * configure.in: Move READELF check to start of file.
40334         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40335         libc_cv_asm_gnu_indirect_function in the process.
40336         * configure: Regenerated.
40338 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40340         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40341         send the output to /dev/null.
40342         (libc_cv_cc_with_libunwind): Likewise.
40343         (libc_cv_as_noexecstack): Likewise.
40344         * configure: Regenerate.
40346 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40348         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40350         * posix/globtest.sh (TMPDIR): Do not set.
40351         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40352         (testout): Likewise.
40354 2012-10-24  Andreas Jaeger  <aj@suse.de>
40356         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40357         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40358         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40359         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40360         posix_fadvise64, posix_fallocate64.
40362         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40363         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40364         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40365         Likewise.
40366         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40367         Likewise.
40368         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40370         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40371         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40372         <bits/fcntl-linux.h>.
40373         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40375         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40376         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40377         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40378         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40379         [__WORDSIZE != 64]: Likewise.
40381 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40383         * Makeconfig (run-built-tests): New variable.
40384         * Rules [$(cross-compiling) = yes]: Change condition to
40385         [$(run-built-tests) = no].
40386         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40387         to [$(run-built-tests) = yes].
40388         * elf/Makefile [$(cross-compiling) = no]: Likewise
40389         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40390         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40391         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40392         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40393         * io/Makefile [$(cross-compiling) = no]: Likewise.
40394         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40395         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40396         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40397         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40398         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40399         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40400         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40401         * string/Makefile [$(cross-compiling) = no]: Likewise.
40403         * posix/Makefile ($(objpfx)globtest.out): Pass
40404         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40405         $(rtld-installed-name).
40406         * posix/globtest.sh (elf_objpfx): Remove variable.
40407         (rtld_installed_name): Likewise.
40408         (library_path): Likewise.
40409         (run_program_prefix): New variable.  Use for running globtest
40410         binary.
40412 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40413             Joseph Myers  <joseph@codesourcery.com>
40415         * Makeconfig (host-built-program-cmd): New variable.
40416         * elf/Makefile (tst-stackguard1-ARGS): Use
40417         $(host-built-program-cmd).
40418         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40419         (tst-spawn-ARGS): Likewise.
40420         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40422 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40423             Jim Blandy  <jimb@codesourcery.com>
40425         * Makeconfig (run-via-rtld-prefix): New variable.
40426         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40427         (built-program-cmd): Likewise.
40429 2012-10-22  Andreas Jaeger  <aj@suse.de>
40431         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40432         __O_RSYNC if it exists, otherwise to O_SYNC.
40434 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40435             Joseph Myers  <joseph@codesourcery.com>
40437         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40438         /dev/null.
40439         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40440         from /dev/null
40441         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40442         /dev/null.
40444 2012-10-22  Andreas Jaeger  <aj@suse.de>
40446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40447         Define always.
40448         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40451         bits/fcntl-linux.h.
40453         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40454         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40456         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40457         to __O_LARGEFILE.
40458         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40459         to __O_LARGEFILE.
40461 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40462             Joseph Myers  <joseph@codesourcery.com>
40464         * config.make.in (NM): New variable.
40466 2012-10-21  Andreas Jaeger  <aj@suse.de>
40468         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40469         definitions and declarations that are provided by
40470         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40472 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40474         [BZ #14683]
40475         * elf/Makefile (tests-static): Add tst-leaks1-static.
40476         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40477         ($(objpfx)tst-leaks1-static): New rule.
40478         ($(objpfx)tst-leaks1-static-mem): Likewise.
40479         (tst-leaks1-static-ENV): New macro.
40480         * elf/dl-open.c (dl_open_worker): Check the main application
40481         only if SHARED is defined.
40482         * elf/tst-leaks1-static.c: New file.
40484 2012-10-20  Andreas Jaeger  <aj@suse.de>
40486         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40487         generic values for Linux.
40488         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40489         and declarations that are provided by <bits/fcntl-linux.h> and
40490         include <bits/fcntl-linux.h>.
40491         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40492         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40494 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40496         * io/fcntl.h: Move include of <bits/types.h> to the top and
40497         include it unconditionally.
40499 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40501         * wcsmbs/Makefile (tests-ifunc): New variable.
40502         (tests): Add $(tests-ifunc).
40503         * wcsmbs/test-wcschr-ifunc.c: New file.
40504         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40505         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40506         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40507         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40508         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40510         * string/Makefile (tests-ifunc): New variable.
40511         (tests): Add $(tests-ifunc).
40512         * string/test-memccpy.c (TEST_NAME): New macro.
40513         * string/test-memchr.c (TEST_NAME): Likewise.
40514         * string/test-memcmp.c (TEST_NAME): Likewise.
40515         * string/test-memcpy.c (TEST_NAME): Likewise.
40516         * string/test-memmem.c (TEST_NAME): Likewise.
40517         * string/test-memmove.c (TEST_NAME): Likewise.
40518         * string/test-memset.c (TEST_NAME): Likewise.
40519         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40520         * string/test-stpcpy.c (TEST_NAME): Likewise.
40521         * string/test-stpncpy.c (TEST_NAME): Likewise.
40522         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40523         * string/test-strcasestr.c (TEST_NAME): Likewise.
40524         * string/test-strcat.c (TEST_NAME): Likewise.
40525         * string/test-strchr.c (TEST_NAME): Likewise.
40526         * string/test-strcmp.c(TEST_NAME): Likewise.
40527         * string/test-strcpy.c (TEST_NAME): Likewise.
40528         * string/test-strcspn.c (TEST_NAME): Likewise.
40529         * string/test-strlen.c (TEST_NAME): Likewise.
40530         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40531         * string/test-strncmp.c (TEST_NAME): Likewise.
40532         * string/test-strncpy.c (TEST_NAME): Likewise.
40533         * string/test-strnlen.c (TEST_NAME): Likewise.
40534         * string/test-strpbrk.c (TEST_NAME): Likewise.
40535         * string/test-strrchr.c (TEST_NAME): Likewise.
40536         * string/test-strspn.c (TEST_NAME): Likewise.
40537         * string/test-strstr.c (TEST_NAME): Likewise.
40538         * string/test-bcopy-ifunc.c: New file.
40539         * string/test-bzero-ifunc.c: Likewise.
40540         * string/test-memccpy-ifunc.c: Likewise.
40541         * string/test-memchr-ifunc.c: Likewise.
40542         * string/test-memcmp-ifunc.c: Likewise.
40543         * string/test-memcpy-ifunc.c: Likewise.
40544         * string/test-memmem-ifunc.c: Likewise.
40545         * string/test-memmove-ifunc.c: Likewise.
40546         * string/test-mempcpy-ifunc.c: Likewise.
40547         * string/test-memset-ifunc.c: Likewise.
40548         * string/test-rawmemchr-ifunc.c: Likewise.
40549         * string/test-stpcpy-ifunc.c: Likewise.
40550         * string/test-stpncpy-ifunc.c: Likewise.
40551         * string/test-strcasecmp-ifunc.c: Likewise.
40552         * string/test-strcasestr-ifunc.c: Likewise.
40553         * string/test-strcat-ifunc.c: Likewise.
40554         * string/test-strchr-ifunc.c: Likewise.
40555         * string/test-strchrnul-ifunc.c: Likewise.
40556         * string/test-strcmp-ifunc.c: Likewise.
40557         * string/test-strcpy-ifunc.c: Likewise.
40558         * string/test-strcspn-ifunc.c: Likewise.
40559         * string/test-strlen-ifunc.c: Likewise.
40560         * string/test-strncasecmp-ifunc.c: Likewise.
40561         * string/test-strncat-ifunc.c: Likewise.
40562         * string/test-strncmp-ifunc.c: Likewise.
40563         * string/test-strncpy-ifunc.c: Likewise.
40564         * string/test-strnlen-ifunc.c: Likewise.
40565         * string/test-strpbrk-ifunc.c: Likewise.
40566         * string/test-strrchr-ifunc.c: Likewise.
40567         * string/test-strspn-ifunc.c: Likewise.
40568         * string/test-strstr-ifunc.c: Likewise.
40570         * debug/Makefile (tests-ifunc): New variable.
40571         (tests): Add $(tests-ifunc).
40572         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40573         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40574         * debug/test-stpcpy_chk-ifunc.c: New file.
40575         * debug/test-strcpy_chk-ifunc.c: Likewise.
40577 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40579         [BZ #13601]
40580         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40581         header is not read in.
40583 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40585         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40586         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40587         directly.  Pass built executable to script as
40588         $(built-program-cmd).
40589         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40590         $testprogram without using LD_LIBRARY_PATH and $ldso.
40592         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40593         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40594         $(rtld-installed-name).
40595         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40596         (rtld_installed_name): Likewise.
40597         (library_path): Likewise.
40598         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40599         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40600         $(run-program-prefix) to tst-tables.sh.
40601         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40602         it to run tst-table-from and tst-table-to.
40603         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40604         Pass it to tst-table.sh.
40605         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40606         $(run-program-prefix) to tst-gettext.sh.
40607         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40608         tst-translit.sh.
40609         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40610         tst-gettext2.sh.
40611         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40612         to run tst-gettext.
40613         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40614         to run tst-gettext2.
40615         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40616         to run tst-translit.
40617         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40618         $(run-program-prefix) to tst-mtrace.sh.
40619         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40620         to run tst-mtrace.
40621         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40622         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40623         $(rtld-installed-name).
40624         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40625         (rtld_installed_name): Likewise.
40626         (run_program_prefix): New variable.  Use it to run wordexp-test.
40628         * Makeconfig (ARCH): Remove all definitions.
40629         (machine): Likewise.
40630         [ARCH]: Remove conditional code.
40631         [!objdir]: Give error.
40632         [!objdir] (objpfx): Remove.
40633         [!objdir] (common-objpfx): Likewise.
40634         [!objdir] (common-objdir): Likewise.
40635         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40636         AC_CONFIG_FILES call.
40637         * configure: Regenerated.
40639         [BZ #13888]
40640         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40641         or TMPDIR.
40642         (testout): Likewise.
40644         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40645         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40646         $(rtld-installed-name).
40647         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40648         (rtld_installed_name): Likwise.
40649         (runit): Remove function.
40650         (run_getconf): New variable,  Use it for running getconf binary.
40652 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40654         [BZ #14716]
40655         * string/test-memmem.c (check_result): New function.
40656         (do_one_test): Use it.
40657         (check1): New function.
40658         (test_main): Use it.
40660 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40662         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40664 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40666         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40667         (_G_LSEEK64): Likewise.
40668         (_G_MMAP64): Likewise.
40669         (_G_FSTAT64): Likewise.
40670         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40671         (_G_LSEEK64): Likewise.
40672         (_G_MMAP64): Likewise.
40673         (_G_FSTAT64): Likewise.
40674         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40675         unconditional.  Call __mmap64 directly.
40676         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40677         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40678         __lseek64 directly.
40679         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40680         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40681         __mmap64 directly.
40682         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40683         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40684         __lseek64 directly.
40685         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40686         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40687         __lseek64 directly.
40688         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40689         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40690         __lseek64 directly.
40691         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40692         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40693         __fxstat64 directly.
40694         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40695         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40696         unconditional.
40697         (freopen64) [!_G_OPEN64]: Remove conditional code.
40698         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40699         unconditional.
40700         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40701         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40702         unconditional.
40703         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40704         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40705         unconditional.
40706         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40707         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40708         unconditional.
40709         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40710         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40711         unconditional.
40712         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40713         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40714         unconditional.
40715         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40716         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40717         unconditional.
40718         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40720 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40722         [BZ #12140]
40723         * manual/memory.texi (Malloc Tunable Parameters): Add note
40724         about free list pointers overwriting some perturb bytes.
40725         Wording suggested by Roland McGrath.
40727 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40729         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40730         (lgamma_test): Likewise.
40731         (tgamma_test): Likewise.
40733 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40735         [BZ #14700]
40736         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40737         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40739 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40741         * NEWS: Mention BZ #14716.
40742         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40743         when removing AVAILABLE1_USES_J macro.
40745 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40747         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40748         (__bswap_64): __uint64_t for unsigned 64-bit int.
40750 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40752         * include/string.h (memmem): Declare libc hidden alias.
40753         * string/memmem.c (memmem): Define libc hidden alias.
40754         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40755         __read, __close instead of open, read, close.
40757 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40760         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40761         global and hidden.
40762         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40763         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40764         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40765         Likewise.
40766         (__rawmemchr_sse2): Likewise.
40767         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40768         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40769         (__strchr_sse2): Likewise.
40770         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40771         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40772         (__strcasecmp_sse2): Likewise.
40773         (__strncasecmp_sse2): Likewise.
40774         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40775         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40776         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40777         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40778         (__strrchr_sse2): Likewise.
40779         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40780         ifunc-impl-list.c.
40781         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40782         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40783         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40784         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40785         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40786         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40787         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40788         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40789         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40790         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40791         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40792         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40793         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40794         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40795         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40796         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40797         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40798         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40799         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40800         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40801         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40802         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40803         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40804         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40805         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40806         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40807         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40808         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40809         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40810         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40812         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40813         global and hidden.
40814         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40815         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40816         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40817         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40818         Likewise.
40819         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40820         Likewise.
40821         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40822         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40823         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40824         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40825         ifunc-impl-list.c.
40826         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40827         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40828         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40829         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40830         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40831         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40832         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40833         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40834         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40835         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40836         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40837         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40838         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40839         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40840         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40841         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40842         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40843         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40844         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40845         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40846         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40847         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40848         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40849         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40850         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40851         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40852         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40853         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40854         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40855         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40856         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40857         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40858         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40859         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40860         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40861         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40862         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40863         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40864         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40865         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40866         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40868         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40869         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40870         * include/ifunc-impl-list.h: New file.
40871         * misc/ifunc-impl-list.c: Likewise.
40872         * misc/Makefile (routines): Add ifunc-impl-list.
40873         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40874         * string/test-string.h: Include <ifunc-impl-list.h>.
40875         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40876         TEST_NAME]: New variables.
40877         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40878         are defined.
40879         (test_init): Call __libc_ifunc_impl_list to initialize
40880         func_list if TEST_IFUNC and TEST_NAME are defined.
40882         * string/Makefile (strop-tests): Add bcopy and bzero.
40883         * string/test-bcopy.c: New file.
40884         * string/test-bzero.c: Likewise.
40885         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40886         defined.
40887         * string/test-memset.c: Support bzero test if TEST_BZERO is
40888         defined.
40889         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40890         __libc_memmove.
40891         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40892         __libc_memset.
40893         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40894         of memset.
40896 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40898         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40899         * configure: Regenerated.
40901         * Makeconfig (+link-static-before-libc): Don't include
40902         $(link-static-libc).
40904         * libio/libio.h (_IO_pos_t): Remove.
40906 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40908         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40909         McGrath.
40911 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40913         * crypt/crypt-entry.c: Include fips-private.h.
40914         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40915         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40916         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40917         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40919 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40921         * crypt/crypt-private.h: Include stdbool.h.
40922         (_ufc_setup_salt_r): Return bool.
40923         * crypt/crypt-entry.c: Include errno.h.
40924         (__crypt_r): Return NULL with EINVAL for bad salt.
40925         * crypt/crypt_util.c (bad_for_salt): New.
40926         (_ufc_setup_salt_r): Check that salt is long enough and within
40927         the specified alphabet.
40928         * crypt/badsalttest.c: New file.
40929         * crypt/Makefile (tests): Add it.
40930         ($(objpfx)badsalttest): New.
40932 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40934         * NEWS: Add entry for BZ #14602.
40936 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40938         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40939         type-generic.
40940         * math/libm-test.inc: Update comment listing what functions and
40941         macros are tested.
40942         (isgreater_test): New function.
40943         (isgreaterequal_test): Likewise.
40944         (isless_test): Likewise.
40945         (islessequal_test): Likewise.
40946         (islessgreater_test): Likewise.
40947         (isunordered_test): Likewise.
40948         (main): Call the new functions.
40950 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40952         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40953         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40954         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40955         * sysdeps/i386/configure: Regenerated.
40956         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40957         * sysdeps/mach/configure: Regenerated.
40958         * sysdeps/mach/hurd/configure: Regenerated.
40959         * sysdeps/powerpc/configure: Regenerated.
40960         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40961         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40962         * sysdeps/s390/s390-32/configure: Regenerated.
40963         * sysdeps/s390/s390-64/configure: Regenerated.
40964         * sysdeps/sh/configure: Regenerated.
40965         * sysdeps/sparc/configure: Regenerated.
40966         * sysdeps/unix/sysv/linux/configure: Regenerated.
40967         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40968         * sysdeps/x86_64/configure: Regenerated.
40970         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40971         defined.  Don't check if MAP is NULL.
40973 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40975         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40976         (_G_stat64): Likewise.
40977         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40978         (_G_stat64): Likewise.
40979         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40980         instead of struct _G_stat64.
40981         * libio/fileops.c (mmap_remap_check): Likewise.
40982         (decide_maybe_mmap): Likewise.
40983         (_IO_new_file_seekoff): Likewise.
40984         (_IO_file_stat): Likewise.
40985         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40986         _G_off64_t.
40987         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40988         instead of struct _G_stat64.
40989         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40991 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40993         [BZ #14602]
40994         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40995         Replace with ...
40996         (CHECK_EOL): New macro.
40997         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40998         CHECK_EOL.
40999         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41000         Replace with CHECK_EOL.
41001         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
41002         Replace with CHECK_EOL.
41004 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
41006         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
41007         type-generic.
41008         * math/libm-test.inc: Update comment listing what functions and
41009         macros are tested.
41010         (finite_test): New function.
41011         (isinf_test): Likewise.
41012         (isnan_test): Likewise.
41013         (fpclassify_test): Test subnormal input.
41014         (isfinite_test): Likewise.
41015         (isnormal_test): Likewise.
41016         (main): Call the new functions.
41018 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41020         [BZ #14660]
41021         * Makerules (%.dynsym): Force C locale when running
41022         $(OBJDUMP) --dynamic-syms.
41024 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41026         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41027         <stdint.h>.
41029 2012-10-06  David S. Miller  <davem@davemloft.net>
41031         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41032         upper 32-bits of the length value in %o2 since we use branch-on-register
41033         tests which consider the entire 64-bit register.
41035 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41037         * string/test-strstr.c (check2): Add a test for page boundary.
41039 2012-10-05  David S. Miller  <davem@davemloft.net>
41041         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41042         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41043         file.
41044         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41045         sysdep_routines.
41046         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41047         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41048         and bzero when HWCAP_SPARC_CRYPTO is present.
41050 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41052         [BZ #14602]
41053         * string/test-strstr.c (check2): New function.
41054         (test_main): Call check2.
41056         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41057         and bug-strchr1.
41058         * string/bug-strcasestr1.c (do_test): Moved to ...
41059         * string/test-strcasestr.c (check1): Here.  New function.
41060         (do_one_test): Break out result checking code into ...
41061         (check_result): This.  New function.
41062         (do_one_test): Call check_result.
41063         (test_main): Call check1.
41064         * string/bug-strchr1.c (do_test): Moved to ...
41065         * string/test-strchr.c (check1): Here.  New function.
41066         (do_one_test): Break out result checking code into ...
41067         (check_result): This.  New function.
41068         (do_one_test): Call check_result.
41069         (test_main): Call check1.
41070         * string/bug-strstr1.c (main): Moved to ...
41071         * string/test-strstr.c (check1): Here.  New function.
41072         (do_one_test): Break out result checking code into ...
41073         (check_result): This.  New function.
41074         (do_one_test): Call check_result.
41075         (test_main): Call check1.
41076         * string/bug-strcasestr1.c: Removed.
41077         * string/bug-strchr1.c: Likewise.
41078         * string/bug-strstr1.c: Likewise.
41080         * elf/Makefile (dl-routines): Add hwcaps.
41081         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41082         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41083         (_dl_important_hwcaps): Moved to ...
41084         * elf/dl-hwcaps.c: Here.  New file.
41085         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41087         [BZ #14557]
41088         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41089         if IS_IN_rtld isn't defined.
41091         * elf/dl-support.c (_dl_sysinfo_map): New.
41092         Include "get-dynamic-info.h" and "setup-vdso.h".
41093         (_dl_non_dynamic_init): Call setup_vdso.
41094         * elf/dynamic-link.h: Don't include <assert.h>.
41095         (elf_get_dynamic_info): Moved to ...
41096         * elf/get-dynamic-info.h: Here.  New file.
41097         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41098         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41099         * elf/setup-vdso.h: Here.  New file.
41100         * elf/rtld.c: Include "setup-vdso.h".
41101         (dl_main): Call setup_vdso.
41103 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41105         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41106         creal in comment listing functions tested.  List finite, isinf,
41107         isnan, isless, islessequal, isgreater, isgreaterequal,
41108         islessgreater, isunordered, lgamma_r and pow10 as functions and
41109         macros not tested.  Mention which functions not tested are aliases
41110         for other functions.  Fix typo.  Note that signs of NaNs are not
41111         tested.
41113         * scripts/config.guess: Update from config.git.
41114         * scripts/config.sub: Likewise.
41116 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41118         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41119         * misc/madvise.c (madvise): Renamed to __madvise.
41120         Make madvise a weak alias.
41121         * include/sys/mman.h: Declare __madvise.
41122         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41123         * sysdeps/unix/syscalls.list
41124         (madvise): Make __madvise the strong name, and madvise a weak alias.
41125         * sysdeps/unix/sysv/linux/syscalls.list
41126         (madvise, mmap): Remove redundant entries.
41127         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41128         * malloc/malloc.c (mtrim): Likewise.
41129         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41131 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41133         * sysdeps/mach/hurd/dl-cache.c: File removed.
41134         * config.h.in (USE_LDCONFIG): New #undef.
41135         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41136         * configure: Regenerated.
41137         * elf/Makefile (dl-routines): Add dl-cache only under
41138         [$(use-ldconfig) = yes].
41139         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41140         cache on [USE_LDCONFIG].
41141         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41142         [USE_LDCONFIG].
41143         * elf/rtld.c (dl_main): Likewise.
41145 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41147         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41148         _SC_LEVEL4_CACHE_LINESIZE.
41150 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41152         * sysdeps/unix/bsd/confstr.h: File removed.
41154 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41156         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41157         sys/sdt-config.h.
41159 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41161         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41162         Make 'mapoff' field ElfW(Off) rather than off_t.
41164 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41166         * nscd/Makefile: Remove nscd-cflags and all its users.
41167         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41168         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41170         [BZ #10631]
41171         * malloc.c (malloc_printerr): Clarify error message.
41173 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41175         [BZ #14648]
41176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41177         Set bit_FMA_Usable if FMA is supported.
41178         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41179         macro.
41180         (bit_FMA4_Usable): Updated.
41181         (index_FMA_Usable): New macro.
41182         (CPUID_FMA): Likewise
41183         (HAS_FMA): Defined with bit_FMA_Usable.
41185 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41187         * bits/types.h (__swblk_t): Type removed.
41188         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41189         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41190         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41191         (__SWBLK_T_TYPE): Likewise.
41192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41193         (__SWBLK_T_TYPE): Likewise.
41194         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41195         (__SWBLK_T_TYPE): Likewise.
41196         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41197         (__SWBLK_T_TYPE): Likewise.
41199 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41200             Honza Horak <hhorak@redhat.com>
41202         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41203         (xdr_mapname): Use YPMAXMAP as maxsize.
41204         (xdr_peername): Use YPMAXPEER as maxsize.
41205         (xdr_keydat): Use YPAXRECORD as maxsize.
41206         (xdr_valdat): Use YPMAXRECORD as maxsize.
41208 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41210         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41212         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41213         * csu/init-first.c: ... here.
41214         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41215         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41216         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41217         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41218         * sysdeps/i386/init-first.c: File removed.
41219         * sysdeps/sh/init-first.c: File removed.
41221 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41223         [BZ #14645]
41224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41225         if x * y might underflow to zero and z is zero.
41226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41227         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41228         * math/libm-test.inc (min_subnorm_value): New variable.
41229         (fma_test): Add more tests.
41230         (fma_test_towardzero): Likewise.
41231         (fma_test_downward): Likewise
41232         (fma_test_upward): Likewise.
41233         (initialize): Set min_subnorm_value.
41235 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41237         [BZ #14638]
41238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41239         0 + 0.
41240         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41241         mode for addition resulting in exact zero.
41242         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41244         exact 0 + 0.
41245         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41247         * math/libm-test.inc (fma_test): Add more tests.
41248         (fma_test_towardzero): New function.
41249         (fma_test_downward): Likewise.
41250         (fma_test_upward): Likewise.
41251         (main): Call the new functions.
41253 2012-09-28  David S. Miller  <davem@davemloft.net>
41255         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41257 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41259         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41260         instead of SIGALRM.
41262         * sysdeps/gnu/_G_config.h: Moved to ...
41263         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41264         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41265         * sysdeps/generic/_G_config.h: ... here.
41267         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41269         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41271         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41272         Conditionalize target on [libnss_test1.so-version].
41274         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41276         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41277         (elfobjdir): Move out of conditionals.
41279         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41280         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41281         (__nss_lookup_function): Conditionalize label remove_from_tree on
41282         [!DO_STATIC_NSS || SHARED], matching its only use.
41284 2012-09-28  David S. Miller  <davem@davemloft.net>
41286         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41287         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41288         file.
41289         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41290         sysdep_routines.
41291         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41292         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41293         when HWCAP_SPARC_CRYPTO is present.
41295 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41297         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41299 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41301         [BZ #6530]
41302         * stdio-common/vfprintf.c (process_string_arg): Revert
41303         2000-07-22 change.
41305 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41307         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41308         for testcase.
41309         * stdio-common/tst-sprintf.c: Include <locale.h>
41310         (main): Test sprintf's handling of incomplete multibyte
41311         characters.
41313 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41315         * elf/dl-runtime.c (VERSYMIDX): Removed.
41316         * elf/dl-version.c (VERSYMIDX): Likewise.
41317         * elf/do-rel.h (VERSYMIDX): Likewise.
41318         (VALIDX): Likewise.
41319         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41320         * elf/rtld.c (VALIDX): Likewise.
41321         (ADDRIDX): Likewise.
41322         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41323         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41324         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41325         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41326         (VALIDX): Likewise.
41327         (ADDRIDX): Likewise.
41329 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41331         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41333 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41335         [BZ #11438]
41336         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41337         to global scope.
41338         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41339         addresses are in the same scope as 192.0.2/24.
41340         * posix/gai.conf: Document new scope table defaults.
41342 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41344         [BZ #5298]
41345         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41346         for ftell.  Compute offsets from write pointers instead.
41347         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41349 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41351         [BZ #14543]
41352         * libio/Makefile (tests): New test case tst-fseek.
41353         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41354         combination works in wide mode.
41355         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41356         state when the external buffer state changes.
41358 2012-09-27  David S. Miller  <davem@davemloft.net>
41360         [BZ #14376]
41361         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41362         pass reloc->r_addend in as the 'high' argument to
41363         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41367 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41369         * rt/tst-aio2.c: Include <pthread.h>.
41370         * rt/tst-aio3.c: Likewise.
41372 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41374         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41376 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41378         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41379         contents on [SHARED].
41381 2012-09-26  Marek Polacek  <polacek@redhat.com>
41383         [BZ #14530]
41384         [BZ #13741]
41385         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41386         for C++ and GCC <4.3 as well as for non GCC compilers.
41388 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41392 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41394         * Makefile.in (all, install): Declare with .PHONY.
41395         Reported by Michael Hope <michael.hope@linaro.org>.
41397 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41399         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41400         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41401         system header.
41402         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41403         Likewise.
41404         (sydep_routines): Add the new and the internal functions.
41405         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41406         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41408         (GLIBC_2.17): Add the new function.
41409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41410         (GLIBC_2.17): Likewise.
41411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41412         (GLIBC_2.17): Likewise.
41413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41414         (GLIBC_2.17): Likewise.
41415         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41417 2012-09-25  Alan Modra  <amodra@gmail.com>
41419         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41420         Add release barrier before setting once_control to say
41421         initialisation is done.  Add hints on lwarx.  Use macro in
41422         place of isync.
41423         (clear_once_control): Add release barrier.
41425 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41427         [BZ #13629]
41428         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41429         specially.
41430         * math/s_clog10.c (__clog10): Likewise.
41431         * math/s_clog10f.c (__clog10f): Likewise.
41432         * math/s_clog10l.c (__clog10l): Likewise.
41433         * math/s_clogf.c (__clogf): Likewise.
41434         * math/s_clogl.c (__clogl): Likewise.
41435         * math/Makefile (libm-calls): Add x2y2m1.
41436         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41437         (__x2y2m1): Likewise.
41438         (__x2y2m1l): Likewise.
41439         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41440         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41441         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41442         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41443         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41444         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41445         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41446         * sysdeps/i386/fpu/libm-test-ulps: Update.
41447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41449         [BZ #14621]
41450         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41451         int as type of variable DEPTH.
41452         (glob): Use size_t instead of int as type of variables NEWCOUNT
41453         and OLD_PATHC.
41455 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41457         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41458         Add s_sincosf-sse2.
41459         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41460         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41461         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41462         macros for using routine as __sincosf_ia32.
41463         Use macro for function declaration and weak_alias.
41464         * sysdeps/i386/fpu/libm-test-ulps: Update.
41466         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41469         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41470         subnormal argument.
41471         * math/s_cexpf.c (__cexpf): Likewise.
41472         * math/s_csinf.c (__csinf): Likewise.
41473         * math/s_csinhf.c (__csinhf): Likewise.
41474         * math/s_ctanf.c (__ctanf): Likewise.
41475         * math/s_ctanhf.c (__ctanhf): Likewise.
41476         * math/s_ccosh.c (__ccoshf): Likewise.
41477         * math/s_cexp.c (__cexpl): Likewise.
41478         * math/s_csin.c (__csin): Likewise.
41479         * math/s_csinh.c (__csinh): Likewise.
41480         * math/s_ctan.c (__ctan): Likewise.
41481         * math/s_ctanh.c (ctanh): Likewise.
41482         * math/s_ccoshl.c (__ccoshl): Likewise.
41483         * math/s_cexpl.c (__cexpl): Likewise.
41484         * math/s_csinl.c (__csinl): Likewise.
41485         * math/s_csinhl.c (__csinhl): Likewise.
41486         * math/s_ctanl.c (__ctanl): Likewise.
41487         * math/s_ctanhl.c (__ctanhl): Likewise.
41489 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41491         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41492         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41493         (_IO_off_t): Define to __off_t, not _G_off_t.
41494         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41495         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41496         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41497         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41498         type of __dummy and __dummy2 fields.
41499         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41500         (_G_ssize_t): Likewise.
41501         (_G_off_t): Likewise.
41502         (_G_pid_t): Likewise.
41503         (_G_uid_t): Likewise.
41504         (_G_wchar_t): Likewise.
41505         (_G_wint_t): Likewise.
41506         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41507         (_G_ssize_t): Likewise.
41508         (_G_off_t): Likewise.
41509         (_G_pid_t): Likewise.
41510         (_G_uid_t): Likewise.
41511         (_G_wchar_t): Likewise.
41512         (_G_wint_t): Likewise.
41513         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41514         (_G_ssize_t): Likewise.
41515         (_G_off_t): Likewise.
41516         (_G_pid_t): Likewise.
41517         (_G_uid_t): Likewise.
41518         (_G_wchar_t): Likewise.
41519         (_G_wint_t): Likewise.
41521 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41523         * malloc/arena.c: Include malloc-sysdep.h.
41524         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41525         is sufficient to shrink the heap or an unmap is needed.
41526         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41527         new function check_may_shrink_heap.
41528         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41529         new function check_may_shrink_heap.
41531 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41533         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41534         comments.
41536 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41538         * catgets/test-gencat.sh: Add "set -e".
41539         * elf/tst-pathopt.sh: Likewise.
41540         * grp/tst_fgetgrent.sh: Likewise.
41541         * iconvdata/run-iconv-test.sh: Likewise.
41542         * intl/tst-gettext.sh: Likewise.
41543         * intl/tst-gettext2.sh: Likewise.
41544         * intl/tst-gettext4.sh: Likewise.
41545         * intl/tst-gettext6.sh: Likewise.
41546         * intl/tst-translit.sh: Likewise.
41547         * io/ftwtest-sh: Likewise.
41548         * libio/test-freopen.sh: Likewise.
41549         * malloc/tst-mtrace.sh: Likewise.
41550         * posix/globtest.sh: Likewise.
41551         * posix/tst-getconf.sh: Likewise.
41552         * posix/wordexp-tst.sh: Likewise.
41553         * stdio-common/tst-printf.sh: Likewise.
41554         * stdio-common/tst-unbputc.sh: Likewise.
41555         * stdlib/tst-fmtmsg.sh: Likewise.
41556         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41557         * catgets/Makefile: Do not specify -e option when running
41558         testsuite shell scripts.
41559         * elf/Makefile: Likewise.
41560         * grp/Makefile: Likewise.
41561         * iconvdata/Makefile: Likewise.
41562         * intl/Makefile: Likewise.
41563         * io/Makefile: Likewise.
41564         * libio/Makefile: Likewise.
41565         * malloc/Makefile: Likewise.
41566         * posix/Makefile: Likewise.
41567         * stdio-common/Makefile: Likewise.
41568         * stdlib/Makefile: Likewise.
41569         * sysdeps/x86_64/Makefile: Likewise.
41571         * io/ftwtest-sh: Add copyright header.
41572         * posix/globtest.sh: Likewise.
41573         * posix/tst-getconf.sh: Likewise.
41574         * posix/wordexp-tst.sh: Likewise.
41575         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41577 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41579         [BZ #13679]
41580         * Makeconfig (+link): Defined as $(+link-static) if
41581         $(build-shared) isn't yes.
41582         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41583         isn't yes.
41584         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41586         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41588         [BZ #14562]
41589         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41590         new chunk size with MALLOC_ALIGN_MASK.
41592 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41594         [BZ #5044]
41595         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41596         <rounding-mode.h>.
41597         (__printf_fphex): Determine rounding using get_rounding_mode and
41598         round_away.
41599         * stdio-common/tst-printf-round.c (struct hex_test): New
41600         structure.
41601         (hex_tests): New variable.
41602         (test_hex_in_one_mode): New function.
41603         (do_test): Also run tests for hex float output.
41605 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41607         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41608         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41609         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41610         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41611         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41612         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41613         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41614         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41616 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41618         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41619         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41620         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41621         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41623 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41625         [BZ #14579]
41626         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41627         mode only.
41628         * elf/tst-rtld-load-self.sh: New test.
41629         * elf/Makefile: Run it.
41631 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41633         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41634         (tst-writev-ENV): Remove.
41635         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41637 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41639         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41641 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41643         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41644         unconditional.
41645         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41646         Likewise.
41647         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41648         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41649         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41650         Likewise.
41652 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41654         [BZ #14587]
41655         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41656         * config.make.in (have-cpp-asm-debuginfo): Removed.
41657         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41658         * configure: Regenerated.
41660 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41662         [BZ #5044]
41663         * stdio-common/printf_fp.c: Include <stdbool.h> and
41664         <rounding-mode.h>.
41665         (___printf_fp): Determine rounding using get_rounding_mode and
41666         round_away.
41667         * stdio-common/tst-printf-round.c: New file.
41668         * stdio-common/Makefile (tests): Add tst-printf-round.
41669         (link-libm): New variable.
41670         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41672 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41674         [BZ #14576]
41675         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41676         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41677         Likewise.
41678         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41679         Likewise.
41681 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41683         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41684         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41685         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41686         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41688 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41690         [BZ #14518]
41691         * include/rounding-mode.h: New file.
41692         * sysdeps/generic/get-rounding-mode.h: Likewise.
41693         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41694         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41695         (MAX_VALUE): New macro.
41696         (MIN_VALUE): Likewise.
41697         (overflow_value): New function.
41698         (underflow_value): Likewise.
41699         (round_and_return): Use overflow_value and underflow_value to
41700         determine return values in overflow and underflow cases.  Use
41701         round_away to determine rounding depending on rounding mode.
41702         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41703         determine return values in overflow and underflow cases.
41704         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41705         (struct test_results): New structure.
41706         (struct test): Use struct test_results to store expected results
41707         for all rounding modes.
41708         (TEST): Include expected results for all rounding modes.
41709         (test_in_one_mode): New function.
41710         (do_test): Use test_in_one_mode to compute and check results.
41711         Check results for all rounding modes.
41712         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41713         $(link-libm).
41715 2012-12-09  Allan McRae  <allan@archlinux.org>
41717         * sysdeps/i386/fpu/libm-test-ulps: Update
41719 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41721         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41722         (_G_int32_t): Likewise.
41723         (_G_uint16_t): Likewise.
41724         (_G_uint32_t): Likewise.
41725         (_G_HAVE_BOOL): Likewise.
41726         (_G_HAVE_ATEXIT): Likewise.
41727         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41728         (_G_HAVE_IO_FILE_OPEN): Likewise.
41729         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41730         (_G_int32_t): Likewise.
41731         (_G_uint16_t): Likewise.
41732         (_G_uint32_t): Likewise.
41733         (_G_HAVE_BOOL): Likewise.
41734         (_G_HAVE_ATEXIT): Likewise.
41735         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41736         (_G_HAVE_IO_FILE_OPEN): Likewise.
41737         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41738         (_G_int32_t): Likewise.
41739         (_G_uint16_t): Likewise.
41740         (_G_uint32_t): Likewise.
41741         (_G_HAVE_BOOL): Likewise.
41742         (_G_HAVE_ATEXIT): Likewise.
41743         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41744         (_G_HAVE_IO_FILE_OPEN): Likewise.
41746 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41748         * csu/libc-tls.c: Update copyright years.
41750 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41752         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41753         [!_G_USING_THUNKS]: Remove conditional code.
41754         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41755         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41757         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41758         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41759         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41760         (_G_VTABLE_LABEL_PREFIX): Likewise.
41761         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41762         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41763         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41764         (_G_VTABLE_LABEL_PREFIX): Likewise.
41765         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41766         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41767         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41768         (_G_VTABLE_LABEL_PREFIX): Likewise.
41769         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41771 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41773         * libio/Makefile: Include ../Makeconfig before tests.
41774         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41775         only if $(build-shared) is yes.
41777         * iconv/gconv_db.c: Update copyright years.
41779 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41781         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41782         unwind info if defined PIC. Fix special cases description.
41783         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41785         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41786         DP_HI_MASK entry.
41787         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41789 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41791         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41793         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41794         is NULL.
41796         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41797         (LDLIBS-tst-chk4): This.
41798         (LDFLAGS-tst-chk5): Renamed to ...
41799         (LDLIBS-tst-chk5): This.
41800         (LDFLAGS-tst-chk6): Renamed to ...
41801         (LDLIBS-tst-chk6): This.
41802         (LDFLAGS-tst-lfschk4): Renamed to ...
41803         (LDLIBS-tst-lfschk4): This.
41804         (LDFLAGS-tst-lfschk5): Renamed to ...
41805         (LDLIBS-tst-lfschk5): This.
41806         (LDFLAGS-tst-lfschk6): Renamed to ...
41807         (LDLIBS-tst-lfschk6): This.
41809         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41810         on $(common-objpfx)soversions.mk.
41812 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41814         [BZ #10014]
41815         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41816         example host name.
41818 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41820         * malloc/arena.c (arena_get_retry): New function that gets
41821         another arena for the caller to try its request on.
41822         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41823         current arena cannot fulfill the request.
41824         (__libc_memalign): Likewise.
41825         (__libc_memalign): Likewise.
41826         (__libc_pvalloc): Likewise.
41827         (__libc_calloc): Likewise.
41829 2012-09-05  John Tobey  <john.tobey@gmail.com>
41831         [BZ #13542]
41832         * manual/arith.texi (Operations on Complex): Fix description
41833         of carg branch cut.
41835 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41837         [BZ #10014]
41838         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41839         host name.
41841         [BZ #10038]
41842         * manual/memory.texi (Memory): Make order of menu items match
41843         order of sections.
41845 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41847         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41848         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41849         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41851 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41853         * csu/libc-tls.c (static_dtv): Renamed to ...
41854         (_dl_static_dtv): This.  Make it global.
41855         (_dl_initial_dtv): Removed.
41856         (__libc_setup_tls): Updated.
41857         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41858         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41859         DL_INITIAL_DTV.
41861 2012-09-06  Petr Machata  <pmachata@redhat.com>
41863         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41864         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41865         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41866         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41868 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41870         [BZ #14545]
41871         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41872         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41873         freeing dtv[-1].
41875 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41877         [BZ #14544]
41878         * Makeconfig (link-static-before-libc): Replace $(+prector)
41879         with $(+prectorT).
41880         (link-static-after-libc): Replace $(+postctor) with
41881         $(+postctorT).
41882         (link-bounded): Replace $(+prector)/$(+postctor) with
41883         $(+prectorT)/$(+postctorT).
41884         (+prectorT): New macro.
41885         (+postctorT): Likewise.
41887 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41889         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41890         (round_str): Handle values above the maximum for IBM long double
41891         as inexact.
41892         * stdlib/tst-strtod-round.c (tests): Regenerated.
41894 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41896         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41897         assembler flag.
41898         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41899         zarch_nohighgprs around the zarch optimized routines.
41900         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41901         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41902         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41903         for zarch.
41905 2012-09-05  David S. Miller  <davem@davemloft.net>
41907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41909         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41910         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41911         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41912         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41913         entries.
41915 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41917         * malloc/arena.c: Fold copyright years.
41918         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41920 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41922         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41924 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41926         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41928 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41930         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41931         change internal state upon failure.
41933 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41935         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41936         * malloc/memusage.c (mmap): Likewise.
41937         (mmap64, mremap): Likewise.  Adjust name in comment.
41939 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41941         * libio/fileops.c: Fix typos in comments.
41942         * libio/oldfileops.c: Likewise.
41943         * libio/wfileops.c: Likewise.
41945 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41947         [BZ #1349]
41948         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41949         (tst-malloc-usable-ENV): Set environment for test case.
41950         * malloc/hooks.c (malloc_check_get_size): New function to get
41951         requested size.
41952         * malloc/malloc.c (musable): Use malloc_check_get_size.
41953         * malloc/tst-malloc-usable.c: New test case.
41955 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41957         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41959 2012-09-05  Allan McRae  <allan@archlinux.org>
41961         [BZ #13966]
41962         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41963         determine header location.
41964         * configure: Regenerated.
41966 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41968         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41969         float format.
41970         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41971         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41972         format.
41973         (test): Regenerate.
41975 2012-09-04  David S. Miller  <davem@davemloft.net>
41977         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41978         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41979         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41981 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41983         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41984         failures.
41986         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41988 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41990         [BZ #9914]
41991         * libio/iogetdelim.c: Include <limits.h>.
41992         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41993         + len + 1 would overflow.
41995 2012-09-03  Andreas Jaeger  <aj@suse.de>
41997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41998         * sysdeps/i386/fpu/libm-test-ulps: Update.
42000 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42002         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42003         Add s_sinf-sse2, s_conf-sse2.
42005         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
42006         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
42007         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
42008         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
42010         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
42011         for using routine as __sinf_ia32.
42012         Use macro for function declaration and weak_alias.
42013         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42014         for using routine as __cosf_ia32.
42015         Use macro for function declaration and weak_alias.
42017         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42018         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42020         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42021         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42024         * math/libm-test.inc (cos_test): Add more test cases.
42025         (sin_test): Likewise.
42026         (sincos_test): Likewise.
42028 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42030         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42031         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42032         hidden.
42033         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42035 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42037         [BZ #14538]
42038         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42039         first element of the GOT.
42040         (elf_machine_load_address): Return the difference between
42041         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42043 2012-09-01  Allan McRae  <allan@archlinux.org>
42045         [BZ #13412]
42046         * configure.in (AWK): Require gawk version 3.0 or later.
42047         * configure: Regenerated.
42049 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42051         * sysdeps/unix/sysv/linux/kernel-features.h
42052         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42053         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42054         [__NR_clock_getres]: Make code unconditional.
42055         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42056         (clock_getcpuclockid): Remove code left unreachable by removal of
42057         conditionals.
42058         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42059         code unconditional.
42060         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42061         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42062         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42063         Make code unconditional.
42064         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42065         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42066         * sysdeps/unix/sysv/linux/clock_settime.c
42067         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42068         conditional code.
42069         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42070         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42072 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42074         [BZ #14476]
42075         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42076         scripts/test-installation.pl.
42078         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42079         and $ld_so_version if it is set.
42081 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42083         [BZ #14516]
42084         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42085         failure if reading from procfs failed.
42086         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42088 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42090         * sysdeps/unix/sysv/linux/kernel-features.h
42091         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42092         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42093         Remove conditional code.
42094         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42095         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42096         Remove conditional code.
42097         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42098         * sysdeps/unix/sysv/linux/i386/fxstat.c
42099         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42101         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42102         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42103         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42104         * sysdeps/unix/sysv/linux/i386/lxstat.c
42105         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42106         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42107         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42108         Remove conditional code.
42109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42110         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42111         Remove conditional code.
42112         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42113         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42114         <kernel-features.h>.
42115         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42116         Remove.
42117         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42118         Remove conditional code.
42119         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42120         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42121         Remove conditional.
42123 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42125         [BZ #5400]
42126         * NEWS: Add fixed bug number.
42128 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42130         [BZ #14519]
42131         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42132         underflowing exponent in case of negative sign.
42133         * stdlib/tst-strtod-round-data: Add more tests.
42134         * stdlib/tst-strtod-round.c (tests): Regenerated.
42136         [BZ #3479]
42137         * stdlib/strtod_l.c (NDIG): Remove.
42138         (HEXNDIG): Likewise.
42139         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42140         smallest representable value.
42141         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42142         lie within an exact representation of 1/2 ulp of the result.
42143         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42144         unconditionally.
42145         (TENS_P9_IDX): Define unconditionally.
42146         (TENS_P9_SIZE): Likewise.
42147         (TENS_P10_IDX): Likewise.
42148         (TENS_P10_SIZE): Likewise.
42149         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42150         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42151         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42152         entries for 10^2^13 and 10^2^14.
42153         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42154         (TENS_P13_IDX): Define.
42155         (TENS_P13_SIZE): Likewise.
42156         (TENS_P14_IDX): Likewise.
42157         (TENS_P14_SIZE): Likewise.
42158         (_fpioconst_pow10): Change array size to
42159         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42160         unconditional.
42161         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42162         1024]: Add entries for 10^2^13 and 10^2^14.
42163         [LAST_POW10 > _LAST_POW10]: Remove #error.
42164         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42165         (_fpioconst_pow10): Change array size to
42166         FPIOCONST_POW10_ARRAY_SIZE.
42167         * stdlib/gen-fpioconst.c: New file.
42168         * stdlib/gen-tst-strtod-round.c: Likewise.
42169         * stdlib/tst-strtod-round-data: Likewise.
42170         * stdlib/tst-strtod-round.c: Likewise.
42171         * stdlib/Makefile (tests): Add tst-strtod-round.
42173         [BZ #14459]
42174         * stdlib/strtod_l.c: Include <stdint.h>.
42175         (NDEBUG): Do not define.
42176         (round_and_return): Change EXPONENT parameter to type intmax_t.
42177         Rearrange calculations to avoid internal overflow possibilities.
42178         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42179         Rearrange calculations to avoid internal overflow possibilities.
42180         Assert that number fits inside MPNSIZE limbs.
42181         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42182         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42183         calculations and add assertions to avoid internal overflow
42184         possibilities.  Add casts to avoid signed/unsigned operations.
42185         * stdlib/tst-strtod-overflow.c: New file.
42186         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42188 2012-08-25  Marek Polacek  <polacek@redhat.com>
42190         * time/time.h: Fix some typos in comments.
42192 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42194         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42195         * posix/tst-rfc3484-2.c: Likewise.
42196         * posix/tst-rfc3484-3.c: Likewise.
42198 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42200         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42201         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42203 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42205         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42206         #include of fxstatat64.c.
42208 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42210         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42211         * shadow/getspent_r.c: Likewise.
42212         * shadow/getspnam.c: Likewise.
42213         * shadow/getspnam_r.c: Likewise.
42214         * gshadow/getsgent.c: Likewise.
42215         * gshadow/getsgent_r.c: Likewise.
42216         * gshadow/getsgnam.c: Likewise.
42217         * gshadow/getsgnam_r.c: Likewise.
42218         * inet/getnetbyad.c: Likewise.
42219         * inet/getnetbyad_r.c: Likewise.
42220         * inet/getnetbynm.c: Likewise.
42221         * inet/getnetbynm_r.c: Likewise.
42222         * inet/getnetent.c: Likewise.
42223         * inet/getnetent_r.c: Likewise.
42224         * inet/getproto.c: Likewise.
42225         * inet/getproto_r.c: Likewise.
42226         * inet/getprtent.c: Likewise.
42227         * inet/getprtent_r.c: Likewise.
42228         * inet/getprtname.c: Likewise.
42229         * inet/getprtname_r.c: Likewise.
42230         * inet/getrpcbyname.c: Likewise.
42231         * inet/getrpcbyname_r.c: Likewise.
42232         * inet/getrpcbynumber.c: Likewise.
42233         * inet/getrpcbynumber_r.c: Likewise.
42234         * inet/getrpcent.c: Likewise.
42235         * inet/getrpcent_r.c: Likewise.
42236         * inet/getaliasent.c: Likewise.
42237         * inet/getaliasent_r.c: Likewise.
42238         * inet/getaliasname.c: Likewise.
42239         * inet/getaliasname_r.c: Likewise.
42240         * nscd/getgrgid_r.c: Likewise.
42241         * nscd/getgrnam_r.c: Likewise.
42242         * nscd/gethstbyad_r.c: Likewise.
42243         * nscd/gethstbynm3_r.c: Likewise.
42244         * nscd/getpwnam_r.c: Likewise.
42245         * nscd/getpwuid_r.c: Likewise.
42246         * nscd/getsrvbynm_r.c: Likewise.
42247         * nscd/getsrvbypt_r.c: Likewise.
42248         * nscd/gai.c: Likewise.
42250         * configure.in (build_nscd): New substituted variable, set
42251         by --disable-build-nscd and defaults to $use_nscd.
42252         * configure: Regenerated.
42253         * config.make.in (build-nscd): New substituted variable.
42254         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42255         Change conditional to require [$(build-nscd) = yes] as well.
42256         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42258         [BZ# 13696]
42259         * configure.in (use_nscd): New substituted variable, set by
42260         --disable-nscd.  If enabled, define USE_NSCD.
42261         * configure: Regenerated.
42262         * config.h.in: Add USE_NSCD.
42263         * config.make.in (use-nscd): New substituted variable.
42264         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42265         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42266         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42267         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42268         (CFLAGS-getgrnam_r.c): Likewise.
42269         (CFLAGS-initgroups.c): Likewise.
42270         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42271         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42272         Variables removed.
42273         * inet/getnetgrent_r.c
42274         (nscd_setnetgrent): New function, broken out of ...
42275         (setnetgrent): ... here.  Call it.
42276         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42277         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42278         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42279         * nscd/Makefile (routines, aux): Move definitions after include of
42280         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42281         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42282         Conditionalize on [USE_NSCD].
42283         (is_nscd, nscd_init_cb): Likewise.
42284         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42285         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42286         * nss/nss_db/db-init.c: Likewise.
42287         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42288         [USE_NSCD].
42289         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42290         (make_request): Use it.
42291         (cache_valid_p): New function.
42292         (__check_pf): Use it.
42293         * NEWS: Add item for --disable-nscd.
42295 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42297         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42298         to support sed >= 4.2.1-20-ga9bf076.
42299         * configure: Regenerated.
42301 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42303         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42304         Conditionalize whole body on [IREL].
42306 2012-08-22  Jeff Law <law@redhat.com>
42308         [BZ #14505]
42309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42310         if the family is PF_UNSPEC.
42312 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42314         * Makerules (lib-version): Rename from V.
42315         (install-lib-nosubdir): Change V to lib-version.
42317 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42319         [BZ #14252]
42320         * powerpc32/power6/wcschr.c: New file.
42321         * powerpc32/power6/wcscpy.c: New file.
42322         * powerpc32/power6/wcsrchr.c: New file.
42323         * powerpc64/power6/wcschr.c: New file.
42324         * powerpc64/power6/wcscpy.c: New file.
42325         * powerpc64/power6/wcsrchr.c: New file.
42327 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42329         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42330         (two_way_short_needle): Use it.
42331         * string/strstr.c (AVAILABLE1_USES_J): Define.
42332         * string/strcasestr.c: Likewise.
42334         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42335         array references.
42336         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42338         [BZ #11607]
42339         * NEWS: Add an entry.
42340         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42341         define their defaults.
42342         (two_way_short_needle): Detect end-of-string on-the-fly.
42343         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42344         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42345         * string/bug-strcasestr1.c: New test.
42346         * string/Makefile: Run it.
42348 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42350         [BZ #11607]
42351         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42352         the first character.
42354 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42356         * csu/elf-init.c (__libc_csu_irel): Function removed.
42357         * csu/libc-start.c (apply_irel): New function.
42358         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42360 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42362         * sysdeps/unix/sysv/linux/kernel-features.h
42363         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42364         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42365         <kernel-features.h>.
42366         [__NR_fadvise64_64]: Make code unconditional.
42367         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42368         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42369         !__NR_fadvise64_64)]: Likewise.
42370         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42371         !__NR_fadvise64_64))]: Likewise.
42372         [__NR_fadvise64]: Make code unconditional.
42373         [!__NR_fadvise64]: Remove conditional code.
42374         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42375         <kernel-features.h>.
42376         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42377         unconditional.
42378         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42379         conditional code.
42380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42381         not include <kernel-features.h>.
42382         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42383         unconditional.
42384         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42385         conditional code.
42386         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42387         include <kernel-features.h>.
42388         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42389         unconditional.
42390         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42391         conditional code.
42393 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42395         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42396         slight instruction rearrangements per scrollpipe analysis.
42397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42399 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42401         * manual/syslog.texi (syslog; vsyslog, closelog):
42402         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42403         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42405         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42406         DSOCAPS to match condition on defining it.
42408 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42410         * sysdeps/unix/sysv/linux/kernel-features.h
42411         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42413         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42414         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42416         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42417         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42419         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42420         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42422         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42423         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42425         * sysdeps/unix/sysv/linux/kernel-features.h
42426         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42427         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42428         unconditional.
42429         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42430         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42431         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42432         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42433         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42434         Make code unconditional.
42435         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42436         (__mmap64) [!__NR_mmap2]: Likewise.
42437         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42438         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42439         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42440         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42441         [__NR_mmap2]: Make code unconditional.
42442         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42443         (__mmap64) [!__NR_mmap2]: Likewise.
42445 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42447         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42449 2012-08-18  Andreas Jaeger  <aj@suse.de>
42451         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42453 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42455         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42456         * include/unistd.h (__have_sock_cloexec): Likewise.
42457         (__have_pipe2): Likewise.
42458         (__have_dup3): Likewise.
42460 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42462         [BZ #9685]
42463         * include/unistd.h (__have_pipe2): Change define into an extern int.
42464         (__have_dup3): Likewise.
42465         * socket/have_sock_cloexec.c: Include fcntl.h.
42466         (__have_pipe2): New variable.
42467         (__have_dup3): Likewise.
42469 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42471         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42473 2012-08-17  Marek Polacek  <polacek@redhat.com>
42475         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42476         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42478 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42480         * configure.in: Add AC_SUBST for sysheaders.
42481         * configure: Regenerated.
42482         * config.make.in (sysheaders): New substituted variable.
42484         * sysdeps/unix/mkfifo.c: Moved ...
42485         * sysdeps/posix/mkfifo.c: ... here.
42486         * sysdeps/unix/mkfifoat.c: Moved ...
42487         * sysdeps/posix/mkfifoat.c: ... here.
42489         * sysdeps/unix/utime.c: Moved ...
42490         * sysdeps/posix/utime.c: ... here.
42492         * sysdeps/unix/time.c: Moved ...
42493         * sysdeps/posix/time.c: ... here.
42494         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42495         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42497         * sysdeps/unix/nice.c: Moved ...
42498         * sysdeps/posix/nice.c: ... here.
42500         * sysdeps/unix/alarm.c: Moved ...
42501         * sysdeps/posix/alarm.c: ... here.
42503         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42505 2012-08-17  Jeff Law <law@redhat.com>
42507         * intl/Makefile (codeset_mo): New variable.
42508         ($(codeset_mo)): New target.
42509         (tst-codeset.out): Depend on that.  Remove explicit rule.
42510         (tst-gettext3.out, tst-gettext5.out): Likewise.
42511         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42512         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42513         * intl/tst-codeset.sh: Remove.
42514         * intl/tst-gettext3.sh: Likewise.
42515         * intl/tst-gettext5.sh: Likewise.
42517 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42519         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42520         * sysdeps/unix/syscalls.list: ... here.
42522         * sysdeps/posix/getaddrinfo.c
42523         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42524         (gaiconf_init, gaiconf_reload): Use them.
42525         [!_STATBUF_ST_NSEC]
42526         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42527         Define using time_t rather than struct timespec.
42529         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42530         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42531         Macros removed.
42532         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42533         [!NO_THREADS].
42534         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42535         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42536         Likewise.
42538         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42539         __libc_cleanup_push argument.
42541         * bits/param.h: New file.
42542         * misc/sys/param.h: New file.
42543         * include/sys/param.h: New file.
42544         * misc/Makefile (headers): Add bits/param.h.
42545         * sysdeps/generic/sys/param.h: File removed.
42546         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42547         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42548         * sysdeps/mach/hurd/bits/param.h: New file.
42549         * sysdeps/mach/hurd/sys/param.h: File removed.
42551         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42552         last change.
42554         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42555         [_IO_MTSAFE_IO].
42556         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42557         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42558         New macros.
42560         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42561         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42562         rather than -D_IO_MTSAFE_IO conditionally.
42563         * stdio-common/Makefile (CPPFLAGS): Likewise.
42564         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42565         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42566         Use $(libio-mtsafe).
42567         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42568         of -D_IO_MTSAFE_IO.
42569         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42570         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42571         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42572         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42573         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42574         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42575         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42576         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42577         (CFLAGS-fread_u_chk.c): Likewise.
42578         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42579         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42580         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42581         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42582         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42583         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42584         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42585         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42586         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42588         * libio/Makefile: Test [$(libc-reentrant) = yes]
42589         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42591         * Makeconfig
42592         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42593         * sysdeps/pthread/configure: File removed.
42594         * sysdeps/pthread/Makeconfig: New file.
42595         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42596         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42598 2012-08-16  Gary Benson  <gbenson@redhat.com>
42600         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42601         unmapping the first object in a namespace.
42603 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42605         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42606         (__internal_setnetgrent): ... this.  Add internal_function to
42607         definition.  Add libc_hidden_def.
42608         (setnetgrent): Update caller.
42609         (internal_endnetgrent): Renamed to ...
42610         (__internal_endnetgrent): ... this.  Add internal_function to
42611         definition.  Add libc_hidden_def.
42612         (endnetgrent): Update caller.
42613         (internal_getnetgrent_r): Renamed to ...
42614         (__internal_getnetgrent_r): ... this.  Add internal_function to
42615         definition.  Add libc_hidden_def.
42616         (__getnetgrent_r): Update caller.
42617         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42619 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42621         * stdlib/longlong.h: Update from GCC.
42623 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42625         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42626         on _QL, which is set by umul_ppmm but never used.
42627         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42628         variables, which are set by GMP macros but never used.
42629         * stdio-common/_itowa.c (_itowa): Likewise.
42630         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42631         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42633 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42635         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42636         struct La_sh_regs is not constant.
42637         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42638         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42639         and struct La_sparc64_regs are not constant.
42641 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42643         * sysdeps/unix/sysv/linux/kernel-features.h
42644         (__ASSUME_POSIX_TIMERS): Remove.
42645         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42646         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42647         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42648         Make code unconditional.
42649         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42650         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42651         Make code unconditional.
42652         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42653         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42654         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42655         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42656         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42657         Make code unconditional.
42658         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42659         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42660         (__libc_missing_posix_timers): Remove.
42662 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42664         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42665         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42667         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42669         * elf/dl-sym.c: Include <stdlib.h>.
42671         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42672         constants, which avoids warnings in 32-bit builds.
42674         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42675         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42677         * misc/lseek.c: File moved to ...
42678         * io/lseek.c: ... here.
42680         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42682         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42683         shifting LEN more than 31 bits at once.
42685 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42687         [BZ #14195]
42688         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42689         segmentation fault for a case of two empty input strings.
42690         * string/test-strncasecmp.c (check1): Renamed to...
42691         (bz12205): ...this.
42692         (bz14195): Add new testcase for two empty input strings and N > 0.
42693         (test_main): Call new testcase, adapt for renamed function.
42695 2012-08-15  Andreas Jaeger  <aj@suse.de>
42697         [BZ #14090]
42698         * crypt/md5test2.c: New test, based on test supplied by Serge
42699         Belyshev <belyshev@depni.sinp.msu.ru>.
42700         * crypt/Makefile (xtests): Add md5test-giant..
42701         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42703 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42705         [BZ #14090]
42706         * crypt/md5.c (md5_process_block): Don't assume the buffer
42707         length is less than 2**32.
42708         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42709         length is less than 2**64.
42711 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42713         * string/str-two-way.h: Include <sys/param.h>.
42714         (MAX): Macro removed.
42716         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42717         Move #define and #undef of memmove to just before and after
42718         including <string.h>.
42720         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42721         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42722         and after including <string.h>.  Move declarations of
42723         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42724         to before #include "string/memmove.c".
42726         * include/dirent.h: Declare __getdirentries.
42728         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42729         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42731 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42733         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42734         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42735         * sysdeps/i386/configure: Regenerated.
42736         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42737         STABS_CURRENT_FILE, and STABS_FUN.
42738         (END): Remove call to STABS_FUN_END.
42739         (STABS_CURRENT_FILE1): Delete.
42740         (STABS_CURRENT_FILE): Likewise.
42741         (STABS_FUN): Likewise.
42742         (STABS_FUN_END): Likewise.
42743         (STABS_FUN2): Likewise.
42744         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42745         * sysdeps/x86_64/configure: Regenerated.
42747 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42749         * elf/dl-open.c: Include <atomic.h>.
42750         * elf/dl-lookup.c: Likewise.
42752 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42754         * sysdeps/unix/sysv/linux/kernel-features.h
42755         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42756         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42757         unconditionally.
42758         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42759         unconditionally.
42760         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42761         condition on __ASSUME_CLONE_THREAD_FLAGS.
42763 2012-08-14  Andreas Jaeger  <aj@suse.de>
42765         * sysdeps/i386/fpu/libm-test-ulps: Update.
42767 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42769         * include/atomic.h (atomic_exchange_and_add): Split into ...
42770         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42771         New atomic macros.
42773 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42777 2012-08-13  Jeff Law <law@redhat.com>
42779         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42780         null byte in the output string.
42782 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42784         * sysdeps/unix/sysv/linux/kernel-features.h
42785         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42786         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42787         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42788         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42789         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42790         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42791         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42793 2012-08-09  Jeff Law <law@redhat.com>
42795         [BZ #13939]
42796         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42797         When avoid_arena is set, don't retry in the that arena.  Pick the
42798         next one, whatever it might be.
42799         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42800         (arena_lock): Pass in new parameter to arena_get2.
42801         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42802         arena_get2.
42803         (__libc_malloc): Unify retrying after main arena failure with
42804         __libc_memalign version.
42805         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42807 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42809         [BZ #14166]
42810         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42811         to __redirect_strstr.
42812         (__strstr_sse42): Use typeof __redirect_strstr.
42813         (__strstr_ia32): Likewise.
42814         (__libc_strstr): New prototype.
42815         (strstr): Renamed to ...
42816         (__libc_strstr): This.
42817         (strstr): New strong alias of __libc_strstr.
42818         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42819         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42820         __redirect_time.
42821         Include <time.h>.
42822         (__libc_time): New prototype.
42823         (time_ifunc): Replace time with __libc_time.
42824         (time): New strong alias and hidden definition of __libc_time.
42825         (__GI_time): Remove strong alias.
42826         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42827         Include <stddef.h>.
42828         (memmove): Redefined to __redirect_memmove.
42829         (__memmove_sse2): Use typeof __redirect_memmove.
42830         (__memmove_ssse3): Likewise.
42831         (__memmove_ssse3_back): Likewise.
42832         (__libc_memmove): New prototype.
42833         (memmove): Renamed to ...
42834         (__libc_memmove): This.
42835         (memmove): New strong alias of __libc_memmove.
42837 2012-08-08  Mark Salter  <msalter@redhat.com>
42839         * elf/elf.h
42840         (R_MN10300_TLS_GD): Define.
42841         (R_MN10300_TLS_LD): Likewise.
42842         (R_MN10300_TLS_LDO): Likewise.
42843         (R_MN10300_TLS_GOTIE): Likewise.
42844         (R_MN10300_TLS_IE): Likewise.
42845         (R_MN10300_TLS_LE): Likewise.
42846         (R_MN10300_TLS_DTPMOD): Likewise.
42847         (R_MN10300_TLS_DTPOFF): Likewise.
42848         (R_MN10300_TLS_TPOFF): Likewise.
42849         (R_MN10300_SYM_DIFF): Likewise.
42850         (R_MN10300_ALIGN): Likewise.
42851         (R_MN10300_NUM): Update.
42853 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42855         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42856         Remove.
42858 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42860         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42862         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42863         sysdeps/unix -> sysdeps/posix move.
42864         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42866 2012-08-07      Allan McRae     <allan@archlinux.org>
42868         [BZ #14303]
42869         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42870         (SUNOS_CPP): Likewise.
42871         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42872         not found.
42873         (open_input): Call CPP using execvp.
42875 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42877         * sysdeps/unix/sysv/linux/kernel-features.h
42878         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42879         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42880         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42881         (__ASSUME_WAITID_SYSCALL): Likewise.
42882         * sysdeps/unix/sysv/linux/dl-execstack.c
42883         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42884         code unconditional.
42885         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42886         conditional code.
42887         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42888         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42889         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42890         code.
42891         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42892         unconditional.
42893         [__ASSUME_WAITID_SYSCALL]: Likewise.
42894         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42896 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42898         * sysdeps/unix/closedir.c: Renamed to ...
42899         * sysdeps/posix/closedir.c: ... here.
42900         * sysdeps/unix/dirfd.c: Renamed to ...
42901         * sysdeps/posix/dirfd.c: ... here.
42902         * sysdeps/unix/dirstream.h: Renamed to ...
42903         * sysdeps/posix/dirstream.h: ... here.
42904         * sysdeps/unix/fdopendir.c: Renamed to ...
42905         * sysdeps/posix/fdopendir.c: ... here.
42906         * sysdeps/unix/opendir.c: Renamed to ...
42907         * sysdeps/posix/opendir.c: ... here.
42908         * sysdeps/unix/readdir.c: Renamed to ...
42909         * sysdeps/posix/readdir.c: ... here.
42910         * sysdeps/unix/readdir_r.c: Renamed to ...
42911         * sysdeps/posix/readdir_r.c: ... here.
42912         * sysdeps/unix/rewinddir.c: Renamed to ...
42913         * sysdeps/posix/rewinddir.c: ... here.
42914         * sysdeps/unix/seekdir.c: Renamed to ...
42915         * sysdeps/posix/seekdir.c: ... here.
42916         * sysdeps/unix/telldir.c: Renamed to ...
42917         * sysdeps/posix/telldir.c: ... here.
42918         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42919         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42920         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42921         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42923         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42924         * bits/fcntl.h: ... here.
42926         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42927         not 0.
42928         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42929         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42930         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42931         (struct flock): Move l_start, l_len to the beginning.
42932         Use __pid_t for l_pid.
42933         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42934         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42935         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42936         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42937         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42938         [__USE_LARGEFILE64] (struct flock64): New type.
42939         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42941         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42942         * bits/dirent.h: ... here.
42944         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42945         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42947 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42949         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42950         Change from 2.6.0 to 2.6.16.
42951         * sysdeps/unix/sysv/linux/configure: Regenerated.
42952         * sysdeps/unix/sysv/linux/kernel-features.h
42953         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42954         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42955         version.
42956         (__ASSUME_UTIMES): Likewise.
42957         (__ASSUME_CLONE_STOPPED): Remove.
42958         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42959         architectures, not kernel version.
42960         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42961         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42962         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42963         (__ASSUME_WAITID_SYSCALL): Likewise.
42964         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42965         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42966         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42967         refer to older versions.
42969 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42971         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42972         Define alphasort64 as an alias.
42973         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42974         Define versionsort64 as an alias.
42975         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42976         Define scandir64 as an alias.
42977         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42978         Define scandirat64 as an alias.
42979         * dirent/alphasort64.c (alphasort64):
42980         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42981         * dirent/versionsort64.c: Likewise.
42982         * dirent/scandir64.c: Likewise.
42983         * dirent/scandirat64.c: Likewise.
42984         * sysdeps/wordsize-64/alphasort.c: File removed.
42985         * sysdeps/wordsize-64/alphasort64.c: File removed.
42986         * sysdeps/wordsize-64/scandir.c: File removed.
42987         * sysdeps/wordsize-64/scandir64.c: File removed.
42988         * sysdeps/wordsize-64/scandirat.c: File removed.
42989         * sysdeps/wordsize-64/scandirat64.c: File removed.
42990         * sysdeps/wordsize-64/versionsort.c: File removed.
42991         * sysdeps/wordsize-64/versionsort64.c: File removed.
42992         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42993         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42994         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42995         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42996         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42997         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42998         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42999         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
43001         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
43002         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43003         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
43004         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43005         [defined __arch64__ || defined __sparcv9]
43006         (__INO_T_MATCHES_INO64_T): New macro.
43007         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43008         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
43009         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
43010         * sysdeps/unix/sysv/linux/bits/dirent.h
43011         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
43012         (_DIRENT_MATCHES_DIRENT64): New macro.
43014         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43015         Define lockf64 as an alias.
43016         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43017         Define fseeko64 as an alias.
43018         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43019         Define ftello64 as an alias.
43020         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43021         Define _IO_fgetpos64 and fgetpos64 as aliases.
43022         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43023         Define _IO_fsetpos64 and fsetpos64 as aliases.
43024         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43025         Conditionalize body on this.
43026         * libio/fseeko64.c: Likewise.
43027         * libio/ftello64.c: Likewise.
43028         * libio/iofgetpos64.c: Likewise.
43029         * libio/iofsetpos64.c: Likewise.
43030         * sysdeps/wordsize-64/lockf.c: File removed.
43031         * sysdeps/wordsize-64/lockf64.c: File removed.
43032         * sysdeps/wordsize-64/fseeko.c: File removed.
43033         * sysdeps/wordsize-64/fseeko64.c: File removed.
43034         * sysdeps/wordsize-64/ftello.c: File removed.
43035         * sysdeps/wordsize-64/ftello64.c: File removed.
43036         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43037         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43038         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43039         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43040         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43041         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43042         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43043         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43044         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43045         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43046         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43047         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43048         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43049         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43051         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43052         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43053         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43054         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43055         [defined __arch64__ || defined __sparcv9]
43056         (__OFF_T_MATCHES_OFF64_T): New macro.
43057         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43058         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43060         (__OFF_T_MATCHES_OFF64_T): New macro.
43062 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43064         * stdlib/secure-getenv.c (__secure_getenv): Replace
43065         GLIBC_2_16 with GLIBC_2_17.
43067 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43069         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43070         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43072 2012-08-03  David S. Miller  <davem@davemloft.net>
43074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43076 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43078         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43079         Remove.
43080         (__ASSUME_CORRECT_SI_PID): Likewise.
43081         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43082         (__ASSUME_TMPFS_NAME): Likewise.
43083         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43084         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43085         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43086         (HAVE_AUX_SECURE): Make definition unconditional.
43087         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43088         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43090 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43092         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43093         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43094         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43095         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43096         __eloop_threshold instead of SYMLOOP_MAX.
43098         * sysdeps/generic/eloop-threshold.h: New file.
43099         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43100         of MAXSYMLINKS.
43101         * elf/chroot_canon.c (chroot_canon): Likewise.
43103 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43105         [BZ #13717]
43106         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43107         Change to 2.6.0 everywhere.
43108         * sysdeps/unix/sysv/linux/configure: Regenerated.
43109         * sysdeps/unix/sysv/linux/kernel-features.h
43110         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43111         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43112         kernel versions.
43113         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43114         (__ASSUME_FUTEX_REQUEUE): Remove.
43115         (__ASSUME_STATFS64): Define unconditionally.
43116         (__ASSUME_AT_SECURE): Likewise.
43117         (__ASSUME_CORRECT_SI_PID): Likewise.
43118         (__ASSUME_TGKILL): Define without depending on kernel version for
43119         i386.
43120         (__ASSUME_UTIMES): Likewise.
43121         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43122         kernel version.
43123         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43124         (__ASSUME_TMPFS_NAME): Likewise.
43125         * README: Update reference to Linux kernel versions.
43127 2012-08-02  Marek Polacek  <polacek@redhat.com>
43129         [BZ# 14150]
43130         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43131         libc_cv_asm_type_prefix with %.
43132         * configure: Regenerated.
43133         * include/libc-symbols.h: Remove comment about
43134         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43135         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43136         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43137         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43138         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43139         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43140         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43141         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43142         * elf/tst-unique2mod1.c: Likewise.
43143         * elf/tst-unique1mod2.c: Likewise.
43144         * elf/tst-unique1mod1.c: Likewise.
43145         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43146         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43147         Replace ASM_TYPE_DIRECTIVE with .type.
43148         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43149         * sysdeps/i386/sysdep.h: Likewise.
43150         * sysdeps/x86_64/sysdep.h: Likewise.
43151         * sysdeps/sh/sysdep.h: Likewise.
43152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43153         Do not define ASM_TYPE_DIRECTIVE.
43154         * sysdeps/powerpc/sysdep.h: Likewise.
43155         * sysdeps/powerpc/powerpc32/sysdep.h:
43156         Replace ASM_TYPE_DIRECTIVE with .type.
43157         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43158         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43159         * sysdeps/i386/fpu/e_powf.S: Likewise.
43160         * sysdeps/i386/fpu/e_expl.S: Likewise.
43161         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43162         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43163         * sysdeps/i386/fpu/e_pow.S: Likewise.
43164         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43165         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43166         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43167         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43168         * sysdeps/i386/fpu/e_log2.S: Likewise.
43169         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43170         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43171         * sysdeps/i386/fpu/e_powl.S: Likewise.
43172         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43173         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43174         * sysdeps/i386/fpu/e_logl.S: Likewise.
43175         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43176         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43177         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43178         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43179         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43180         * sysdeps/i386/fpu/e_log.S: Likewise.
43181         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43182         * sysdeps/i386/fpu/e_logf.S: Likewise.
43183         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43184         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43185         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43186         * sysdeps/i386/fpu/e_log10.S: Likewise.
43187         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43188         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43189         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43190         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43191         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43192         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43193         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43194         * sysdeps/i386/i686/strtok.S: Likewise.
43195         * sysdeps/i386/i386-mcount.S: Likewise.
43196         * sysdeps/i386/strtok.S: Likewise.
43197         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43198         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43199         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43200         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43201         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43202         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43203         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43204         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43205         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43206         * sysdeps/x86_64/_mcount.S: Likewise.
43207         * sysdeps/x86_64/strtok.S: Likewise.
43208         * sysdeps/sh/_mcount.S: Likewise.
43210 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43212         * libio/iofopen.c: Include <fcntl.h>.
43213         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43214         (_IO_fopen64, fopen64): Define as aliases.
43215         * libio/iofopen64.c: Include <fcntl.h>.
43216         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43217         Conditionalize body on this.
43218         * sysdeps/wordsize-64/iofopen.c: File removed.
43219         * sysdeps/wordsize-64/iofopen64.c: File removed.
43221 2012-08-01  Marek Polacek  <polacek@redhat.com>
43223         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43224         Use dlfcn directly instead of a variable.
43225         (binfmt-subdir): Do not define.
43226         (dlfcn): Likewise.
43228 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43230         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43231         Remove all definitions.
43232         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43233         <kernel-features.h>.
43234         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43235         (miss_F_GETOWN_EX): Remove all definitions.
43236         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43237         macro definition.
43238         [!__ASSUME_FCNTL64]: Remove conditional code.
43239         [__ASSUME_FCNTL64]: Make code unconditional.
43240         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43241         <kernel-features.h>.
43242         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43243         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43244         (lockf64) [__NR_fcntl64]: Make code unconditional.
43245         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43247         * sysdeps/unix/sysv/linux/kernel-features.h
43248         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43249         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43250         Make code unconditional.
43251         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43252         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43254         [__NR_vfork]: Make code unconditional.
43255         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43256         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43258         [__NR_vfork]: Make code unconditional.
43259         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43260         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43262 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43264         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43265         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43267         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43268         Define mkstemp64 as an alias.
43269         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43270         Define mkstemps64 as an alias.
43271         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43272         Define mkostemp64 as an alias.
43273         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43274         Define mkostemps64 as an alias.
43275         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43276         Conditionalize body on this.
43277         * misc/mkostemp64.c: Likewise.
43278         * misc/mkostemps64.c: Likewise.
43279         * misc/mkstemps64.c: Likewise.
43280         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43281         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43282         * sysdeps/wordsize-64/mkostemp.c: File removed.
43283         * sysdeps/wordsize-64/mkstemp.c: File removed.
43284         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43285         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43286         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43287         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43289         [BZ #14138]
43290         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43291         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43292         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43293         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43295         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43296         compat_symbol macros from <shlib-compat.h> rather than the underlying
43297         default_symbol_version and symbol_version macros, so that DEFAULT
43298         lines in shlib-versions are respected.
43299         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43301 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43303         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43304         Declare with warn_unused_result.
43305         (setgid, setregid, setegid, setresgid): Likewise.
43306         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43307         Likewise.
43308         * WUR-REPORT: Remove set*id functions.
43310 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43312         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43314 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43316         [BZ #10191]
43317         * include/sys/socket.h (__libc_accept, __libc_accept4):
43318         Add attribute_hidden.
43319         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43321         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43322         use of PTR_MANGLE.
43323         * inet/getnetgrent_r.c (setup): Likewise.
43325         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43327 2012-07-31  David S. Miller  <davem@davemloft.net>
43329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43331 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43333         [BZ #13629]
43334         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43335         value between 1.0 and 2.0 and smaller part has absolute value less
43336         than 1.0.
43337         * math/s_clog10.c (__clog10): Likewise.
43338         * math/s_clog10f.c (__clog10f): Likewise.
43339         * math/s_clog10l.c (__clog10l): Likewise.
43340         * math/s_clogf.c (__clogf): Likewise.
43341         * math/s_clogl.c (__clogl): Likewise.
43342         * math/libm-test.inc (clog_test): Add more tests.
43343         (clog10_test): Likewise.
43344         * sysdeps/i386/fpu/libm-test-ulps: Update.
43345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43347 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43349         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43350         Exit with zero in case no suitable GID is found, and write a
43351         message to standard error.
43353 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43355         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43356         rather than to 1.
43357         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43358         (MAXPATHLEN): Removed.
43359         (NOGROUP, NODEV): New macros.
43360         (setbit, clrbit, isset, isclr): New macros.
43361         (howmany, roundup, powerof2): New macros.
43362         (DEV_BSIZE): New macro.
43364         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43365         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43367         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43368         definition on [!__NO_LONG_DOUBLE_MATH].
43370         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43371         PTR_MANGLE and PTR_DEMANGLE.
43373         * socket/accept4.c (accept4): Rename to __libc_accept4.
43374         Define accept4 as a weak alias.
43376         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43377         on [_DIRENT_HAVE_D_TYPE].
43378         * io/ftw.c (ftw_dir): Likewise.
43380         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43382         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43384         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43385         Use the BSD numbers rather than the arbitrary ones we had.
43386         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43387         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43388         (SIGXCPU, SIGXFSZ): New macros.
43389         (_NSIG): Now 32.
43391         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43392         initializer on [_LIBC_REENTRANT].
43394         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43395         definitions inside [_POSIX_MAPPED_FILES].
43397         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43399         * dirent/opendir.c: Include <fcntl.h>.
43401         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43402         (__libc_getspecific): Likewise.
43403         (__libc_key_create): Likewise.
43405         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43406         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43407         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43408         (tmpfile64): Define as alias.
43409         * sysdeps/wordsize-64/tmpfile.c: File removed.
43410         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43411         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43412         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43414         * stdio-common/vfscanf.c: Include <stdbool.h>.
43415         * nss/makedb.c: Likewise.
43416         * stdio-common/_i18n_number.h: Likewise.
43417         * argp/argp-help.c: Likewise.
43418         * posix/wordexp.c: Likewise.
43419         * sysdeps/posix/spawni.c: Likewise.
43420         * nss/nss_files/files-initgroups.c: Likewise.
43421         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43422         * nss/nss_files/files-initgroups.c: Likewise.
43423         * nss/nss_db/db-netgrp.c: Likewise.
43424         * nss/nss_db/db-initgroups.c: Likewise.
43425         * io/fchmodat.c: Include <sys/stat.h>.
43427         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43428         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43430         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43431         [HAVE_MMAP].
43433         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43434         Add multiple inclusion protection.
43436 2012-07-27  David S. Miller  <davem@davemloft.net>
43438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43440 2012-07-27  Gary Benson  <gbenson@redhat.com>
43442         [BZ #14298]
43443         * elf/rtld.c: Include <stap-probe.h>.
43444         (dl_main): Added static probes "init_start" and "init_complete".
43445         * elf/dl-load.c: Include <stap-probe.h>.
43446         (lose): Take new parameter "nsid".
43447         Added static probe "map_failed".
43448         (_dl_map_object_from_fd): Pass namespace id to lose.
43449         Added static probe "map_start".
43450         (open_verify): Pass namespace id to lose.
43451         * elf/dl-open.c: Include <stap-probe.h>.
43452         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43453         and "reloc_complete".
43454         * elf/dl-close.c: Include <stap-probe.h>.
43455         (_dl_close_worker): Added static probes "unmap_start" and
43456         "unmap_complete".
43457         * elf/rtld-debugger-interface.txt: New file documenting the above.
43459 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43461         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43462         rather than a string variable.
43463         * sunrpc/rpc_main.c (h_output): Likewise.
43464         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43466 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43468         * inet/check_native.c: New file.
43470 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43472         [BZ #13629]
43473         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43474         if larger part has absolute value 1.0.
43475         * math/s_clog10.c (__clog10): Likewise.
43476         * math/s_clog10f.c (__clog10f): Likewise.
43477         * math/s_clog10l.c (__clog10l): Likewise.
43478         * math/s_clogf.c (__clogf): Likewise.
43479         * math/s_clogl.c (__clogl): Likewise.
43480         * math/libm-test.inc (clog_test): Add more tests.
43481         (clog10_test): Likewise.
43482         * sysdeps/i386/fpu/libm-test-ulps: Update.
43483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43485         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43486         (pltexit): Likewise.
43487         (La_regs): Likewise.
43488         (La_retval): Likewise.
43489         (int_retval): Likewise.
43490         Update #error for removed macros to refer only to definitions in
43491         tst-audit.h.
43492         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43493         macro.
43494         (pltexit): Likewise.
43495         (La_regs): Likewise.
43496         (La_retval): Likewise.
43497         (int_retval): Likewise.
43498         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43499         macro.
43500         (pltexit): Likewise.
43501         (La_regs): Likewise.
43502         (La_retval): Likewise.
43503         (int_retval): Likewise.
43504         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43505         macro.
43506         (pltexit): Likewise.
43507         (La_regs): Likewise.
43508         (La_retval): Likewise.
43509         (int_retval): Likewise.
43510         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43511         macro.
43512         (pltexit): Likewise.
43513         (La_regs): Likewise.
43514         (La_retval): Likewise.
43515         (int_retval): Likewise.
43516         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43517         macro.
43518         (pltexit): Likewise.
43519         (La_regs): Likewise.
43520         (La_retval): Likewise.
43521         (int_retval): Likewise.
43522         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43523         macro.
43524         (pltexit): Likewise.
43525         (La_regs): Likewise.
43526         (La_retval): Likewise.
43527         (int_retval): Likewise.
43528         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43529         macro definitions in tst-audit.h.
43530         * sysdeps/i386/tst-audit.h: New file.
43531         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43532         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43533         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43534         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43535         * sysdeps/sh/tst-audit.h: Likewise.
43536         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43537         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43538         * sysdeps/x86_64/tst-audit.h: Likewise.
43540 2012-07-26  Andreas Jaeger  <aj@suse.de>
43542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43543         ptrace.
43545         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43546         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43547         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43548         PTRACE_O_MASK.
43549         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43550         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43551         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43553         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43554         value.
43556         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43557         _sigsys.
43558         (si_call_addr, si_syscall, si_arch): Define new macro.
43559         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43560         _sigsys.
43561         (si_call_addr, si_syscall, si_arch): Define new marcro.
43562         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43563         _sigsys.
43564         (si_call_addr, si_syscall, si_arch): Define new macro.
43565         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43566         _sigsys.
43567         (si_call_addr, si_syscall, si_arch): Define new macro.
43569 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43571         [BZ #13717]
43572         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43573         Change to 2.4.21 where previously 2.4.1.
43574         * sysdeps/unix/sysv/linux/configure: Regenerated.
43575         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43576         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43577         Linux kernel version.
43578         (__ASSUME_STD_AUXV): Remove.
43579         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43580         kernel version.
43581         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43582         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43583         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43584         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43585         (__ASSUME_NETLINK_SUPPORT): Likewise.
43586         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43587         (__no_netlink_support): Remove conditional definition.
43588         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43589         Remove.
43590         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43591         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43592         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43593         (if_nameindex_ioctl): Remove.
43594         (if_nameindex_netlink): Do not handle __no_netlink_support.
43595         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43596         code.
43597         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43598         Remove conditional code.
43599         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43600         code.
43601         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43602         unconditional.
43603         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43604         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43605         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43606         Remove.
43607         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43608         [!__ASSUME_STD_AUXV]: Remove conditional code.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43610         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43611         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43613         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43614         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43615         code.
43616         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43618         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43619         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43620         conditional code.
43621         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43623         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43624         code.
43625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43626         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43627         conditional code.
43628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43629         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43630         code unconditional.
43631         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43632         conditional code.
43633         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43634         unconditional.
43635         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43636         conditional code.
43637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43638         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43639         unconditional.
43640         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43641         conditional code.
43642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43643         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43644         code unconditional.
43645         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43646         conditional code.
43647         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43648         unconditional.
43649         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43650         conditional code.
43651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43652         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43653         code unconditional.
43654         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43655         conditional code.
43656         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43657         unconditional.
43658         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43659         conditional code.
43661 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43663         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43664         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43665         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43666         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43667         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43668         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43669         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43670         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43671         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43672         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43673         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43674         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43675         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43676         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43677         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43678         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43679         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43680         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43681         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43683         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43684         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43685         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43687 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43689         * Versions.def: Add GLIBC_2.17.
43690         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43691         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43692         Introduce __libc_secure_getenv.
43693         * stdlib/Versions (2.17): Add secure_getenv
43694         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43695         * stdlib/secure-getenv.c: Rename __secure_getenv to
43696         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43697         symbol __secure_getenv for GLIBC_2.0.
43698         * stdlib/tst-secure-getenv.c: New.
43699         * stdlib/Makefile (tests): Add testcase.
43700         * manual/startup.texi (Environment Access): Document
43701         secure_getenv.
43702         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43703         __libc_secure_getenv.
43704         * inet/ruserpass.c (ruserpass): Likewise.
43705         * malloc/mtrace.c (mtrace): Likewise.
43706         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43707         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43708         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43709         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43710         HAVE_SECURE_GETENV.
43711         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43712         __secure_getenv to __libc_secure_getenv.
43713         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43715         Likewise.
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43717         Likewise.
43718         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43720         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43726 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43728         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43729         (struct La_i86_retval): Likewise.
43730         (struct La_x86_64_regs): Likewise.
43731         (struct La_x86_64_retval): Likewise.
43732         (struct La_x32_regs): Likewise.
43733         (struct La_x32_retval): Likewise.
43734         (struct La_ppc32_regs): Likewise.
43735         (struct La_ppc32_retval): Likewise.
43736         (struct La_ppc64_regs): Likewise.
43737         (struct La_ppc64_retval): Likewise.
43738         (struct La_sh_regs): Likewise.
43739         (struct La_sh_retval): Likewise.
43740         (struct La_s390_32_regs): Likewise.
43741         (struct La_s390_32_retval): Likewise.
43742         (struct La_s390_64_regs): Likewise.
43743         (struct La_s390_64_retval): Likewise.
43744         (struct La_sparc32_regs): Likewise.
43745         (struct La_sparc32_retval): Likewise.
43746         (struct La_sparc64_regs): Likewise.
43747         (struct La_sparc64_retval): Likewise.
43748         (struct audit_ifaces): Remove architecture-specific pltenter and
43749         pltexit members.
43750         * sysdeps/i386/ldsodefs.h: New file.
43751         * sysdeps/powerpc/ldsodefs.h: Likewise.
43752         * sysdeps/s390/ldsodefs.h: Likewise.
43753         * sysdeps/sh/ldsodefs.h: Likewise.
43754         * sysdeps/sparc/ldsodefs.h: Likewise.
43755         * sysdeps/x86_64/ldsodefs.h: Likewise.
43757 2012-07-25  Marek Polacek  <polacek@redhat.com>
43759         [BZ #6808]
43760         * math/libm-test.inc (yn_test): Add another test.
43761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43762         to ERANGE when the result is +-Inf.
43763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43764         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43765         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43766         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43768 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43770         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43771         equal to 0.
43772         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43773         clock_t.
43774         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43776 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43778         * configure.in <sysdeps resolving>: Correct printing
43779         Implies_before.
43780         * configure: Regenerate.
43782 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43784         * math/w_ilogb.c: Include <limits.h>.
43785         * math/w_ilogbl.c: Likewise.
43787 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43789         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43790         va_copy.  Document allowing for unavailable va_copy only as
43791         pre-C99 compatibility.
43792         * manual/string.texi (Copying and Concatenation): Use va_copy
43793         instead of __va_copy in concat example.
43795 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43797         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43798         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43799         it if not null.
43801         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43802         with O_NOLINK passed to __file_name_lookup.
43804         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43805         with O_NOLINK passed to __file_name_lookup.
43807         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43808         negative N or less than NGIDS.
43810         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43811         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43812         enough.  Use memcpy instead of strncpy.
43814 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43816         * elf/Makefile (check-data): Remove.
43817         (localplt.data): New vpath directive.
43818         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43819         instead of $(check-data).
43820         * scripts/data/localplt-generic.data: Move to ...
43821         * sysdeps/generic/localplt.data: ... here.
43822         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43823         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43824         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43826         ... here.
43827         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43829         ... here.
43830         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43832         ... here.
43833         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43835         ... here.
43836         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43838         ... here.
43839         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43841         ... here.
43843 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43845         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43846         PPC32 and PPC64 files.
43847         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43848         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43850 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43852         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43853         __makecontext_ret to ...
43854         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43855         ... here and call exit if uc_link is NULL.  New file.
43856         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43857         __makecontext_ret.S.
43858         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43859         __makecontext_ret to ...
43860         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43861         ... here and call exit if uc_link is NULL.  New file.
43862         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43863         __makecontext_ret.S.
43865 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43867         * elf/elf.h (R_390_IRELATIVE): New definition.
43868         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43869         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43870         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43871         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43872         (elf_machine_lazy_rel): Likewise.
43873         * sysdeps/s390/dl-irel.h: New file.
43874         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43875         * sysdeps/s390/s390-64/memset.S: New asm code.
43876         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43877         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43878         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43879         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43880         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43881         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43882         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43883         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43884         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43885         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43886         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43887         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43888         * sysdeps/s390/s390-32/memset.S: New asm code.
43889         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43891 2012-07-17  Marek Polacek  <polacek@redhat.com>
43893         [BZ #14349]
43894         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43895         * sysdeps/s390/s390-64/configure.in: Likewise.
43896         * sysdeps/sparc/configure.in: Likewise.
43897         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43898         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43899         * sysdeps/i386/configure.in: Likewise.
43900         * sysdeps/x86_64/configure.in: Likewise.
43901         * sysdeps/sh/configure.in: Likewise.
43902         * sysdeps/s390/s390-32/configure: Regenerated.
43903         * sysdeps/s390/s390-64/configure: Likewise.
43904         * sysdeps/x86_64/configure: Likewise.
43905         * sysdeps/sh/configure: Likewise.
43906         * sysdeps/powerpc/powerpc64/configure: Likewise.
43907         * sysdeps/powerpc/powerpc32/configure: Likewise.
43908         * sysdeps/sparc/configure: Likwise.
43909         * sysdeps/i386/configure: Likewise.
43911         * elf/dl-open.c: Comment fixes.
43913 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43915         * Makefile [CXX] (check-data): Remove.
43916         [CXX] (c++-types.data): New vpath directive.
43917         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43918         vpath.  Do not allow for C++ type data being missing.
43919         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43920         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43921         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43922         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43923         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43924         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43925         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43927         ... here.
43928         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43930         ... here.
43931         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43933         ... here.
43934         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43936         ... here.
43937         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43939         ... here.
43940         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43942         ... here.
43943         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43945         ... here.
43946         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43949         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43950         definitions to architecture-specific files.
43951         (TLS_IE): Likewise.
43952         (TLS_LD): Likewise.
43953         (TLS_GD): Likewise.
43954         * sysdeps/i386/tls-macros.h: New file.
43955         * sysdeps/powerpc/tls-macros.h: Likewise.
43956         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43957         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43958         * sysdeps/sh/tls-macros.h: Likewise.
43959         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43960         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43961         * sysdeps/x86_64/tls-macros.h: Likewise.
43963 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43965         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43966         zero value for regular exit case.
43968         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43969         (__start_context): Preserve zero value for regular exit case.
43971 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43972             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43974         * manual/setjmp.texi (setcontext): Clarify normal process
43975         termination when uc_link is the null pointer.
43976         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43977         exit call.
43979 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43981         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43982         preprocessor.  Test for each exception mask separately.
43984 2012-07-16  Andreas Jaeger  <aj@suse.de>
43986         * po/ru.po: Update from translation team.
43988 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43990         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43991         equal to 0.
43992         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43993         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43994         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43995         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43996         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43998 2012-07-13  Andreas Jaeger  <aj@suse.de>
44000         * po/fr.po: Update from translation team.
44002 2012-07-12  Marek Polacek  <polacek@redhat.com>
44004         [BZ #14173]
44005         * math/libm-test.inc (yn_test): Add test for BZ #14173.
44006         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
44007         loop condition.
44009 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
44011         [BZ #13717]
44012         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44013         Change to 2.4.1 where previously 2.4.0.
44014         * sysdeps/unix/sysv/linux/configure: Regenerated.
44015         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44016         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44017         version.
44018         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44019         (__ASSUME_AT_CLKTCK): Remove.
44020         (__ASSUME_AT_PAGESIZE): Likewise.
44021         (__ASSUME_AT_XID): Likewise.
44022         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44023         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44024         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44025         unconditionally.
44026         (HAVE_AUX_PAGESIZE): Likewise.
44027         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44028         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44029         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44031 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44033         [BZ #14307]
44034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44035         the temporary buffer used to invoke __gethostbyname2_r,
44036         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44037         host_data / struct gaih_addrtuple.
44038         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44039         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44040         header file nss/nsswitch.h.
44041         * nss/nsswitch.h (global scope): Add definition of implementation
44042         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44043         resolv/nss_dns/dns-host.c).
44045 2012-07-11  Andreas Jaeger  <aj@suse.de>
44047         * po/fr.po: Update from translation team.
44049         * po/sv.po: Update from translation team
44050         * po/fr.po: Another update from translation team.
44052 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44054         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44055         for subnormals or multiply small sinh result by itself.
44056         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44059 2012-07-11  David S. Miller  <davem@davemloft.net>
44061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44063 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44065         [BZ #14347]
44066         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44067         (INTERNAL_MARK): Shift it here.
44069 2012-07-10  Marek Polacek  <polacek@redhat.com>
44071         [BZ #14151]
44072         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44073         libc_cv_asm_global_directive with .globl.
44074         * configure: Regenerated.
44075         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44076         with .globl.
44077         * sysdeps/i386/configure: Regenerated.
44078         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44079         with .globl.
44080         * sysdeps/x86_64/configure: Regenerated.
44081         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44082         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44083         * elf/tst-unique2mod2.c: Likewise.
44084         * elf/tst-unique2mod1.c: Likewise.
44085         * elf/tst-unique1mod2.c: Likewise.
44086         * elf/tst-unique1mod1.c: Likewise.
44087         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44088         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44089         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44090         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44091         * sysdeps/mach/sysdep.h: Likewise.
44092         * sysdeps/i386/sysdep.h: Likewise.
44093         * sysdeps/i386/i386-mcount.S: Likewise.
44094         * sysdeps/x86_64/_mcount.S: Likewise.
44095         * sysdeps/x86_64/sysdep.h: Likewise.
44096         * sysdeps/sh/_mcount.S: Likewise.
44097         * sysdeps/sh/sysdep.h: Likewise.
44098         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44099         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44100         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44101         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44102         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44103         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44104         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44105         * locale/localeinfo.h: Likewise.
44106         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44107         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44109 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44111         [BZ #14336]
44112         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44113         system".
44114         * manual/message.texi (The Uniforum approach): Likewise.
44115         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44116         (glibc iconv Implementation): Likewise.
44118 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44120         [BZ #14337]
44121         * math/s_clog.c (__clog): Avoid scaling a value down where that
44122         could result in underflow.
44123         * math/s_clog10.c (__clog10): Likewise.
44124         * math/s_clog10f.c (__clog10f): Likewise.
44125         * math/s_clog10l.c (__clog10l): Likewise.
44126         * math/s_clogf.c (__clogf): Likewise.
44127         * math/s_clogl.c (__clogl): Likewise.
44128         * math/libm-test.inc (clog_test): Add more tests.
44129         (clog10_test): Likewise.
44130         * sysdeps/i386/fpu/libm-test-ulps: Update.
44131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44133 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44135         [BZ #14283]
44136         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44137         by 7 not 8 to examine high bit of fractional part.
44139         [BZ #14042]
44140         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44141         for call to __mcount_internal.
44142         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44143         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44144         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44146 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44148         [BZ #14154]
44149         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44150         approximation for values within 0x1p-13f of an odd multiple of
44151         pi/4.
44152         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44153         exception.  Add more tests.
44154         * sysdeps/i386/fpu/libm-test-ulps: Update.
44156         [BZ #6778]
44157         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44158         inputs and return -1 for them.  Do not check for +Inf in case not
44159         reachable for +Inf.
44160         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44161         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44162         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44163         and return -1 for them.  Do not check for +Inf in case not
44164         reachable for +Inf.
44165         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44166         define.
44167         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44168         and return -1 for them.  Do not check for +Inf in case not
44169         reachable for +Inf.
44170         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44171         spurious underflow.
44172         * sysdeps/i386/fpu/libm-test-ulps: Update.
44173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44175 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44177         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44179 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44181         [BZ #14157]
44182         [BZ #14331]
44183         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44184         could result in spurious underflow.  Scale down values above
44185         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44186         * math/s_csqrtf.c (__csqrtf): Likewise.
44187         * math/s_csqrtl.c (__csqrtl): Likewise.
44188         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44189         spurious underflow.
44190         * sysdeps/i386/fpu/libm-test-ulps: Update.
44191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44193 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44195         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44196         xopen-msg.sed.
44197         * catgets/xopen-msg.awk: New file.
44198         * catgets/xopen-msg.sed: Removed.
44200         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44201         po2text.sed.
44202         * intl/po2test.awk: New file.
44203         * intl/po2test.sed: Removed.
44205 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44207         [BZ #14328]
44208         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44209         or multiply small sinh result by itself.
44210         * math/s_ctanf.c (__ctanf): Likewise.
44211         * math/s_ctanh.c (__ctanh): Likewise.
44212         * math/s_ctanhf.c (__ctanhf): Likewise.
44213         * math/s_ctanhl.c (__ctanhl): Likewise.
44214         * math/s_ctanl.c (__ctanl): Likewise.
44215         * math/libm-test.inc (ctan_test_tonearest): New function.
44216         (ctan_test_towardzero): Likewise.
44217         (ctan_test_downward): Likewise.
44218         (ctan_test_upward): Likewise.
44219         (ctanh_test_tonearest): Likewise.
44220         (ctanh_test_towardzero): Likewise.
44221         (ctanh_test_downward): Likewise.
44222         (ctanh_test_upward): Likewise.
44223         (main): Call these new functions.
44224         * sysdeps/i386/fpu/libm-test-ulps: Update.
44225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44227 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44229         * .gitignore: Delete /ports entry.
44231 2012-07-03  Andreas Jaeger  <aj@suse.de>
44233         * po/bg.po: Update from translation team.
44234         * po/cs.po: Likewise.
44235         * po/de.po: Likewise.
44236         * po/hr.po: Likewise.
44237         * po/nl.pl: Likewise.
44238         * po/pl.po: Likewise.
44239         * po/vi.po: Likewise.
44241 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44243         * Makeconfig [!+link] (+link-before-libc): New variable.
44244         [!+link] (+link-after-libc): Likewise.
44245         [!+link] (+link-tests): Likewise.
44246         [!+link] (+link): Define in terms of $(+link-before-libc) and
44247         $(+link-after-libc).
44248         [!+link-static] (+link-static-before-libc): New variable.
44249         [!+link-static] (+link-static-after-libc): Likewise.
44250         [!+link-static] (+link-static-tests): Likewise.
44251         [!+link-static] (+link-static): Define in terms of
44252         $(+link-static-before-libc) and $(+link-static-after-libc).
44253         [build-shared] (link-libc-before-gnulib): New variable.
44254         [build-shared] (link-libc-tests): Likewise.
44255         [build-shared] (link-libc): Define in terms of
44256         $(link-libc-before-gnulib).
44257         [!build-shared] (link-libc-tests): New variable.
44258         (link-libc-static-tests): New variable.
44259         [!gnulib] (gnulib-arch): New variable.
44260         [!gnulib] (gnulib-tests): Likewise.
44261         [!gnulib] (static-gnulib-arch): Likewise.
44262         [!gnulib] (static-gnulib-tests): Likewise.
44263         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44264         Define with "=" instead of ":=".
44265         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44266         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44267         * Rules (binaries-all-notests): New variable.
44268         (binaries-all-tests): Likewise.
44269         (binaries-static-notests): Likewise.
44270         (binaries-static-tests): Likewise.
44271         (binaries-all): Define using $(binaries-all-notests) and
44272         $(binaries-all-tests).
44273         (binaries-static): Define using $(binaries-static-notests) and
44274         $(binaries-static-tests).
44275         (binaries-shared-tests): New variable.
44276         (binaries-shared-notests): Likewise.
44277         (binaries-shared): Remove variable.
44278         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44279         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44280         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44281         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44282         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44283         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44284         * elf/Makefile (sln-modules): New variable.
44285         (extra-objs): Add $(sln-modules:=.o).
44286         (ldconfig-modules): Add static-stubs.
44287         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44288         * elf/static-stubs.c: New file.
44290         [BZ #14283]
44291         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44292         by 7 not 8 to examine high bit of fractional part.  Use volatile
44293         variables when splitting into final array of floats if
44294         __FLT_EVAL_METHOD__ != 0.
44295         * math/libm-test.inc (cos_test): Add another test.
44296         (sin_test): Likewise.
44297         * sysdeps/i386/fpu/libm-test-ulps: Update.
44299         [BZ #14273]
44300         * math/libm-test.inc (cosh_test): Add more tests.
44302         * version.h (RELEASE): Set to "development".
44303         (VERSION): Set to "2.16.90".
44305 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44307         * NEWS: Update copyright. Remove last-updated date.
44308         Mention math library bug fixes and timezone data changes.
44309         * README: Mention GNU/Hurd, x32, and HPPA support status.
44311 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44313         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44315 2012-06-27  Andreas Jaeger  <aj@suse.de>
44317         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44319 2012-06-25  Andreas Jaeger  <aj@suse.de>
44321         * sysdeps/s390/fpu/libm-test-ulps: Update.
44323 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44324             Thomas Schwinge  <thomas@codesourcery.com>
44326         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44327         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44328         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44329         fanotify_mark.
44331 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44333         * sysdeps/mach/start.c: Remove file.
44334         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44335         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44336         * sysdeps/sh/init-first.c: Likewise.
44338         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44339         registers for frame unwinding purposes, add CFI directives.
44340         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44341         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44342         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44343         Likewise.
44345         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44346         __fortify_fail returning.
44347         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44349         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44350         sysdeps/sh/____longjmp_chk.S.
44351         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44352         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44353         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44354         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44356         * sysdeps/sh/abort-instr.h: New file.
44357         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44358         process in case exit returns.
44360         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44361         initialize the GOT register before use.
44363         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44364         calculation of ARGC > 4.
44366         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44367         meaningful names to some local labels.
44369 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44370             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44372         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44373         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44374         (__arch_compare_and_exchange_val_16_acq): Likewise.
44375         (__arch_compare_and_exchange_val_32_acq): Likewise.
44376         (atomic_exchange_and_add): Fix gUSA sequence.
44377         (atomic_add): Likewise.
44378         (atomic_add_negative): Likewise.
44379         (atomic_add_zero): Likewise.
44380         (atomic_bit_test_set): Likewise.
44382 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44384         [BZ #13579]
44385         * include/link.h (struct link_map): Add l_free_initfini.
44386         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44387         l_initfini.
44388         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44389         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44390         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44391         set.
44393 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44395         * configure.in: Use AC_LANG_SOURCE.
44396         * configure: Regenerate.
44398 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44400         * configure.in (libc_cv_localstatedir): New substituted variable.
44401         * configure: Regenerated.
44402         * config.make.in (localstatedir): New variable, substituted from
44403         libc_cv_localstatedir.
44404         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44405         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44406         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44407         * sysdeps/gnu/configure: Regenerated.
44409 2012-06-21  Jeff Law  <law@redhat.com>
44411         [BZ #14277]
44412         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44413         free.  Simplify list management for _LIBC case.
44415 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44417         [BZ #14273]
44418         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44419         Clear sign bit of 64-bit integer value before comparing against
44420         overflow value.
44422         * sysdeps/mach/configure: Regenerated.
44424 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44426         [BZ #14278]
44427         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44429 2012-06-21  Jeff Law  <law@redhat.com>
44431         [BZ #13882]
44432         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44433         uint16_t for elements in the "seen" array to avoid char overflows.
44434         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44435         * elf/dl-open.c (dl_open_worker): Likewise.
44437 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44439         * scripts/list-sources.sh: Scan PORTS for translations.
44440         * po/libc.pot: Regenerated.
44442 2012-06-21  Andreas Jaeger  <aj@suse.de>
44444         [BZ #12194]
44445         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44446         warning.
44447         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44448         * bits/byteswap-16.h (__bswap_16): Likewise.
44449         * bits/byteswap.h (__bswap_constant_16): Likewise.
44451 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44453         [BZ #14117]
44454         * sysdeps/i386/fpu_control.h: Removed.
44455         * sysdeps/x86_64/fpu_control.h: Moved to ...
44456         * sysdeps/x86/fpu_control.h: Here.
44458         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44459         (_FPU_SETCW): Likewise.
44461 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44463         [BZ #14117]
44464         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44465         * sysdeps/x86/fpu/bits/mathinline.h: This.
44466         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44468         [BZ #14050]
44469         [BZ #14117]
44470         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44471         functions if __x86_64__ is defined.
44473 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44475         * string/endian.h: Add !__ASSEMBLER__ condition for including
44476         conversion interfaces.
44478 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44480         [BZ #14241]
44481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44482         of ABS(x) in calculating zero to negative powers other than odd
44483         integers.
44484         * math/libm-test.inc (pow_test): Add more tests.
44486 2012-06-15  Andreas Jaeger  <aj@suse.de>
44488         * manual/contrib.texi (Contributors): Update entry of Liubov
44489         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44490         Machado Filho.
44492 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44494         * string/string.h: Add __wur to GNU version of strerror_r.
44496 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44498         [BZ #14229]
44499         * string/Makefile (tests): Add tst-strtok_r.
44500         * string/tst-strtok_r.c: New file.
44501         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44502         RAX_LP/RDX_LP on SAVE_PTR.
44504 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44506         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44508 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44510         * libm_test.inc (csqrt_test): Allow more spurious underflow
44511         exceptions.
44512         (j0_test): Likewise.
44513         (j1_test): Likewise.
44514         (y0_test): Likewise.
44515         (y1_test): Likewise.
44517 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44519         * po/Makefile (libc.pot): Use UTF-8 charset.
44521 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44523         [BZ #14210]
44524         Suppress sign-conversion warning from FD_SET.
44525         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44526         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44527         not unsigned long int.
44528         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44530 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44532         [BZ #14050]
44533         [BZ #14117]
44534         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44535         __extern_always_inline instead of __extern_inline.
44536         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44537         (__signbit): Likewise.
44538         (__signbitl): Support C++ namespace.
44539         (lrintf): New inline function.
44540         (lrint): Likewise.
44541         (llrintf): Likewise.
44542         (llrint): Likewise.
44543         (fmaxf): Likewise.
44544         (fmax): Likewise.
44545         (fminf): Likewise.
44546         (fmin): Likewise.
44547         (rint): Likewise.
44548         (rintf): Likewise.
44549         (ceil): Likewise.
44550         (ceilf): Likewise.
44551         (floor): Likewise.
44552         (floorf): Likewise.
44553         (nearbyint): Likewise.
44554         (nearbyintf): Likewise.
44556 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44558         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44559         non-default versions.
44561 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44563         [BZ #14218]
44564         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44566 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44568         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44569         (FE_UPWARD, FE_DOWNWARD): Don't define.
44570         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44571         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44573         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44574         reading it.
44575         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44576         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44578 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44580         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44581         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44582         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44583         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44585 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44587         [BZ #14117]
44588         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44589         * sysdeps/i386/fpu/Implies: New file.
44590         * sysdeps/x86_64/fpu/Implies: Likewise.
44591         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44592         * sysdeps/x86/fpu/bits/fenv.h: This.
44594         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44595         __SSE_MATH__.
44597 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44599         [BZ #14134]
44600         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44601         character 0xffff that matches the last element of the
44602         conversion table.
44604 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44607         fmodl commit.
44609 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44611         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44612         values higher than 25.6283.
44614 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44616         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44617         subnormal exponent extraction and add some __builtin_expect.
44618         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44619         Fix for subnormal mantissa calculation.
44621 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44623         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44624         cpu2 is -1 and errno is not ENOSYS.
44626 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44628         [BZ #14117]
44629         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44630         * sysdeps/x86/bits/string.h: This.
44631         * sysdeps/x86_64/bits/string.h: Removed.
44633         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44634         if not compiling for x86-64, but compiling for >= i486.
44636         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44637         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44639         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44640         New macro from Linux kernel 3.4.0.
44641         (FP_XSTATE_MAGIC2): Likewise.
44642         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44643         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44644         (struct _fpx_sw_bytes): New struct.
44645         (struct _xsave_hdr): Likewise.
44646         (struct _ymmh_state): Likewise.
44647         (struct _xstate): Likewise.
44649         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44650         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44651         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44652         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44653         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44654         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44656         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44657         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44658         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44659         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44660         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44661         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44663 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44665         [BZ #13743]
44666         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44667         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44668         (sysdep_headers): Include sys/platform/ppc.h.
44669         * sysdeps/powerpc/test-gettimebase.c: Test for
44670         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44671         * manual/Makefile (appendices): Include platform.texi.
44672         * manual/contrib.texi (Contributors): Update @node pointers.
44673         * manual/maint.texi (Maintenance): Likewise.
44674         (Platform): New node.
44675         * manual/platform.texi: New file.  Document the new features.
44677 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44678             Jakub Jelinek  <jakub@redhat.com>
44680         [BZ #14188]
44681         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44682         where __builtin_expect is unavailable.
44684 2012-06-03  David S. Miller  <davem@davemloft.net>
44686         * stdlib/longlong.h: Updated from GCC.
44688 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44690         [BZ #14042]
44691         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44692         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44693         __mcount_internal.
44694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44695         (GLIBC_2.16): Likewise.
44697 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44699         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44701 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44704         (default-abi): New variable.
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44706         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44707         variable.
44708         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44709         Likewise.
44710         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44711         Likewise.
44712         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44713         Likewise.
44715         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44716         definition.  Document in comment.
44718 2012-06-01  David S. Miller  <davem@davemloft.net>
44720         * stdlib/longlong.h: Updated from GCC.
44722 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44724         [BZ #14117]
44725         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44726         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44727         sys/debugreg.h sys/io.h here.
44728         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44729         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44730         sys/io.h.
44731         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44732         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44733         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44734         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44735         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44736         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44739         Define only if __x86_64__ is defined.
44741 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44743         [BZ #14048]
44744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44745         Use int64_t for variable i.
44746         * math/libm-test.inc (fmod_test): Add more tests.
44748         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44749         z computation is not scheduled after fetestexcept.
44750         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44751         Use math_force_eval instead of asm to ensure calculation scheduled
44752         before exception test.
44753         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44754         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44756 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44758         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44759         computation is not scheduled after fetestexcept.
44761 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44763         [BZ #14117]
44764         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44765         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44767 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44769         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44770         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44772 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44774         [BZ #14117]
44775         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44776         <bits/wordsize.h>.
44777         (__WCHAR_MIN): Support __WORDSIZE == 64.
44778         (__WCHAR_MAX): Likewise.
44780         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44781         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44783         [BZ #14183]
44784         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44785         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44787         [BZ #14117]
44788         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44789         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44791         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44792         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44794         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44795         Defined to 1 if __x86_64__ isn't defined.
44796         (_STAT_VER_LINUX_OLD): New.
44797         (st_atime): Remove duplicate.
44798         (st_mtime): Likewise.
44799         (st_ctime): Likewise.
44801 2012-05-31  David S. Miller  <davem@davemloft.net>
44803         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44804         entries.
44806 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44808         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44809         gen-libm-test.pl.
44811         [BZ #14132]
44812         * elf/dl-reloc.c: Include <_itoa.h>.
44813         (_dl_reloc_bad_type): Remove use of INTUSE.
44814         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44815         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44816         * stdio-common/psiginfo.c (psiginfo): Likewise.
44817         * stdio-common/psignal.c (psignal): Likewise.
44818         * string/strsignal.c (strsignal): Likewise.
44819         * include/signal.h (_sys_siglist): Declare hidden proto.
44820         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44821         INTVARDEF with libc_hidden_data_def.
44822         * stdio-common/itoa-udigits.c: Likewise.
44823         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44824         (_itoa_lower_digits_internal): Remove declaration.
44825         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44826         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44827         (_sys_sigabbrev_internal): Remove aliases.
44828         (_sys_siglist): Define hidden alias.
44830 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44832         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44833         bits/sysctl.h.
44835 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44837         [BZ #14117]
44838         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44839         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44841         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44842         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44843         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44844         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44845         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44846         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44848         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44849         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44850         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44852         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44853         with __addr.
44854         (insw): Likewise.
44855         (insl): Likewise.
44856         (outsb): Likewise.
44857         (outsw): Likewise.
44858         (outsl): Likewise.
44860         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44861         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44862         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44864         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44865         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44866         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44867         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44868         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44869         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44871         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44872         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44874         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44875         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44877         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44878         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44879         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44881         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44882         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44883         to ...
44884         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44886         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44887         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44888         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44890         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44891         for x86-64.
44892         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44894 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44896         * math/math.h (M_El): Use two more decimal places.
44897         (M_LOG2El): Likewise.
44898         (M_LOG10El): Likewise.
44899         (M_LN2l): Likewise.
44900         (M_LN10l): Likewise.
44901         (M_PIl): Likewise.
44902         (M_PI_2l): Likewise.
44903         (M_PI_4l): Likewise.
44904         (M_1_PIl): Likewise.
44905         (M_2_PIl): Likewise.
44906         (M_2_SQRTPIl): Likewise.
44907         (M_SQRT2l): Likewise.
44908         (M_SQRT1_2l): Likewise.
44910 2012-05-31  David S. Miller  <davem@davemloft.net>
44912         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44913         values between float registers.
44914         * sysdeps/sparc/sparc64/memset.S: Likewise.
44915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44917 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44919         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44920         -D_FORTIFY_SOURCE=1.
44921         (CPPFLAGS-tst-longjmp_chk.c): Define.
44922         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44923         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44924         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44925         CFLAGS-tst-wchar-h.c.
44927 2012-05-31  Marek Polacek  <polacek@redhat.com>
44929         [BZ #14132]
44930         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44931         __endmntent_internal): Remove declaration.
44932         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44933         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44934         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44936 2012-05-30  David S. Miller  <davem@davemloft.net>
44938         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44939         (___Q_simulate_exceptions): Use real FP ops rather than writing
44940         into the %fsr.
44941         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44942         Likewise.
44944 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44946         [BZ #14117]
44947         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44948         * sysdeps/x86/bits/xtitypes.h: This.
44950         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44951         * sysdeps/x86/bits/wordsize.h: This.
44953         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44954         * sysdeps/x86/bits/huge_vall.h: This.
44956         * sysdeps/i386/bits/select.h: Removed.
44957         * sysdeps/x86_64/bits/select.h: Renamed to ...
44958         * sysdeps/x86/bits/select.h: This.
44960         * sysdeps/i386/bits/setjmp.h: Removed.
44961         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44962         * sysdeps/x86/bits/setjmp.h: This.
44964         * sysdeps/i386/bits/mathdef.h: Removed.
44965         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44966         * sysdeps/x86/bits/mathdef.h: This.
44968 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44970         [BZ #14132]
44971         * include/sys/socket.h (__connect_internal)
44972         (__libc_sa_len_internal): Remove declaration.
44973         (__connect, __libc_sa_len): Declare hidden_proto.
44974         (SA_LEN): Remove use of INTUSE.
44975         * socket/connect.c: Add libc_hidden_def.
44976         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44977         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44978         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44979         alias.
44980         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44981         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44982         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44983         of adding _internal alias.
44985 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44987         [BZ #14117]
44988         * sysdeps/i386/bits/link.h: Removed.
44989         * sysdeps/i386/bits/linkmap.h: Likewise.
44990         * sysdeps/x86_64/bits/link.h: Renamed to ...
44991         * sysdeps/x86/bits/link.h: This.
44992         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44993         * sysdeps/x86/bits/linkmap.h: This.
44995         * sysdeps/i386/bits/endian.h: Removed.
44996         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44997         * sysdeps/x86/bits/endian.h: This.
44999         * sysdeps/i386/bits/byteswap.h: Removed.
45000         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45001         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
45002         * sysdeps/x86/bits/byteswap.h: This.
45003         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
45004         * sysdeps/x86/bits/byteswap-16.h: This.
45005         * sysdeps/i386/Implies: Add x86.
45006         * sysdeps/x86_64/Implies: Likewise.
45008 2012-05-30  David S. Miller  <davem@davemloft.net>
45010         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
45011         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
45012         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45013         (FP_TRAPPING_EXCEPTIONS): Define.
45014         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45015         (FP_TRAPPING_EXCEPTIONS): Define.
45016         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45017         subnormals only when inexact has been signalled or underflow
45018         exceptions are enabled.
45019         (_FP_PACK_CANONICAL): Likewise.
45021 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45023         [BZ #14183]
45024         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45025         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45027 2012-05-30  Richard Henderson  <rth@twiddle.net>
45029         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45030         with #ifndef NOT_IN_libc.
45032         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45033         marked to avoid plt entry.
45035 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45037         [BZ #14112]
45038         * Makeconfig (default-abi): New macro.
45039         (abi-includes): Likewise.
45040         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45041         $(abi-$(default-abi)-lib-soname) for soname if defined.
45042         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45043         abi-variants.
45044         * Makefile (installed-stubs): Likewise.
45045         * include/stubs-biarch.h: Removed.
45046         * scripts/lib-names.awk: Only handle one library at a time.
45047         * scripts/soversions.awk: Remove WORDSIZE support.
45048         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45049         entries.
45050         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45051         Removed.
45052         (syscall-list-default-condition): Likewise.
45053         (syscall-list-default-condition): Likewise.
45054         (syscall-list-includes): Likewise.
45055         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45056         syscall-list-* with abi-*.  Handle undefined abi-variants.
45057         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45058         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45059         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45060         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45061         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45062         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45063         Removed.
45064         (syscall-list-32-options): Likewise.
45065         (syscall-list-32-condition): Likewise.
45066         (syscall-list-64-options): Likewise.
45067         (syscall-list-64-condition): Likewise.
45068         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45069         macro.
45070         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45071         Renamed to ...
45072         (abi-*): This.
45073         (abi-64-ld-soname): New macro.
45074         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45075         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45076         Renamed to ...
45077         (abi-*): This.
45078         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45079         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45081 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45083         * sysdeps/unix/sysv/linux/kernel-features.h
45084         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45085         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45086         include <kernel-features.h>.
45087         [!__NR_ftruncate64]: Remove conditional code.
45088         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45089         [__NR_ftruncate64]: Make code unconditional.
45090         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45091         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45092         include <kernel-features.h>.
45093         [!__NR_ftruncate64]: Remove conditional code.
45094         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45095         [__NR_ftruncate64]: Make code unconditional.
45096         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45098         include <kernel-features.h>.
45099         [!__NR_ftruncate64]: Remove conditional code.
45100         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45101         [__NR_ftruncate64]: Make code unconditional.
45102         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45104         include <kernel-features.h>.
45105         [!__NR_ftruncate64]: Remove conditional code.
45106         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45107         [__NR_ftruncate64]: Make code unconditional.
45108         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45110         * configure.in (libc_cv_fpie): Weaken to a compile test using
45111         LIBC_TRY_CC_OPTION.
45112         * configure: Regenerated.
45114 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45120         Refreshed.
45121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45127         Refreshed.
45129 2012-05-27  David S. Miller  <davem@davemloft.net>
45131         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45132         (___Q_zero): New.
45133         (__Q_simulate_exceptions): Return void.  Change to simulate
45134         exceptions by writing into the %fsr.
45135         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45136         (__Qp_handle_exceptions): Likewise.
45137         (numbers): Delete.
45138         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45139         __Qp_handle_exceptions.
45140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45141         __Qp_handle_exceptions.
45142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45143         as unused and give dummy FP_RND_NEAREST initializer.
45144         (FP_INHIBIT_RESULTS): Define.
45145         (___Q_simulate_exceptions): Update declaration.
45146         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45147         formatting.
45148         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45149         as unused and give dummy FP_RND_NEAREST initializer.
45150         (__Qp_handle_exceptions): Update declaration.
45151         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45152         formatting.
45154 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45156         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45157         the temporary FPU control word.
45158         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45159         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45160         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45161         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45162         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45163         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45164         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45165         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45166         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45167         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45168         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45170 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45172         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45173         fields.
45175 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45177         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45178         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45179         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45180         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45181         Likewise.
45182         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45183         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45184         Likewise.
45186 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45188         * po/h.po: Update from translation team.
45190 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45192         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45194         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45195         handling of denormals.
45196         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45197         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45198         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45199         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45203         Likewise.
45205 2012-05-26  Marek Polacek  <polacek@redhat.com>
45207         [BZ #14152]
45208         * math/libm-test.inc (fma_test): Don't always expect underflow
45209         exception.
45211 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45213         [BZ #12416]
45214         * elf/tst-execstack.c: Include stackinfo.h.
45215         (do_test): Adjust test case to ensure that pthread_getattr_np
45216         behaviour remains the same after marking stack executable.
45218 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45220         * sysdeps/unix/sysv/linux/kernel-features.h
45221         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45222         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45223         kernel-features.h.
45224         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45225         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45226         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45227         kernel-features.h.
45228         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45229         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45231 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45233         * configure.in: Define the default includes to being none.
45234         * configure: Regenerated.
45236 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45238         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45239         * sysdeps/x86_64/setjmp.S: Likewise.
45240         * sysdeps/i386/bsd-setjmp.S: Likewise.
45241         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45242         * sysdeps/i386/setjmp.S: Likewise.
45243         * sysdeps/i386/__longjmp.S: Likewise.
45244         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45245         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45247         * include/stap-probe.h: New file.
45248         * configure.in: Handle --enable-systemtap.
45249         * configure: Regenerated.
45250         * config.h.in (USE_STAP_PROBE): New #undef.
45251         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45252         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45253         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45255 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45257         [BZ #13717]
45258         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45259         to 2.4.0 where earlier.
45260         * sysdeps/unix/sysv/linux/configure: Regenerated.
45261         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45262         <kernel-features.h>.
45263         [__ASSUME_32BITUIDS]: Make code unconditional.
45264         [!__ASSUME_32BITUIDS]: Remove conditional code.
45265         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45266         <kernel-features.h>.
45267         [__ASSUME_32BITUIDS]: Make code unconditional.
45268         [!__ASSUME_32BITUIDS]: Remove conditional code.
45269         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45270         [__ASSUME_32BITUIDS]: Make code unconditional.
45271         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45272         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45273         <kernel-features.h>.
45274         [__ASSUME_32BITUIDS]: Make code unconditional.
45275         [!__ASSUME_32BITUIDS]: Remove conditional code.
45276         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45277         <kernel-features.h>.
45278         [__ASSUME_32BITUIDS]: Make code unconditional.
45279         [!__ASSUME_32BITUIDS]: Remove conditional code.
45280         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45281         <kernel-features.h>.
45282         [__ASSUME_32BITUIDS]: Make code unconditional.
45283         [!__ASSUME_32BITUIDS]: Remove conditional code.
45284         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45285         <kernel-features.h>.
45286         [__ASSUME_32BITUIDS]: Make code unconditional.
45287         [!__ASSUME_32BITUIDS]: Remove conditional code.
45288         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45289         <kernel-features.h>.
45290         [__ASSUME_32BITUIDS]: Make code unconditional.
45291         [!__ASSUME_32BITUIDS]: Remove conditional code.
45292         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45293         <kernel-features.h>.
45294         [__ASSUME_32BITUIDS]: Make code unconditional.
45295         [!__ASSUME_32BITUIDS]: Remove conditional code.
45296         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45297         <kernel-features.h>.
45298         [__ASSUME_32BITUIDS]: Make code unconditional.
45299         [!__ASSUME_32BITUIDS]: Remove conditional code.
45300         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45301         <kernel-features.h>.
45302         [__ASSUME_32BITUIDS]: Make code unconditional.
45303         [!__ASSUME_32BITUIDS]: Remove conditional code.
45304         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45305         <kernel-features.h>.
45306         [__ASSUME_32BITUIDS]: Make code unconditional.
45307         [!__ASSUME_32BITUIDS]: Remove conditional code.
45308         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45309         <kernel-features.h>.
45310         [__ASSUME_32BITUIDS]: Make code unconditional.
45311         [!__ASSUME_32BITUIDS]: Remove conditional code.
45312         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45313         <kernel-features.h>.
45314         [__NR_setresgid] (__setresgid): Do not declare.
45315         [__ASSUME_32BITUIDS]: Make code unconditional.
45316         [!__ASSUME_32BITUIDS]: Remove conditional code.
45317         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45318         <kernel-features.h>.
45319         [__NR_setresuid] (__setresuid): Do not declare.
45320         [__ASSUME_32BITUIDS]: Make code unconditional.
45321         [!__ASSUME_32BITUIDS]: Remove conditional code.
45322         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45323         <kernel-features.h>.
45324         [__ASSUME_32BITUIDS]: Make code unconditional.
45325         [!__ASSUME_32BITUIDS]: Remove conditional code.
45326         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45327         <kernel-features.h>.
45328         [__ASSUME_32BITUIDS]: Make code unconditional.
45329         [!__ASSUME_32BITUIDS]: Remove conditional code.
45330         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45331         <kernel-features.h>.
45332         [__ASSUME_32BITUIDS]: Make code unconditional.
45333         [!__ASSUME_32BITUIDS]: Remove conditional code.
45334         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45335         <kernel-features.h>.
45336         [__ASSUME_32BITUIDS]: Make code unconditional.
45337         [!__ASSUME_32BITUIDS]: Remove conditional code.
45338         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45339         <kernel-features.h>.
45340         [__ASSUME_32BITUIDS]: Make code unconditional.
45341         [!__ASSUME_32BITUIDS]: Remove conditional code.
45342         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45343         <kernel-features.h>.
45344         [__ASSUME_32BITUIDS]: Make code unconditional.
45345         [!__ASSUME_32BITUIDS]: Remove conditional code.
45346         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45347         <kernel-features.h>.
45348         [__ASSUME_32BITUIDS]: Make code unconditional.
45349         [!__ASSUME_32BITUIDS]: Remove conditional code.
45350         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45351         <kernel-features.h>.
45352         [__ASSUME_32BITUIDS]: Make code unconditional.
45353         [!__ASSUME_32BITUIDS]: Remove conditional code.
45354         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45355         <kernel-features.h>.
45356         [__ASSUME_32BITUIDS]: Make code unconditional.
45357         [!__ASSUME_32BITUIDS]: Remove conditional code.
45358         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45359         <kernel-features.h>.
45360         [__ASSUME_32BITUIDS]: Make code unconditional.
45361         [!__ASSUME_32BITUIDS]: Remove conditional code.
45362         * sysdeps/unix/sysv/linux/kernel-features.h
45363         (__ASSUME_SETRESUID_SYSCALL): Remove.
45364         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45365         (__ASSUME_32BITUIDS): Likewise.
45366         (__ASSUME_LDT_WORKS): Likewise.
45367         (__ASSUME_O_DIRECTORY): Likewise.
45368         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45369         architecture but not kernel version.
45370         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45371         (__ASSUME_MMAP2_SYSCALL): Likewise.
45372         (__ASSUME_STAT64_SYSCALL): Likewise.
45373         (__ASSUME_IPC64): Likewise.
45374         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45375         <kernel-features.h>.
45376         [__ASSUME_32BITUIDS]: Make code unconditional.
45377         [!__ASSUME_32BITUIDS]: Remove conditional code.
45378         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45379         <kernel-features.h>.
45380         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45381         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45382         132096]: Remove conditional code.
45383         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45384         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45385         <kernel-features.h>.
45386         [__ASSUME_32BITUIDS]: Make code unconditional.
45387         [!__ASSUME_32BITUIDS]: Remove conditional code.
45388         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45389         <kernel-features.h>.
45390         [__ASSUME_32BITUIDS]: Make code unconditional.
45391         [!__ASSUME_32BITUIDS]: Remove conditional code.
45392         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45393         <kernel-features.h>.
45394         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45395         unconditional.
45396         (__setresgid): Do not declare.
45397         [__ASSUME_32BITUIDS]: Make code unconditional.
45398         [!__ASSUME_32BITUIDS]: Remove conditional code.
45399         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45400         <kernel-features.h>.
45401         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45402         unconditional.
45403         (__setresuid): Do not declare.
45404         [__ASSUME_32BITUIDS]: Make code unconditional.
45405         [!__ASSUME_32BITUIDS]: Remove conditional code.
45406         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45407         <kernel-features.h>.
45408         [__ASSUME_32BITUIDS]: Make code unconditional.
45409         [!__ASSUME_32BITUIDS]: Remove conditional code.
45410         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45411         <kernel-features.h>.
45412         [__ASSUME_32BITUIDS]: Make code unconditional.
45413         [!__ASSUME_32BITUIDS]: Remove conditional code.
45415 2012-05-25  Richard Henderson  <rth@twiddle.net>
45417         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45418         dl_hwcap to ifunc resolver.
45419         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45420         elf_ifunc_invoke.
45421         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45422         dl_hwcap to ifunc resolver.
45423         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45425 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45427         [BZ #14153]
45428         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45429         for |x| <= 2**-26, not 2**-57.
45430         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45431         exception.
45433 2012-05-24  Jeff Law  <law@redhat.com>
45435         * stdio-common/Makefile (tests): Add bug25.
45436         * stdio-common/bug25.c: New test.
45438 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45440         [BZ #13576]
45441         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45442         multiple of MALLOC_ALIGNMENT in size.
45443         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45445 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45447         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45448         Require >= 256.
45449         (FILENAME_MAX): Use macro-int-constant.
45450         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45451         (_IOFBF): Use macro-int-constant.
45452         (_IOLBF): Likewise.
45453         (_IONBF): Likewise.
45454         (SEEK_CUR): Likewise.
45455         (SEEK_END): Likewise.
45456         (SEEK_SET): Likewise.
45457         (TMP_MAX): Likewise.
45458         (EOF): Use macro-int-constant.  Require < 0.
45459         (NULL): Use macro-constant.  Require == 0.
45460         (stdin): Require type to be FILE *.
45461         (stdout): Likewise.
45462         (stderr): Likewise.
45463         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45464         macro-int-constant.
45465         (EXIT_SUCCESS): Likewise.
45466         (NULL): Use macro-constant.  Require == 0.
45467         (RAND_MAX): Use macro-int-constant.
45468         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45469         [C99-based standards] (strtof): Require function.
45470         [C99-based standards] (strtold): Likewise.
45471         [C99-based standards] (strtoll): Likewise.
45472         [C99-based standards] (strtoull): Likewise.
45473         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45474         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45475         [ISO || ISO99 || ISO11] (math.h): Likewise.
45476         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45477         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45478         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45480 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45482         [BZ #14132]
45483         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45484         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45485         * intl/dgettext.c (DCGETTEXT): Likewise.
45486         * intl/gettext.c (DCGETTEXT): Likewise.
45487         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45488         * posix/regex_internal.h (gettext): Likewise.
45489         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45490         Remove declaration.
45491         * include/argz.h (__argz_count_internal)
45492         (__argz_stringify_internal): Remove declaration.
45493         (__argz_count, __argz_stringify): Declare hidden proto.
45494         * intl/dcgettext.c: Remove use of INTDEF.
45495         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45496         * string/argz-stringify.c: Likewise.
45497         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45498         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45499         Declare hidden proto.
45500         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45501         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45502         Declare hidden proto.
45503         * include/stdio.h (__asprintf_internal): Don't declare.
45504         (__asprintf): Don't define as macro.  Declare hidden proto.
45505         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45506         (__fsetlocking): Declare hidden proto.
45507         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45508         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45509         hidden proto.
45510         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45511         (_IO_setlinebuf): Remove use of INTUSE.
45512         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45513         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45514         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45515         Remove declaration.
45516         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45517         (_IO_do_flush): Remove use of INTUSE.
45518         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45519         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45520         (_IO_adjust_column, _IO_least_wmarker)
45521         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45522         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45523         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45524         (_IO_default_doallocate, _IO_wdefault_doallocate)
45525         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45526         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45527         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45528         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45529         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45530         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45531         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45532         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45533         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45534         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45535         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45536         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45537         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45538         proto.
45539         (_IO_flush_all_internal, _IO_adjust_column_internal)
45540         (_IO_default_uflow_internal, _IO_default_finish_internal)
45541         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45542         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45543         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45544         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45545         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45546         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45547         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45548         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45549         (_IO_file_close_internal, _IO_file_close_it_internal)
45550         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45551         (_IO_file_init_internal, _IO_file_attach_internal)
45552         (_IO_file_fopen_internal, _IO_file_read_internal)
45553         (_IO_file_sync_internal, _IO_file_seek_internal)
45554         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45555         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45556         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45557         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45558         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45559         (_IO_list_all_internal, _IO_link_in_internal)
45560         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45561         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45562         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45563         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45564         (_IO_do_write_internal, _IO_padn_internal)
45565         (_IO_getline_info_internal, _IO_getline_internal)
45566         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45567         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45568         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45569         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45570         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45571         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45572         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45573         with libc_hidden_ver, remove use of INTUSE.
45574         * libio/genops.c: Likewise.
45575         * libio/freopen.c: Likewise.
45576         * libio/freopen64.c: Likewise.
45577         * libio/iofclose.c: Likewise.
45578         * libio/iofdopen.c: Likewise.
45579         * libio/iofflush.c: Likewise.
45580         * libio/iofflush_u.c: Likewise.
45581         * libio/iofgets.c: Likewise.
45582         * libio/iofgets_u.c: Likewise.
45583         * libio/iofopen.c: Likewise.
45584         * libio/iofopncook.c: Likewise.
45585         * libio/iofread.c: Likewise.
45586         * libio/iofread_u.c: Likewise.
45587         * libio/ioftell.c: Likewise.
45588         * libio/iofwrite.c: Likewise.
45589         * libio/iogetline.c: Likewise.
45590         * libio/iogets.c: Likewise.
45591         * libio/iogetwline.c: Likewise.
45592         * libio/iopadn.c: Likewise.
45593         * libio/iopopen.c: Likewise.
45594         * libio/ioseekoff.c: Likewise.
45595         * libio/ioseekpos.c: Likewise.
45596         * libio/iosetbuffer.c: Likewise.
45597         * libio/iosetvbuf.c: Likewise.
45598         * libio/ioungetc.c: Likewise.
45599         * libio/ioungetwc.c: Likewise.
45600         * libio/iovdprintf.c: Likewise.
45601         * libio/iovsprintf.c: Likewise.
45602         * libio/iovsscanf.c: Likewise.
45603         * libio/memstream.c: Likewise.
45604         * libio/obprintf.c: Likewise.
45605         * libio/oldfileops.c: Likewise.
45606         * libio/oldiofclose.c: Likewise.
45607         * libio/oldiofdopen.c: Likewise.
45608         * libio/oldiofopen.c: Likewise.
45609         * libio/oldiopopen.c: Likewise.
45610         * libio/oldstdfiles.c: Likewise.
45611         * libio/putc.c: Likewise.
45612         * libio/setbuf.c: Likewise.
45613         * libio/setlinebuf.c: Likewise.
45614         * libio/stdfiles.c: Likewise.
45615         * libio/strops.c: Likewise.
45616         * libio/vasprintf.c: Likewise.
45617         * libio/vscanf.c: Likewise.
45618         * libio/vsnprintf.c: Likewise.
45619         * libio/vswprintf.c: Likewise.
45620         * libio/wfiledoalloc.c: Likewise.
45621         * libio/wfileops.c: Likewise.
45622         * libio/wgenops.c: Likewise.
45623         * libio/wmemstream.c: Likewise.
45624         * libio/wstrops.c: Likewise.
45625         * libio/__fpurge.c: Likewise.
45626         * libio/__fsetlocking.c: Likewise.
45627         * assert/assert.c: Likewise.
45628         * debug/fgets_chk.c: Likewise.
45629         * debug/fgets_u_chk.c: Likewise.
45630         * debug/fread_chk.c: Likewise.
45631         * debug/fread_u_chk.c: Likewise.
45632         * debug/gets_chk.c: Likewise.
45633         * debug/obprintf_chk.c: Likewise.
45634         * debug/vasprintf_chk.c: Likewise.
45635         * debug/vdprintf_chk.c: Likewise.
45636         * debug/vsnprintf_chk.c: Likewise.
45637         * debug/vsprintf_chk.c: Likewise.
45638         * malloc/mtrace.c: Likewise.
45639         * misc/error.c: Likewise.
45640         * misc/syslog.c: Likewise.
45641         * stdio-common/asprintf.c: Likewise.
45642         * stdio-common/fxprintf.c: Likewise.
45643         * stdio-common/getw.c: Likewise.
45644         * stdio-common/isoc99_fscanf.c: Likewise.
45645         * stdio-common/isoc99_scanf.c: Likewise.
45646         * stdio-common/isoc99_vfscanf.c: Likewise.
45647         * stdio-common/isoc99_vscanf.c: Likewise.
45648         * stdio-common/isoc99_vsscanf.c: Likewise.
45649         * stdio-common/printf-prs.c: Likewise.
45650         * stdio-common/printf_fp.c: Likewise.
45651         * stdio-common/printf_fphex.c: Likewise.
45652         * stdio-common/printf_size.c: Likewise.
45653         * stdio-common/putw.c: Likewise.
45654         * stdio-common/scanf.c: Likewise.
45655         * stdio-common/sprintf.c: Likewise.
45656         * stdio-common/tmpfile.c: Likewise.
45657         * stdio-common/vfprintf.c: Likewise.
45658         * stdio-common/vfscanf.c: Likewise.
45659         * stdlib/strfmon_l.c: Likewise.
45660         * sunrpc/openchild.c: Likewise.
45661         * sunrpc/xdr_stdio.c: Likewise.
45662         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45663         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45665 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45667         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45669         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45670         in the third column, to generate for the shared library an IFUNC
45671         that uses _dl_vdso_vsym.
45672         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45673         * Makeconfig (object-suffixes-noshared): New variable.
45675         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45676         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45677         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45678         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45680         [BZ #14132]
45681         * include/sys/time.h (__gettimeofday): Remove macro.
45682         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45683         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45684         Remove INTDEF.
45685         (__gettimeofday): Add libc_hidden_def.
45686         (gettimeofday): Add libc_hidden_weak.
45687         * sysdeps/mach/gettimeofday.c: Likewise.
45688         * sysdeps/posix/gettimeofday.c: Likewise.
45689         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45690         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45691         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45692         (__gettimeofday_internal): Remove strong_alias.
45693         (__gettimeofday): Add libc_hidden_def.
45694         (gettimeofday): Add libc_hidden_weak.
45695         * sysdeps/unix/syscalls.list (gettimeofday):
45696         Remove __gettimeofday_internal alias.
45698 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45699             H.J. Lu  <hongjiu.lu@intel.com>
45701         [BZ #12495]
45702         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45703         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45704         (largebin_index_32_big): New.
45705         (largebin_index): Use it for 16-byte alignment.
45706         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45707         correction with front_misalign.
45709 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45713         Likewise.
45714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45715         Likewise.
45716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45717         Likewise.
45718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45719         Likewise.
45720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45721         Likewise.
45722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45723         Likewise.
45724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45725         Likewise.
45726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45727         Likewise.
45728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45729         Likewise.
45730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45731         Likewise.
45732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45733         Likewise.
45734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45735         Likewise.
45737         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45738         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45740 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45742         [BZ #10846]
45743         [BZ #14036]
45744         * math/libm-test.inc (exp_test): Add test from bug 14036.
45745         (pow_test): Add test from bug 10846.
45747         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45748         and other flags.
45749         (special_function): Do not include flags in test name.
45750         (parse_args): Likewise.
45751         * sysdeps/i386/fpu/libm-test-ulps: Update.
45752         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45753         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45754         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45757         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45758         exceptions.
45759         * math/libm-test.inc ("Philosophy"): Update comment about
45760         exception testing.
45761         (UNDERFLOW_EXCEPTION): New macro.
45762         (UNDERFLOW_EXCEPTION_OK): Likewise.
45763         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45764         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45765         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45766         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45767         (INVALID_EXCEPTION_OK): Update value.
45768         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45769         (OVERFLOW_EXCEPTION_OK): Likewise.
45770         (IGNORE_ZERO_INF_SIGN): Likewise.
45771         (test_exceptions): Handle underflow exceptions.
45772         (acos_test): Update for underflow exception expectations.
45773         (cexp_test): Likewise.
45774         (clog_test): Likewise.
45775         (clog10_test): Likewise.
45776         (csqrt_test): Likewise.
45777         (ctan_test): Likewise.
45778         (ctanh_test): Likewise.
45779         (exp_test): Likewise.
45780         (exp10_test): Likewise.
45781         (exp2_test): Likewise.
45782         (expm1_test): Likewise.
45783         (fma_test): Likewise.
45784         (j0_test): Likewise.
45785         (jn_test): Likewise.
45786         (nexttoward_test): Likewise.
45787         (pow_test): Likewise.
45788         (scalbn_test): Likewise.
45789         (scalbln_test): Likewise.
45790         (tan_test): Likewise.
45791         (y1_test): Likewise.
45792         * sysdeps/i386/fpu/libm-test-ulps: Update.
45793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45795 2012-05-23  David S. Miller  <davem@davemloft.net>
45797         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45798         (__libc_sigaction): Remove unused local variables.
45800 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45802         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45804 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45806         mktime: avoid signed integer overflow
45807         * time/mktime.c (__mktime_internal): Do not mishandle the case
45808         where diff == INT_MIN.
45810         mktime: simplify computation of average
45811         * time/mktime.c (ranged_convert): Use new time_t_avg function
45812         instead of rolling our own (probably-slower) code.
45814         mktime: do not assume signed right shift propagates sign bit
45815         * time/mktime.c (isdst_differ): New static function.
45816         (__mktime_internal): No need to normalize tm_isdst now.
45817         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45818         tm_isdst values.
45820         mktime: merge another wrapv change from gnulib
45821         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45822         from some compilers.
45824         mktime: remove incorrect attempt at unusual arithmetics
45825         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45826         The code didn't really work on such machines anyway.
45827         (TYPE_MINIMUM): Assume two's complement.
45828         (twos_complement_arithmetic): Verify that long_int and time_t
45829         are two's complement (or unsigned, in the latter case).
45831         mktime: check signed shifts on long_int and time_t, too
45832         * time/mktime.c (SHR): Check that shifts work as desired
45833         on the types long_int and time_t too, as SHR is used on
45834         such types.
45836         mktime: do not assume 'long' is wide enough
45837         * time/mktime.c (verify): Move decl up.
45838         (long_int): New type.
45839         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45840         to remove assumption in the code that 'long' is wide enough to
45841         store year values.  This assumption is not true on x32 and on
45842         some non-glibc platforms.
45844         mktime: merge wrapv change from gnulib
45845         * time/mktime.c (WRAPV): New macro.
45846         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45847         (guess_time_tm, __mktime_internal): Do not assume that signed
45848         integer overflow wraps around; modern compilers generate code
45849         where this assumption is no longer valid.
45851 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45853         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45854         Replace "jmp L(pseudo_end)" with "ret".
45855         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45856         Likewise.
45858 2012-05-23  Andreas Jaeger  <aj@suse.de>
45860         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45861         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45863 2012-05-23  Andreas Jaeger  <aj@suse.de>
45864             Maximilian Attems  <max@stro.at>
45866         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45867         New macros.
45869 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45871         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45872         code so that pseudo_end is just ret and the stack pointer is
45873         correct also for static library in error case.
45875 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45877         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45878         move to syscalls.list.
45879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45884         * manual/install.texi (Running make install): Do not mention Linux
45885         kernel version for which pt_chown is not needed.
45886         (Linux): Do not mention problems with nscd with 2.0 kernels.
45887         * INSTALL: Regenerated.
45889 2012-05-23  Andreas Jaeger  <aj@suse.de>
45891         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45892         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45893         macro.
45894         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45895         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45896         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45897         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45898         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45899         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45900         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45901         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45902         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45903         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45904         * sysdeps/unix/sysv/linux/bits/in.h
45905         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45907 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45909         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45910         (PREPARE_VERSION): Just use assert instead, it will be elided
45911         under [NDEBUG] anyway.
45913 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45915         * sysdeps/unix/sysv/linux/Makefile: Include
45916         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45917         (sysdep_routines): Remove sysctl.
45918         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45919         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45920         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45921         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45922         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45924 2012-05-22  Andreas Jaeger  <aj@suse.de>
45926         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45927         that pseudo_end is just ret and the stack pointer is correct also
45928         for static library in error case.
45930 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45932         [BZ #14122]
45933         * nss/nsswitch.c (defconfig_entries): New variable.
45934         (__nss_database_lookup): Don't leak defconfig entries.
45935         (nss_parse_service_list): Don't leak on error paths.
45936         (free_database_entries): New function.
45937         (free_defconfig): New function.
45938         (free_mem): Move common code to free_database_entries.
45940 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45942         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45943         Add arch_prctl.
45944         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45946         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45947         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45949         New macro.
45950         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45951         (INTERNAL_SYSCALL_TYPES): Likewise.
45952         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45953         (LOAD_REGS_TYPES_[1-6]): Likewise.
45954         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45955         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45957 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45959         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45960         copysignl for GLIBC_2_0.
45961         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45962         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45963         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45964         logbl for GLIBC_2_0.
45965         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45966         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45968 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45970         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45971         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45973         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45974         Use "neg %eax".
45976         * time/mktime.c: Update copyright years.
45978 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45980         mktime: merge comment-quoting-style change from gnulib
45981         * time/mktime.c: Quote 'like this' in comments.
45982         The GNU coding standards suggest that we no longer quote `like this',
45983         as "`" and "'" are typically rendered asymmetrically nowadays.
45984         The typical gnulib style is to quote 'like this' when quoting
45985         code, and "like this" when quoting English.
45987         * time/mktime.c (compile-command): Add "-I.".
45989         mktime: merge mktime-internal.h change from gnulib
45990         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45992         mktime: merge time_r change from gnulib
45993         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45995         mktime: merge DEBUG change from gnulib
45996         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45997         case system <time.h> has a #define.
45999         mktime: merge <sys/types.h> change from gnulib
46000         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
46001         since <time.t> is now guaranteed to define time_t.
46003         mktime: merge HAVE_CONFIG_H change from gnulib
46004         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
46006 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46009         Use "neg %eax".
46011         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
46012         __rlim_t cast.
46013         (struct rusage): Use anonymous union to pad each field to
46014         __syscall_slong_t.
46016 2012-05-21  David S. Miller  <davem@davemloft.net>
46018         * Makefules (o-iterator): Remove .s cases.
46019         (compile-command.s): Delete.
46020         (COMPILE.s): Delete.
46021         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46023 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46025         * configure.in (libc_cv_predef_stack_protector): Only consider
46026         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46027         * configure: Regenerated.
46029 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46031         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46032         New macro.  Use R*LP on int and pointer.
46033         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46034         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46035         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46036         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46038         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46039         [__WORDSIZE_TIME64_COMPAT32] instead of
46040         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46041         (struct utmp): Likewise.
46042         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46043         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46044         Renamed to ...
46045         (__WORDSIZE_TIME64_COMPAT32): This.
46046         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46047         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46048         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46049         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46050         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46051         (__WORDSIZE_TIME64_COMPAT32): New macro.
46053 2012-05-21  Andreas Jaeger  <aj@suse.de>
46055         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46056         only if [SHARED]. Add prototype for __wcschr_ia32.
46058 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46060         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46061         of %rbp unmolested in the jmp_buf while mangling the low bits.
46062         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46063         unmolested high bits of %rbp while demangling the low bits.
46064         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46066 2012-05-21  Andreas Jaeger  <aj@suse.de>
46068         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46069         * sunrpc/svc_simple.c: Use it for registerrpc.
46070         * sunrpc/xcrypt.c: Use it for passwd2des.
46072         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46074 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46076         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46077         Don't define if [__SYSCALL_WORDSIZE != 32].
46078         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46079         New macro.
46081 2012-05-21  Bruno Haible  <bruno@clisp.org>
46082             Andreas Jaeger  <aj@suse.de>
46084         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46085         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46086         inptr and inend for must_buffer_ch.
46087         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46088         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46089         * stdio-common/Makefile (tests): Remove bug15.
46090         (bug15-ENV): Remove macro.
46091         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46092         anymore.
46094 2012-05-19  Andreas Jaeger  <aj@suse.de>
46095             Roland McGrath  <roland@hack.frob.com>
46097         * manual/contrib.texi: Completely rewritten. It contains now an
46098         alphabetical list of contributors and their contributions.
46100 2012-05-21  Richard Henderson  <rth@twiddle.net>
46102         * misc/getauxval.c (__getauxval): Use unsigned long int.
46103         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46104         (getauxval): Use unsigned long int.
46106 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46108         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46110 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46112         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46113         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46114         __alignof__ (long double).
46116 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46120 2012-05-20  Richard Henderson  <rth@twiddle.net>
46122         * misc/getauxval.c: New file.
46123         * misc/sys/auxv.h: New file.
46124         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46125         (routines): Add getauxval.
46126         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46127         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46128         * elf/dl-sysdep.c (_dl_auxv): Remove.
46129         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46130         * elf/dl-support.c (_dl_auxv): New variable.
46131         (_dl_aux_init): Initialize it.
46132         * manual/startup.texi (Auxiliary Vector): New node.
46133         * sysdeps/generic/bits/hwcap.h: New file.
46134         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46135         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46136         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46137         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46138         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46139         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46141         Update.
46142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46151 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46155 2012-05-19  David S. Miller  <davem@davemloft.net>
46157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46159 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46161         [BZ #14123]
46162         * math/s_ccosh.c: Include <float.h>
46163         (__ccosh): Avoid internal overflow calculating sinh and cosh
46164         values before multiplying by sin and cos values.
46165         * math/s_ccoshf.c: Likewise.
46166         * math/s_ccoshl.c: Likewise.
46167         * math/s_csin.c: Likewise.
46168         * math/s_csinf.c: Likewise.
46169         * math/s_csinl.c: Likewise.
46170         * math/s_csinh.c: Likewise.
46171         * math/s_csinhf.c: Likewise.
46172         * math/s_csinhl.c: Likewise.
46173         * math/libm-test.inc (ccos_test): Add more tests.
46174         (ccosh_test): Likewise.
46175         (csin_test): Likewise.
46176         (csinh_test): Likewise.
46177         * sysdeps/i386/fpu/libm-test-ulps: Update.
46178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46180 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46182         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46183         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46185         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46187 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46189         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46190         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46191         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46192         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46193         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46194         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46195         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46196         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46197         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46198         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46199         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46200         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46201         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46202         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46203         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46204         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46205         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46206         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46207         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46208         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46209         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46210         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46211         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46212         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46213         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46214         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46215         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46216         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46217         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46218         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46219         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46221 2012-05-18  Andreas Jaeger  <aj@suse.de>
46223         * csu/.gitignore: Delete.
46225 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46227         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46228         (timex): Use __syscall_slong_t.
46230 2012-05-18  Andreas Jaeger  <aj@suse.de>
46231             Carlos O'Donell  <carlos_odonell@mentor.com>
46233         * manual/install.texi (Configuring and compiling): Update
46234         description about files modified in the source directory.
46235         * INSTALL: Regenerated.
46237 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46239         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46240         value.  Use "or" to set return value to -1.
46241         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46242         negate return value.
46244 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46246         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46247         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46248         failure if the compiler has Graphite support disabled.
46249         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46250         Likewise.
46251         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46252         (CFLAGS-memmove.c): Likewise.
46253         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46254         Likewise.
46256 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46258         * sysdeps/x86_64/x32/_itoa.h: New file.
46260         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46261         getdents system call only if kernel and user dirents have the
46262         same d_ino and d_off.
46264         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46265         LLONG_MAX != LONG_MAX.
46266         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46267         (_fitoa_word): Likewise.
46269         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46270         years.
46271         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46272         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46273         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46275         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46276         include <bits/wordsize.h>.  Check __x86_64__ instead of
46277         __WORDSIZE.
46278         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46279         if __x86_64__ is defined.  Use anonymous union on fpstate.
46281         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46282         anonymous union.
46284 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46286         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46287         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46288         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46289         Refer to _rtld_local_ro instead of _rtld_global_ro.
46290         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46291         Likewise.
46292         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46293         Likewise.
46294         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46295         Likewise.
46296         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46297         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46298         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46300         * sysdeps/powerpc/powerpc32/dl-machine.c
46301         (__elf_machine_runtime_setup) [PROF]: Don't reference
46302         _dl_prof_resolve.
46304 2012-05-18  Andreas Jaeger  <aj@suse.de>
46306         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46307         function only available for GCCs before 3.4 since GCC 3.4
46308         introduced a builtin.
46309         (lrint): Likewise.
46310         (llrintf): Likewise.
46311         (llrint): Likewise.
46312         (fmaxf): Likewise.
46313         (fmax): Likewise.
46314         (fminf): Likewise.
46315         (fmin): Likewise.
46316         (rint): Likewise.
46317         (rintf): Likewise.
46318         (nearbyint): Likewise.
46319         (nearbyintf): Likewise.
46320         (ceil): Likewise.
46321         (ceilf): Likewise.
46322         (floor): Likewise.
46323         (floorf): Likewise.
46325 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46327         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46328         on both fields and cast pointer to __syscall_ulong_t.
46330         * bits/types.h (__fsword_t): New type.
46331         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46332         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46333         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46334         (__FSWORD_T_TYPE): Likewise.
46335         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46336         (__FSWORD_T_TYPE): Likewise.
46337         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46338         (__FSWORD_T_TYPE): Likewise.
46339         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46340         (__FSWORD_T_TYPE): Likewise.
46341         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46342         __SWORD_TYPE with __fsword_t.
46343         (statfs64): Likewise.
46345 2012-05-17  David S. Miller  <davem@davemloft.net>
46347         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46349 2012-05-17  Andreas Jaeger  <aj@suse.de>
46351         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46352         warning.
46354 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46356         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46358 2012-05-17  Andreas Jaeger  <aj@suse.de>
46360         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46361         when it is used.
46363 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46365         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46367 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46369         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46370         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46372 2012-05-17  Andreas Jaeger  <aj@suse.de>
46373             Carlos O'Donell  <carlos_odonell@mentor.com>
46375         [BZ #14059]
46376         * sysdeps/x86_64/multiarch/init-arch.h
46377         (bit_YMM_Usable): Rename to...
46378         (bit_AVX_Usable): ... this.
46379         (bit_FMA4_Usable): New macro.
46380         (bit_XMM_state): New macro.
46381         (bit_YMM_state): New macro.
46382         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46383         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46384         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46385         (CPUID_OSXSAVE): New macro.
46386         (CPUID_AVX): New macro.
46387         (CPUID_FMA4): New macro.
46388         (index_YMM_Usable): Rename to...
46389         (index_AVX_Usable): ... this.
46390         (HAS_AVX): Use HAS_ARCH_FEATURE.
46391         (HAS_FMA4): Likewise.
46392         (HAS_YMM_USABLE): Remove.
46393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46394         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46395         are present.
46396         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46397         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46398         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46399         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46400         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46402 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46404         * math/libm-test.c: Support platforms without multiple rounding modes.
46405         * math/bug-nextafter.c: Support platforms without FP exceptions.
46406         * math/bug-nexttoward.c: Likewise.
46407         * math/test-fenv.c: Likewise.
46408         * math/test-misc.c: Likewise.
46409         * stdlib/bug-getcontext.c: Likewise.
46411 2012-05-17  Andreas Jaeger  <aj@suse.de>
46413         * manual/examples/search.c (critter_cmp): Change signature to
46414         avoid warnings.
46415         * manual/string.texi (Collation Functions): Likewise.
46417 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46419         * bits/types.h: Fold copyright years.
46420         * bits/typesizes.h: Likewise.
46421         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46422         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46425         * time/time.h: Likewise.
46427 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46429         [BZ #208]
46430         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46431         in instead of returning them.  Return void.
46432         (__libc_mallinfo): Accumulate over all arenas.
46433         (__malloc_stats): Adjust for change in int_mallinfo interface.
46435 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46437         [BZ #10375]
46438         * configure.in (NM): Add AC_CHECK_TOOL for it.
46439         (libc_extra_cflags): New substituted variable.
46440         Check for -fstack-protector being used implicitly.
46441         * configure: Regenerated.
46442         * config.make.in (config-extra-cflags): New variable,
46443         gets @libc_extra_cflags@.
46444         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46446         [BZ #10375]
46447         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46448         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46449         * configure: Regenerated.
46450         * config.make.in (CPPUNDEFS): New substituted variable.
46451         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46452         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46453         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46455 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46457         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46458         (mq_attr): Use __syscall_slong_t.
46460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46462         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46463         Check __x86_64__ instead of __WORDSIZE.
46464         (_STAT_VER_LINUX): Likewise.
46465         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46466         __syscall_ulong_t and __syscall_slong_t.
46467         (stat64): Likewise.
46469 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46471         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46473 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46475         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46477 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46479         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46480         __syscall_ulong_t.
46482         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46483         include <bits/wordsize.h>.  Check __x86_64__ instead of
46484         __WORDSIZE.
46485         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46486         defined.
46487         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46489         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46490         include <bits/wordsize.h>.  Check __x86_64__ instead of
46491         __WORDSIZE.
46492         (user_regs_struct): Use "__extension__ unsigned long long"
46493         instead of "unsigned long" if __x86_64__ is defined.
46494         (user): Likewise.  Pad after pointer field if __ILP32__ is
46495         defined.
46497 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46499         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46500         versions 5 to 9.
46501         * configure: Regenerated.
46502         * manual/install.texi (texinfo): Increase version requirement to
46503         4.5 or later.
46504         * INSTALL: Regenerated.
46506         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46510         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46512         * sysdeps/x86_64/x32/ffs.c: New file.
46514         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46515         __syscall_ulong_t.
46516         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46517         defined.  Use __syscall_ulong_t.
46518         (shminfo): Use __syscall_ulong_t.
46519         (shm_info): Likewise.
46521         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46522         __syscall_ulong_t.
46524         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46525         <bits/wordsize.h>.
46526         (msgqnum_t): Use __syscall_ulong_t.
46527         (msglen_t): Likewise.
46528         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46529         __syscall_ulong_t.
46531         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46532         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46534         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46536         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46537         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46539         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46540         __syscall_slong_t.
46542         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46543         include <bits/wordsize.h>.  Check __x86_64__ instead of
46544         __WORDSIZE.
46546         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46547         "unsigned long long int" if __x86_64__ is defined.
46548         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46550         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46551         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46552         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46554         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46555         <stdint.h>.
46556         (GET_PC): Cast to uintptr_t first.
46557         (GET_FRAME): Likewise.
46558         (GET_STACK): Likewise.
46560         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46561         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46562         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46563         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46564         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46566         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46567         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46568         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46569         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46570         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46571         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46572         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46573         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46574         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46575         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46576         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46577         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46578         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46579         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46580         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46581         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46582         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46583         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46584         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46585         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46586         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46587         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46588         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46590 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46592         * Makerules (+depfiles): Also collect depfiles from .oS in
46593         $(extra-objs).
46594         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46595         .oS, $(libnldbl-routines)).
46597         * Makerules (native-compile-mkdep-flags): Define.
46598         * sunrpc/Makefile (extra-objs): Add $(addprefix
46599         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46600         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46601         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46602         calling $(make-target-directory).
46604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46606         * bits/types.h (__snseconds_t): Removed.
46607         * time/time.h (struct timespec): Replace __snseconds_t with
46608         __syscall_slong_t.
46609         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46610         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46611         Likewise.
46612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46613         (__SNSECONDS_T_TYPE): Likewise.
46614         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46615         (__SNSECONDS_T_TYPE): Likewise.
46616         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46617         (__SNSECONDS_T_TYPE): Likewise.
46619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46621         * sysdeps/mach/hurd/bits/typesizes.h
46622         (__SYSCALL_SLONG_TYPE): New macro.
46623         (__SYSCALL_ULONG_TYPE): Likewise.
46625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46627         * bits/types.h (__syscall_slong_t): New type.
46628         (__syscall_ulong_t): Likewise.
46630         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46631         (__SYSCALL_ULONG_TYPE): Likewise.
46632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46633         (__SYSCALL_SLONG_TYPE): Likewise.
46634         (__SYSCALL_ULONG_TYPE): Likewise.
46635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46636         (__SYSCALL_SLONG_TYPE): Likewise.
46637         (__SYSCALL_ULONG_TYPE): Likewise.
46638         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46639         (__SYSCALL_SLONG_TYPE): Likewise.
46640         (__SYSCALL_ULONG_TYPE): Likewise.
46642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46644         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46645         Add sigaltstack-offsets.sym.
46646         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46647         <sigaltstack-offsets.h>.
46648         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46649         longjmp_msg pointer.
46650         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46651         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46652         signal stack.
46653         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46655 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46657         * elf/stackguard-macros.h: Remove file.
46658         * sysdeps/generic/stackguard-macros.h: New file.
46659         * sysdeps/i386/stackguard-macros.h: Likewise.
46660         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46661         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46662         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46663         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46664         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46665         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46666         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46667         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46668         <elf/stackguard-macros.h>.
46670         [BZ #14109]
46671         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46672         __aligned__ in attribute.
46673         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46674         (gregset_t): Likewise.
46676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46678         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46679         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46680         * sysdeps/x86_64/x32/Implies-after: New file.
46682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46684         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46685         and access return value for _dl_profile_fixup.  Use R10_LP to
46686         load frame size.
46688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46690         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46694         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46695         * sysdeps/x86_64/x32/sysdep.h: New file.
46697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46699         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46700         * sysdeps/x86_64/setjmp.S: Likewise.
46702 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46704         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46705         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46706         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46707         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46708         remove unused global constant.
46710 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46712         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46713         include of <not-cancel.h>.
46715 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46717         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46719 2012-05-15  Jeff Law  <law@redhat.com>
46720             Andreas Jaeger  <aj@suse.de>
46722         [BZ #13594]
46723         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46724         out from...
46725         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46726         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46727         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46728         code changing __hst_map_handle.map.
46730 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46732         * configure.in (sysnames): Look for Implies-before and Implies-after
46733         files.
46734         * configure: Regenerated.
46736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46738         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46739         8-byte data alignment with LP_SIZE alignment.
46741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46743         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46744         into R10_LP.
46746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46748         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46752         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46753         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46754         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46755         Likewise.
46756         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46760         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46761         (stackinfo_sub_sp): Likewise.
46763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46765         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46766         RAX_LP.
46768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46770         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46771         into R*_LP.
46773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46775         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46776         sizes into R*_LP.
46778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46780         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46784         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46785         into R11_LP and load __x86_64_shared_cache_size_half into
46786         R8_LP.
46788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46790         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46791         R8_LP.
46793 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46795         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46796         logb for POWER7.
46797         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46798         logbf for POWER7.
46799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46800         logbl for POWER7.
46801         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46802         powerpc32/power7/fpu/s_logb.c via #include.
46803         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46804         powerpc32/power7/fpu/s_logbf.c via #include.
46805         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46806         powerpc32/power7/fpu/s_logbl.c via #include.
46808 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46810         * README.libm: Remove file.
46812 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46814         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46815         count for x32.  Use R*_LP and omit operand-size suffix.
46817 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46819         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46820         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46821         * sysdeps/x86_64/x32/shlib-versions: New file.
46823 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46825         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46826         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46827         Use _dl_fatal_printf instead.
46829 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46831         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46832         set if not set by the user.  Do not allow for being unset.
46833         * sysdeps/unix/sysv/linux/configure: Regenerated.
46835 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46837         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46838         the `q' suffix from lea and replace .quad with ASM_ADDR.
46840 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46842         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46843         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46844         instead of $17.
46845         (PTR_DEMANGLE): Likewise.
46847 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46849         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46850         (LP_OP): Likewise.
46851         (ASM_ADDR): Likewise.
46852         (RAX_LP): Likewise.
46853         (RBP_LP): Likewise.
46854         (RBX_LP): Likewise.
46855         (RCX_LP): Likewise.
46856         (RDI_LP): Likewise.
46857         (RSI_LP): Likewise.
46858         (RSP_LP): Likewise.
46859         (R8_LP): Likewise.
46860         (R9_LP): Likewise.
46861         (R10_LP): Likewise.
46862         (R10_LP): Likewise.
46863         (R11_LP): Likewise.
46864         (R12_LP): Likewise.
46865         (R13_LP): Likewise.
46866         (R14_LP): Likewise.
46867         (R15_LP): Likewise.
46869 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46871         * sysdeps/x86_64/x32/dl-machine.h: New file.
46873 2012-05-14  Andreas Jaeger  <aj@suse.de>
46875         * manual/Makefile (subdir): Remove export of subdir.
46876         (all): Remove target.
46877         (.PHONY): Remove all from list.
46878         (mkinstalldirs): Remove.
46879         (.PHONY): Remove installdirs from list.
46880         ($(inst_infodir)/libc.info): Use make-target-directory.
46881         (installdirs): Remove.
46882         (subdir_%): Remove.
46883         (glibc-targets): Remove.
46884         (lib): Remove.
46885         (stubs): Remove.
46886         ($(objpfx)stubs ../po/manual.pot): Remove.
46887         ($(objpfx)stamp%): Remove.
46888         (make-target-directory): Remove.
46889         (subdir_install): Remove.
46890         (routines): Remove.
46891         (aux): Remove.
46892         (sources): Remove.
46893         (objects): Remove.
46894         (headers): Remove.
46896         [BZ #13750]
46897         * manual/.gitignore: Remove, it's not needed anymore.
46898         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46899         all files in it.
46900         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46901         directory.
46902         (texis): Renamed to $(objpfx)texis.
46903         (texis-path): New, contains path to generated files.
46904         (chapters.%): Use texis-path for complete path, add extra argument
46905         libc-texinfo.sh.
46906         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46907         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46908         (summary,texi, stamp-summary): Use complete path of
46909         files. Generate files in build dir.
46910         (dir-add.texi): Build in build dir.
46911         (libm-err.texi,stamp-libm-err): Likewise.
46912         (version.texi, stamp-version): Likewise.
46913         (.%c.texi): Likewise.
46914         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46915         (mostlyclean): Remove target.
46916         (realclean): Remove target.
46917         (generated): Add new variable with contents from mostlyclean and
46918         realclean, remove entries duplicated in common-mostlyclean, add
46919         stamp-libm-err and stamp-version.
46920         (generated-dirs): Add libc directory.
46921         ($(inst_infodir)/libc.info): Install files from build dir.
46923         * manual/install.texi (Configuring and compiling): Adjust since
46924         the info files are not part of the tar ball anymore.
46926 2012-05-14  Andreas Jaeger  <aj@suse.de>
46928         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46929         variable.
46931 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46933         [BZ #13717]
46934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46935         to 2.2.0 where earlier.
46936         * sysdeps/unix/sysv/linux/configure: Regenerated.
46937         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46938         Remove conditional code.
46939         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46940         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46941         Remove conditional code.
46942         [!__NR_lchown]: Likewise.
46943         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46944         [__NR_lchown]: Likewise.
46945         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46946         comment referencing __ASSUME_LCHOWN_SYSCALL.
46947         * sysdeps/unix/sysv/linux/i386/sigaction.c
46948         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46949         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46950         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46951         Remove conditional code.
46952         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46953         (__protocol_available): Remove #if 0 code.
46954         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46955         conditional code.
46956         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46957         * sysdeps/unix/sysv/linux/kernel-features.h
46958         (__ASSUME_GETCWD_SYSCALL): Don't define.
46959         (__ASSUME_REALTIME_SIGNALS): Likewise.
46960         (__ASSUME_PREAD_SYSCALL): Likewise.
46961         (__ASSUME_PWRITE_SYSCALL): Likewise.
46962         (__ASSUME_POLL_SYSCALL): Likewise.
46963         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46964         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46965         non-SPARC.
46966         (__ASSUME_SIOCGIFNAME): Don't define.
46967         (__ASSUME_MSG_NOSIGNAL): Likewise.
46968         (__ASSUME_SENDFILE): Define unconditionally.
46969         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46970         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46971         conditional code.
46972         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46973         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46974         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46975         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46976         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46977         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46978         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46980         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46981         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46983         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46984         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46986         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46987         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46989         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46990         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46992         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46993         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46995         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46996         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46998         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
47001         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47003         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
47004         Remove conditional code.
47005         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47006         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47007         Remove conditional code.
47008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47009         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
47010         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
47011         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47012         Remove conditional code.
47013         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47014         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47015         Remove conditional code.
47016         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47017         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47018         Remove conditional code.
47019         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47020         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47021         Remove conditional code.
47022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47023         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47024         Remove conditional code.
47025         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47026         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47027         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47029         * sysdeps/unix/sysv/linux/sigaction.c
47030         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47031         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47032         * sysdeps/unix/sysv/linux/sigpending.c
47033         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47034         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47035         * sysdeps/unix/sysv/linux/sigprocmask.c
47036         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47037         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47038         * sysdeps/unix/sysv/linux/sigsuspend.c
47039         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47040         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47041         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47042         (__libc_missing_rt_sigs): Remove.
47043         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47044         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47045         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47046         Remove conditional code.
47047         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47048         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47049         return 1.
47050         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47051         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47052         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47053         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47055 2012-05-14  Andreas Jaeger  <aj@suse.de>
47057         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47058         it's not used in glibc.
47059         (__coshm1): Likewise.
47060         (__acosh1p): Likewise.
47061         (__sgn): Likewise.
47063         * manual/string.texi (Copying and Concatenation): Add missing
47064         variable in concat example.
47065         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47069         [BZ #14103]
47070         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47071         __builtin_clzl with __builtin_clzll.
47073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47075         [BZ #14104]
47076         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47077         libc_freeres_ptr.
47079 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47081         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47082         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47083         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47084         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47086 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47088         * NEWS: Update ia64 info.
47090 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47092         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47093         used as bcopy.
47095 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47097         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47098         * sysdeps/unix/syscalls.list (dup3): Likewise.
47099         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47100         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47102 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47104         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47105         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47107 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47109         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47110         thread pointer.
47111         (TLS_IE): Use mov/add instead of movq/addq to load thread
47112         pointer.
47113         (TLS_GD_PREFIX): New.
47114         (TLS_GD): Use it.
47116 2012-05-11  David S. Miller  <davem@davemloft.net>
47118         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47119         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47120         (_FPU_SETCW): Likewise.
47122 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47124         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47125         is 32-byte aligned.
47127 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47129         [BZ #11837]
47130         * iconvdata/gb18030.c: Update tables.
47131         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47132         characters specially.
47133         (BODY for TO_LOOP): Add encoding of missing ranges.
47135 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47137         [BZ #13673]
47138         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47139         * sysdeps/mach/hurd/dup3.c: Likewise.
47140         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47141         * sysdeps/powerpc/memmove.c:: Likewise.
47143 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47145         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47146         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47148 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47150         * elf/elf.h (R_X86_64_RELATIVE64): New.
47151         (R_X86_64_NUM): Updated.
47152         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47153         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47154         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47155         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47156         tst-quad1pie tst-quad2pie
47157         (modules-names): Add tst-quadmod1 tst-quadmod2.
47158         ($(objpfx)tst-quad1): New dependency.
47159         ($(objpfx)tst-quad2): Likewise.
47160         ($(objpfx)tst-quad1pie): Likewise.
47161         ($(objpfx)tst-quad2pie): Likewise.
47162         * sysdeps/x86_64/tst-quad1.c: New file.
47163         * sysdeps/x86_64/tst-quad1pie.c: New file.
47164         * sysdeps/x86_64/tst-quad2.c: Likewise.
47165         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47166         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47167         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47168         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47169         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47173         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47174         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47175         * streams/stropts.h (t_scalar_t): Define type.
47177         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47178         (_PATH_PRESERVE): Set to "/var/lib".
47179         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47181         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47182         instead of int.
47184         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47185         if __dir_mkfile succeeded.
47187         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47188         checking for _hurd_dtablesize.  Unlock it right after having
47189         finished _hurd_dtable allocation.
47191 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47193         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47194         * sysdeps/mach/hurd/configure: Regenerated.
47195         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47196         special-casing to...
47197         * sysdeps/gnu/configure.in: ... this new file.
47198         * sysdeps/unix/sysv/linux/configure: Regenerated.
47199         * sysdeps/gnu/configure: New generated file.
47201         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47202         for Linux: use nsec instead of usec, as well as:
47203         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47204         members of type struct timespec.
47205         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47206         New macros.
47207         (struct stat64): Likewise.
47208         (_STATBUF_ST_NSEC): New macro.
47209         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47211         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47212         __strtoul_internal rather than strtoul.
47214 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47216         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47217         and reject them.
47219 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47221         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47222         which preserves existing values.
47223         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47225 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47227         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47228         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47229         greater than FD_SETSIZE.
47231 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47233         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47234         allocated, call __vm_protect to finish enabling the existing space, and
47235         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47236         allocate the remainder.
47238 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47240         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47241         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47243 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47245         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47246         sysdeps/mach/hurd/readlink.c.
47248         * posix/tst-sysconf.c (posix_options): Only use
47249         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47250         _POSIX_SYNCHRONIZED_IO when they are defined
47251         * sysdeps/mach/hurd/bits/posix_opt.h:
47252         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47253         (_XOPEN_REALTIME): Undefine macro.
47254         (_XOPEN_REALTIME_THREADS): Undefine macro.
47255         (_XOPEN_SHM): Undefine macro.
47256         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47257         macro to -1.
47258         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47259         macro to -1.
47260         (_POSIX_ASYNC_IO): Undefine macro.
47261         (_POSIX_PRIORITIZED_IO): Undefine macro.
47262         (_POSIX_SPIN_LOCKS): Define macro to -1.
47264         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47265         SA_NODEFER, SA_RESETHAND.
47266         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47267         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47268         F_DUPFD_CLOEXEC.
47270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47272         * elf/Makefile (pldd-modules): Define unconditionally.
47274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47276         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47278 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47280         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47281         Return ENOENT when name is empty.
47282         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47286         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47288         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47290 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47292         Fix mlock in all cases except non-readable pages.
47293         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47294         instead of VM_PROT_ALL as parameter to __vm_wire function.
47296         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47297         (__mkdir): When path is `/', just fail with EEXIST.
47298         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47302         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47303         <sys/uio.h> (for writev).
47304         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47305         and <sys/param.h> (for MIN).
47307 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47309         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47310         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47311         if interrupted.
47313 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47315         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47316         Depend on against $(link-rpcuserlibs).
47318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47320         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47321         (__libc_stack_end): Do not use attribute_relro.
47322         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47323         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47324         to libthread-provided value.
47325         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47326         attribute_relro.
47328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47330         [BZ #3748]
47331         * bits/libc-lock.h (__libc_once_get): New macro.
47332         * sysdeps/mach/bits/libc-lock.h: Likewise.
47333         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47334         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47335         instead of using implementation details.
47337         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47338         * libio/freopen.c: Likewise.
47339         * libio/freopen64.c: Likewise.
47340         * misc/syslog.c: Likewise.
47341         * nscd/connections.c: Likewise.
47342         * nscd/netgroupcache.c: Likewise.
47343         * sysdeps/posix/getcwd.c: Likewise.
47345 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47347         * math/w_ilogbf.c: Add #include <limits.h>.
47349 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47351         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47352         path instead of returning without unlocking.
47354         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47355         immediate-write ioctls.
47356         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47358 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47360         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47361         __builtin_frame_address instead of making assumptions about the
47362         location of the return address relative to DATA.  Force early load of
47363         the return address.
47364         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47365         __builtin_frame_address.
47367         dup3 for GNU Hurd.
47368         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47369         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47370         implement dup3 and do some further code clean-ups.
47371         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47372         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47374 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47376         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47378         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47379         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47380         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47381         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47382         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47383         d->port.lock.
47385         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47386         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47387         when handler == SIG_ERR, not when handler != SIG_ERR.
47389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47391         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47392         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47393         definitions.
47395         accept4 for GNU Hurd.
47396         * include/sys/socket.h (__libc_accept4): New prototype.
47397         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47398         to implement __libc_accept4.
47399         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47400         __libc_accept4.
47401         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47403         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47404         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47405         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47406         signal-defines.sym.
47408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47410         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47414         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47415         assertion on O_CLOEXEC flag.
47416         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47417         * hurd/intern-fd.c: Likewise.
47418         * hurd/port2fd.c: Likewise.
47420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47422         [BZ #3906]
47423         * bits/in.h (IPV6_PKTINFO): Define new macro.
47424         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47426 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47428         [BZ #13954]
47429         [BZ #13955]
47430         [BZ #13956]
47431         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47432         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47433         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47434         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47436         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47437         * math/libm-test.inc (logb_test) : Additional logb tests.
47439 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47440             Andreas Jaeger  <aj@suse.de>
47442         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47443         * configure: Regenerated.
47444         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47445         * config.make.in (link-obsolete-rpc): New substituted variable.
47446         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47447         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47448         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47449         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47450         so that libc.a contains the symbols.
47451         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47452         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47453         * sunrpc/auth_none.c: Likewise.
47454         * sunrpc/auth_unix.c: Likewise.
47455         * sunrpc/authdes_prot.c: Likewise.
47456         * sunrpc/authuxprot.c: Likewise.
47457         * sunrpc/clnt_gen.c: Likewise.
47458         * sunrpc/clnt_perr.c: Likewise.
47459         * sunrpc/clnt_raw.c: Likewise.
47460         * sunrpc/clnt_simp.c: Likewise.
47461         * sunrpc/clnt_tcp.c: Likewise.
47462         * sunrpc/clnt_udp.c: Likewise.
47463         * sunrpc/clnt_unix.c: Likewise.
47464         * sunrpc/des_crypt.c: Likewise.
47465         * sunrpc/des_soft.c: Likewise.
47466         * sunrpc/get_myaddr.c: Likewise.
47467         * sunrpc/key_call.c: Likewise.
47468         * sunrpc/key_prot.c: Likewise.
47469         * sunrpc/netname.c: Likewise.
47470         * sunrpc/pm_getmaps.c: Likewise.
47471         * sunrpc/pm_getport.c: Likewise.
47472         * sunrpc/pmap_clnt.c: Likewise.
47473         * sunrpc/pmap_prot.c: Likewise.
47474         * sunrpc/pmap_prot2.c: Likewise.
47475         * sunrpc/pmap_rmt.c: Likewise.
47476         * sunrpc/publickey.c: Likewise.
47477         * sunrpc/rpc_cmsg.c: Likewise.
47478         * sunrpc/rpc_common.c: Likewise.
47479         * sunrpc/rpc_dtable.c: Likewise.
47480         * sunrpc/rpc_prot.c: Likewise.
47481         * sunrpc/rpc_thread.c: Likewise.
47482         * sunrpc/rtime.c: Likewise.
47483         * sunrpc/svc.c: Likewise.
47484         * sunrpc/svc_auth.c: Likewise.
47485         * sunrpc/svc_raw.c: Likewise.
47486         * sunrpc/svc_run.c: Likewise.
47487         * sunrpc/svc_tcp.c: Likewise.
47488         * sunrpc/svc_udp.c: Likewise.
47489         * sunrpc/svc_unix.c: Likewise.
47490         * sunrpc/svcauth_des.c: Likewise.
47491         * sunrpc/xcrypt.c: Likewise.
47492         * sunrpc/xdr.c: Likewise.
47493         * sunrpc/xdr_array.c: Likewise.
47494         * sunrpc/xdr_float.c: Likewise.
47495         * sunrpc/xdr_intXX_t.c: Likewise.
47496         * sunrpc/xdr_mem.c: Likewise.
47497         * sunrpc/xdr_rec.c: Likewise.
47498         * sunrpc/xdr_ref.c: Likewise.
47499         * sunrpc/xdr_sizeof.c: Likewise.
47500         * sunrpc/xdr_stdio.c: Likewise.
47502 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47505         change.  Update copyright years.
47507 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47509         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47511 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47512             Joseph Myers  <joseph@codesourcery.com>
47513             Paul Pluzhnikov  <ppluzhnikov@google.com>
47515         [BZ #14012]
47516         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47517         requiring rpcgen.
47518         [cross-compiling] (extra-libs): Likewise.
47519         [cross-compiling] (extra-libs-others): Likewise.
47520         [cross-compiling] (librpcsvc-routines): Likewise.
47521         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47522         [cross-compiling] (omit-deps): Likewise.
47523         (sunrpc-CPPFLAGS): New variable.
47524         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47525         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47526         (cross-rpcgen-objs): New variable.
47527         (extra-objs): Append $(cross-rpcgen-objs).
47528         ($(cross-rpcgen-objs)): New rule.
47529         ($(objpfx)cross-rpcgen): Likewise.
47530         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47531         comment.
47532         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47533         ($(objpfx)x%.stmp): Likewise.
47534         * sunrpc/proto.h [IS_IN_build] (_): Define.
47535         [IS_IN_build] (_libc_intl_domainname): Likewise.
47537 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47539         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47540         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47541         and R_X86_64_TPOFF64.
47543 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47545         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47546         sysdeps/unix/sysv/syscalls.list.
47547         (stime): Likewise.
47548         (utime): Likewise.
47549         * sysdeps/unix/sysv/syscalls.list: Remove file.
47551 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47553         [BZ #3440]
47554         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47555         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47556         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47557         (__LC_IDENTIFICATION): Make these macros useful in #if
47558         expressions, as required by C99.
47560 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47562         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47563         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47564         after this.
47566 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47568         * stdlib/longlong.h: Updated from GCC.
47570 2012-05-09  Andreas Jaeger  <aj@suse.de>
47572         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47573         default is first entry.
47574         (run_mode): Set type.
47575         (main): Remove informal message about syslog.
47576         (options): Fix typo.
47578         [BZ #14053]
47579         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47580         to asm.
47581         (lrint): Likewise.
47582         (llrintf): Likewise.
47583         (llrint): Likewise.
47584         (rint): Likewise.
47585         (rintf): Likewise.
47586         (nearbyint): Likewise.
47587         (nearbyintf): Likewise.
47589 2012-05-09  Andreas Jaeger  <aj@suse.de>
47590             Pedro Alves  <palves@redhat.com>
47592         * nscd/nscd.c (run_mode): Use enum.
47593         (main): Cleanup coding style issue.
47595 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47596             Andreas Jaeger  <aj@suse.de>
47598         * nscd/nscd.c (go_background): Replaced with...
47599         (run_mode): ... this.
47600         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47601         (options): Add -F --foreground.
47602         (main): Implement it.
47603         (parse_opt): Parse it.
47605 2012-05-09  Andreas Jaeger  <aj@suse.de>
47607         [BZ #14083]
47608         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47609         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47610         -Wconversion warning.
47611         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47612         Likewise.
47614 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47616         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47617         == 0.
47618         (LC_ALL): Use macro-int-constant.
47619         (LC_COLLATE): Likewise.
47620         (LC_CTYPE): Likewise.
47621         (LC_MESSAGES): Likewise.
47622         (LC_MONETARY): Likewise.
47623         (LC_NUMERIC): Likewise.
47624         (LC_TIME): Likewise.
47625         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47626         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47627         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47628         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47629         Specify type.
47630         [C99-based standards] (float_t): Expect type.
47631         [C99-based standards] (double_t): Expect type.
47632         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47633         type.
47634         [C99-based standards] (HUGE_VALL): Likewise.
47635         [C99-based standards] (INFINITY): Likewise.
47636         [C99-based standards] (NAN): Likewise.
47637         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47638         [C99-based standards] (FP_NAN): Likewise.
47639         [C99-based standards] (FP_NORMAL): Likewise.
47640         [C99-based standards] (FP_SUBNORMAL): Likewise.
47641         [C99-based standards] (FP_ZERO): Likewise.
47642         [C99-based standards] (FP_FAST_FMA): Use
47643         optional-macro-int-constant.  Specify type.  Require == 1.
47644         [C99-based standards] (FP_FAST_FMAF): Likewise.
47645         [C99-based standards] (FP_FAST_FMAL): Likewise.
47646         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47647         [C99-based standards] (FP_ILOGBNAN): Likewise.
47648         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47649         Specify type.
47650         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47651         [C99-based standards] (math_errhandling): Specify type.
47652         [ISO99 || ISO11] (signgam): Do not allow.
47653         [non-C99-based standards] (copysignf): Do not allow.
47654         [non-C99-based standards] (exp2f): Likewise.
47655         [non-C99-based standards] (log2f): Likewise.
47656         [non-C99-based standards] (modff): Allow.
47657         [non-C99-based standards] (erff): Do not allow.
47658         [non-C99-based standards] (erfcf): Likewise.
47659         [non-C99-based standards] (gammaf): Likewise.
47660         [non-C99-based standards] (hypotf): Likewise.
47661         [non-C99-based standards] (j0f): Likewise.
47662         [non-C99-based standards] (j1f): Likewise.
47663         [non-C99-based standards] (jnf): Likewise.
47664         [non-C99-based standards] (lgammaf): Likewise.
47665         [non-C99-based standards] (tgammaf): Likewise.
47666         [non-C99-based standards] (y0f): Likewise.
47667         [non-C99-based standards] (y1f): Likewise.
47668         [non-C99-based standards] (ynf): Likewise.
47669         [non-C99-based standards] (isnanf): Likewise.
47670         [non-C99-based standards] (acoshf): Likewise.
47671         [non-C99-based standards] (asinhf): Likewise.
47672         [non-C99-based standards] (atanhf): Likewise.
47673         [non-C99-based standards] (cbrtf): Likewise.
47674         [non-C99-based standards] (expm1f): Likewise.
47675         [non-C99-based standards] (ilogbf): Likewise.
47676         [non-C99-based standards] (log1pf): Likewise.
47677         [non-C99-based standards] (logbf): Likewise.
47678         [non-C99-based standards] (nextafterf): Likewise.
47679         [non-C99-based standards] (remainderf): Likewise.
47680         [non-C99-based standards] (rintf): Likewise.
47681         [non-C99-based standards] (scalbf): Likewise.
47682         [non-C99-based standards] (copysignl): Likewise.
47683         [non-C99-based standards] (exp2l): Likewise.
47684         [non-C99-based standards] (log2l): Likewise.
47685         [non-C99-based standards] (modfl): Allow.
47686         [non-C99-based standards] (erfl): Do not allow.
47687         [non-C99-based standards] (erfcl): Likewise.
47688         [non-C99-based standards] (gammal): Likewise.
47689         [non-C99-based standards] (hypotl): Likewise.
47690         [non-C99-based standards] (j0l): Likewise.
47691         [non-C99-based standards] (j1l): Likewise.
47692         [non-C99-based standards] (jnl): Likewise.
47693         [non-C99-based standards] (lgammal): Likewise.
47694         [non-C99-based standards] (tgammal): Likewise.
47695         [non-C99-based standards] (y0l): Likewise.
47696         [non-C99-based standards] (y1l): Likewise.
47697         [non-C99-based standards] (ynl): Likewise.
47698         [non-C99-based standards] (isnanl): Likewise.
47699         [non-C99-based standards] (acoshl): Likewise.
47700         [non-C99-based standards] (asinhl): Likewise.
47701         [non-C99-based standards] (atanhl): Likewise.
47702         [non-C99-based standards] (cbrtl): Likewise.
47703         [non-C99-based standards] (expm1l): Likewise.
47704         [non-C99-based standards] (ilogbl): Likewise.
47705         [non-C99-based standards] (log1pl): Likewise.
47706         [non-C99-based standards] (logbl): Likewise.
47707         [non-C99-based standards] (nextafterl): Likewise.
47708         [non-C99-based standards] (remainderl): Likewise.
47709         [non-C99-based standards] (rintl): Likewise.
47710         [non-C99-based standards] (scalbl): Likewise.
47711         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47712         [non-C99-based standards] (FP_*): Do not allow.
47713         [C99-based standards] (FP_*): Change to
47714         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47715         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47716         allow.
47717         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47718         (SIG_ERR): Likewise.
47719         [X/Open-based standards] (SIG_HOLD): Likewise.
47720         (SIG_IGN): Likewise.
47721         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47722         positive value.
47723         (SIGFPE): Likewise.
47724         (SIGILL): Likewise.
47725         (SIGINT): Likewise.
47726         (SIGSEGV): Likewise.
47727         (SIGTER): Likewise.
47728         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47729         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47730         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47731         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47732         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47733         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47734         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47735         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47736         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47737         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47738         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47739         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47740         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47741         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47742         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47743         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47744         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47745         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47746         [X/Open-based standards] (SIGTRAP): Likewise.
47747         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47748         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47749         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47750         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47751         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47752         allow.
47754 2012-05-08  Ian Wienand  <ianw@vmware.com>
47756         [BZ #14080]
47757         * time/tzset.c (__tzset_parse_tz): Update default rules for
47758         daylight time changes in the Energy Policy Act of 2005.
47760 2012-05-09  Andreas Jaeger  <aj@suse.de>
47762         [BZ #13983]
47763         * elf/ldconfig.c (parse_conf): Change string to make clear that
47764         ldconfig only issued a warning if ld.so.conf does not exist.
47766 2012-05-08  David S. Miller  <davem@davemloft.net>
47768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47769         movxtod instead of popping the value on the stack.
47771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47773 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47775         * config.h.in: Add HAVE_ARM_PCS_VFP.
47777 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47779         [BZ #13979]
47780         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47781         checking but the checks are disabled for any reason.
47783 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47785         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47786         and ELF64_R_TYPE with ELFW(R_TYPE).
47788 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47790         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47791         (ulimit): Likewise.
47793         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47794         (settimeofday): Likewise.
47796 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47798         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47799         a struct th_u2 inside the union, and move tu_block/tu_code into
47800         a new th_u3 union of tu_block/tu_code inside of that.  Move
47801         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47802         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47803         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47804         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47805         (th_stuff): Change to th_u1.tu_stuff.
47806         (th_data): Define.
47807         (th_msg): Change to th_u1.th_u2.tu_data.
47809 2012-05-07  David S. Miller  <davem@davemloft.net>
47811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47813         [BZ #14074]
47814         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47815         (SETUP_PIC_REG): Use it.
47816         (SETUP_PIC_REG_LEAF): Use it.
47818 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47820         [BZ #13885]
47821         [BZ #13923]
47822         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47823         USE_AS_EXPM1L.
47824         (EXPL_FINITE): Likewise.
47825         (FLDLOG): Likewise.
47826         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47827         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47828         e_expl.S.
47829         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47830         USE_AS_EXPM1L.
47831         (EXPL_FINITE): Likewise.
47832         (FLDLOG): Likewise.
47833         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47834         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47835         e_expl.S.
47836         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47837         test of -max_value argument for long double.
47838         * sysdeps/i386/fpu/libm-test-ulps: Update.
47839         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47841 2012-05-06  David S. Miller  <davem@davemloft.net>
47843         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47844         quad soft-float symbols whose references which are compiler
47845         generated.
47846         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47848 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47850         [BZ #13884]
47851         [BZ #13914]
47852         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47853         USE_AS_EXP10L.
47854         (EXPL_FINITE): Likewise.
47855         (FLDLOG): Likewise.
47856         (c0): Likewise.
47857         (c1): Likewise.
47858         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47859         Adjust comments for base varying.
47860         (__expl_finite): Change alias to EXPL_FINITE.
47861         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47862         e_expl.S.
47863         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47864         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47865         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47866         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47867         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47868         USE_AS_EXP10L.
47869         (EXPL_FINITE): Likewise.
47870         (FLDLOG): Likewise.
47871         (c0): Likewise.
47872         (c1): Likewise.
47873         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47874         Adjust comments for base varying.
47875         (__expl_finite): Change alias to EXPL_FINITE.
47876         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47877         tests for bugs.
47878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47880         [BZ #14064]
47881         * math/libm-test.inc (check_float_internal): Correct ulp
47882         calculation for subnormal expected results.
47884 2012-05-06  Andreas Jaeger  <aj@suse.de>
47886         * Makeconfig (+math-flags): New, set to -frounding-math.
47887         (+cflags): Add +math-flags so that all of glibc gets compiled with
47888         it.
47890         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47892 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47894         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47895         Disable one test.
47897         [BZ #13787]
47898         [BZ #13922]
47899         [BZ #14036]
47900         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47901         (__ieee754_expl): Allow for and saturate large arguments.
47902         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47903         (u_threshold): Likewise.
47904         (__exp): Call __ieee754_exp before checking for overflow and
47905         underflow.
47906         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47907         (u_threshold): Likewise.
47908         (__expf): Call __ieee754_expf before checking for overflow and
47909         underflow.
47910         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47911         (u_threshold): Likewise.
47912         (__expl): Call __ieee754_expl before checking for overflow and
47913         underflow.
47914         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47915         (__ieee754_expl): Allow for and saturate large arguments.
47916         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47917         missing overflow exception on overflow.
47918         (expm1_test): Do not allow missing overflow exception on overflow.
47920         * sysdeps/i386/fpu/e_expl.c: Move to ...
47921         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47922         rather than using inline asm.
47923         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47924         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47925         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47927         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47928         (nice): Likewise.
47929         (poll): Likewise.
47930         (signal): Likewise.
47931         (time): Likewise.
47932         (times): Likewise.
47934 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47936         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47937         sysdeps/unix/common/syscalls.list.
47938         (fchmod): Likewise.
47939         (fchown): Likewise.
47940         (ftruncate): Likewise.
47941         (getrusage): Likewise.
47942         (gettimeofday): Likewise.
47943         (setpgid): Likewise.
47944         (setregid): Likewise.
47945         (setreuid): Likewise.
47946         (sigaction): Likewise.
47947         (truncate): Likewise.
47948         (vhangup): Likewise.
47949         * sysdeps/unix/common/syscalls.list: Remove file.
47950         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47951         * sysdeps/unix/sysv/linux/Implies: Likewise.
47953 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47955         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47957         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47958         Moved to ...
47959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47960         Here.
47961         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47962         to ...
47963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47964         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47965         to ...
47966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47967         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47968         to ...
47969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47970         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47971         to ...
47972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47973         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47974         to ...
47975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47976         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47977         to ...
47978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47979         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47980         to ...
47981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47982         Here.
47983         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47984         to ...
47985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47986         Here.
47987         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47988         to ...
47989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47990         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47991         Moved to ...
47992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47993         Here.
47994         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47995         to ...
47996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47998 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48000         * sysdeps/unix/common/bits/dirent.h: Remove file.
48001         * sysdeps/unix/common/bits/fcntl.h: Likewise.
48003         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
48004         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
48005         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
48006         * sysdeps/unix/bsd/isatty.c: Likewise.
48007         * sysdeps/unix/bsd/tcdrain.c: Likewise.
48008         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
48009         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
48011 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48013         [BZ #13563]
48014         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48015         long double comparison inaccuracies.
48016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48019 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48021         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48022         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48024 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48026         [BZ #14049]
48027         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48028         nonzero digits before rounding a hex value.
48029         * stdlib/tst-strtod.c (tests): Add another test.
48031 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48033         * sysdeps/s390/fpu/libm-test-ulps: Update.
48035 2012-05-03  Andreas Jaeger  <aj@suse.de>
48037         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48038         does not get optimized out.
48039         (malloc_opt_barrier): New.
48041 2012-05-03  Andreas Jaeger  <aj@suse.de>
48042             Roland McGrath  <roland@hack.frob.com>
48044         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48045         intermediate file deletion.
48046         (generated): Add .symlist files.
48048 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48050         [BZ #13775]
48051         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48052         Redirect under this condition.
48053         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48054         [__USE_GNU] (__dprintf_chk): Not under this condition.
48055         [__USE_GNU] (__vdprintf_chk): Likewise.
48056         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48057         under this condition.
48058         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48059         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48060         [__USE_XOPEN2K8] (vdprintf): Likewise.
48061         [__USE_GNU] (__dprintf_chk): Not under this condition.
48062         [__USE_GNU] (__vdprintf_chk): Likewise.
48063         [__USE_GNU] (dprintf): Likewise.
48064         [__USE_GNU] (vdprintf): Likewise.
48066 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48068         * elf/Makefile (common-generated): Set this instead of generated for
48069         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48070         $(all-built-dso)-derived lists.
48072 2012-05-03  Andreas Jaeger  <aj@suse.de>
48074         * sysdeps/i386/fpu/libm-test-ulps: Update.
48076         * FAQ: Removed.
48077         * FAQ.in: Likewise.
48078         * scripts/gen-FAQ.pl: Likewise.
48079         * manual/install.texi (Installation): Point to online location of
48080         FAQ.
48081         * Makefile (files-for-dist): Remove FAQ.
48082         (FAQ): Remove.
48084 2012-05-02  Allan McRae  <allan@archlinux.org>
48086         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48087         (LDFLAGS-reldepmod5.so): Likewise.
48088         (LDFLAGS-reldep6mod1.so): Likewise.
48089         (LDFLAGS-reldep6mod4.so): Likewise.
48090         (LDFLAGS-reldep8mod3.so): Likewise.
48091         (LDFLAGS-unload4mod1.so): Likewise.
48092         (LDFLAGS-unload4mod2.so): Likewise.
48093         (LDFLAGS-tst-initorder): Likewise.
48094         (LDFLAGS-tst-initordera2.so): Likewise.
48095         (LDFLAGS-tst-initordera3.so): Likewise.
48096         (LDFLAGS-tst-initordera4.so): Likewise.
48097         (LDFLAGS-tst-initorderb2.so): Likewise.
48098         (LDFLAGS-noload): Likewise.
48099         (LDFLAGS-next): Likewise.
48100         (LDFLAGS-order2mod1.so): Likewise.
48101         (LDFLAGS-order2mod2.so): Likewise.
48102         (LDFLAGS-tst-initorder2): Likewise.
48103         (LDFLAGS-tst-initorder2a.so): Likewise.
48104         (LDFLAGS-tst-initorder2b.so): Likewise.
48105         (LDFLAGS-tst-initorder2c.so): Likewise.
48106         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48108 2012-05-02  David S. Miller  <davem@davemloft.net>
48110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48112 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48114         [BZ #14055]
48115         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48117 2012-05-02  Andreas Jaeger  <aj@suse.de>
48119         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48120         since we manipulate rounding mode.
48121         (CPPFLAGS-test-idouble.c): Likewise.
48122         (CPPFLAGS-test-ifloat.c): Likewise.
48123         (CFLAGS-test-ldouble.c): Likewise.
48124         (CFLAGS-test-double.c): Likewise.
48125         (CFLAGS-test-float.c): Likewise.
48126         (CFLAGS-test-misc.c): Likewise.
48127         (CFLAGS-test-test-fenv.c): Likewise.
48129 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48131         [BZ #2550]
48132         [BZ #2570]
48133         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48134         comparisons to determine direction to adjust input.
48136 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48138         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48139         output to the target.
48141         * scripts/localplt.awk: New file.
48142         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48143         (check-localplt-CFLAGS): Variable removed.
48144         ($(all-built-dso:=.jmprel)): New static pattern rule.
48145         (generated): Add those targets.
48146         (localplt-built-dso): New variable.
48147         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48149         * elf/check-localplt.c: File removed.
48151         * scripts/check-execstack.awk: New file.
48152         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48153         (check-execstack-CFLAGS): Variable removed.
48154         ($(objpfx)check-execstack.h): Target removed.
48155         ($(objpfx)execstack-default): New target.
48156         (generated): Add that instead of check-execstack.h.
48157         ($(all-built-dso:=.phdr)): New static pattern rule.
48158         (generated): Add those targets.
48159         * elf/check-execstack.c: File removed.
48161         * scripts/check-textrel.awk: New file.
48162         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48163         (check-textrel-CFLAGS): Variable removed.
48164         (all-built-dso): Use := to define.o
48165         ($(all-built-dso:=.dyn)): New static pattern rule.
48166         (generated): Add those targets.
48167         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48168         * config.make.in (READELF): New substituted variable.
48169         * elf/check-textrel.c: File removed.
48171 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48173         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48174         allow.
48175         * conform/data/ctype.h-data [C99-based standards] (isblank):
48176         Expect function.
48177         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48178         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48180         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48181         Specify type.  Require positive value.
48182         (EILSEQ): Likewise.
48183         (ERANGE): Likewise.
48184         [ISO || POSIX] (EILSEQ): Do not expect.
48185         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48186         Specify type.  Require positive value.
48187         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48188         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48189         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48190         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48191         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48192         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48193         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48194         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48195         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48196         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48197         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48198         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48199         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48200         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48201         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48202         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48203         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48204         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48205         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48206         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48207         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48208         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48209         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48210         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48211         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48212         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48213         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48214         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48215         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48216         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48217         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48218         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48219         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48220         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48221         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48222         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48223         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48224         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48225         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48226         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48227         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48228         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48229         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48230         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48231         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48232         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48233         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48234         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48235         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48236         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48237         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48238         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48239         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48240         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48241         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48242         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48243         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48244         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48245         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48246         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48247         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48248         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48249         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48250         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48251         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48252         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48253         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48254         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48255         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48256         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48257         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48258         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48259         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48260         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48261         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48262         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48263         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48264         Require >= 2.
48265         (FLT_ROUNDS): Expect as macro, not constant.
48266         (FLT_MANT_DIG): Use macro-int-constant.
48267         (DBL_MANT_DIG): Likewise.
48268         (LDBL_MANT_DIG): Likewise.
48269         (FLT_DIG): Likewise.
48270         (DBL_DIG): Likewise.
48271         (LDBL_DIG): Likewise.
48272         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48273         (DBL_MIN_EXP): Likewise.
48274         (LDBL_MIN_EXP): Likewise.
48275         (FLT_MAX_EXP): Use macro-int-constant.
48276         (DBL_MAX_EXP): Likewise.
48277         (LDBL_MAX_EXP): Likewise.
48278         (FLT_MAX_10_EXP): Likewise.
48279         (DBL_MAX_10_EXP): Likewise.
48280         (LDBL_MAX_10_EXP): Likewise.
48281         (FLT_MAX): Use macro-constant.
48282         (DBL_MAX): Likewise.
48283         (LDBL_MAX): Likewise.
48284         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48285         (DBL_EPSILON): Likewise.
48286         (LDBL_EPSILON): Likewise.
48287         (FLT_MIN): Likewise.
48288         (DBL_MIN): Likewise.
48289         (LDBL_MIN): Likewise.
48290         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48291         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48292         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48293         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48294         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48295         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48296         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48297         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48298         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48299         [ISO11] (FLT_TRUE_MIN): Likewise.
48300         [ISO11] (LDBL_TRUE_MIN): Likewise.
48301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48302         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48303         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48304         (SCHAR_MAX): Likewise.
48305         (UCHAR_MAX): Likewise.
48306         (CHAR_MIN): Likewise.
48307         (CHAR_MAX): Likewise.
48308         (MB_LEN_MAX): Use macro-int-constant.
48309         (SHRT_MIN): Use macro-int-constant.  Specify type.
48310         (SHRT_MAX): Likewise.
48311         (USHRT_MAX): Likewise.
48312         (INT_MAX): Likewise.
48313         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48314         bound negative.
48315         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48316         bound with "U".
48317         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48318         bound with "L".
48319         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48320         bound negative.  Suffix upper bound with "L".
48321         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48322         bound with "UL".
48323         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48324         Specify type.
48325         [C99-based standards] (LLONG_MAX): Likewise.
48326         [C99-based standards] (ULLONG_MAX): Likewise.
48327         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48328         == 0.
48329         [ISO11] (max_align_t): Require type.
48330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48332         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48333         from $CFLAGS, without defining away __attribute__ calls.
48334         (checknamespace): Use $CFLAGS_namespace.
48336         * conform/conformtest.pl (@keywords): Only include C99 keywords
48337         for standards based on C99 or C11.
48339         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48340         Disable tests.
48341         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48342         UNIX98]: Likewise.
48344         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48345         usability of symbols in #if.
48347         * conform/conformtest.pl: If macro or constant types start
48348         "promoted:", expect the symbol to be of the following type
48349         promoted by the integer promotions.
48351         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48352         in one place.  Also handle "macro-constant".
48354         * conform/conformtest.pl: Only accept expected macro values with
48355         "==".  Parse all "macro" lines in one place.
48356         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48358         * conform/conformtest.pl: Handle braced types on "constant" lines
48359         instead of handling "typed-constant".
48360         * conform/data/signal.h-data: Use "constant" instead of
48361         "typed-constant".
48363         * conform/conformtest.pl: Handle "optional-" at start of lines in
48364         one place rather than duplicating several cases.  Handle each
48365         format of "macro" line with initial "optional-".
48367         * conform/conformtest.pl: Only accept expected constant or
48368         optional-constant values with "==".  Parse all "constant" lines in
48369         one place.  Parse all "optional-constant" lines in one place.
48370         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48371         * conform/data/fmtmsg.h-data: Likewise.
48372         * conform/data/netinet/in.h-data: Likewise.
48373         * conform/data/tar.h-data: Likewise.
48374         * conform/data/limits.h-data: Use "==" form on "constant" and
48375         "optional-constant" lines.
48377         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48378         Use -std=c99 for XOPEN2K.
48379         (@knownproblems): Remove.
48380         (newtoken): Don't check %isknown.
48382         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48383         Do not expect macro.
48384         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48385         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48386         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48387         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48388         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48389         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48390         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48391         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48392         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48393         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48394         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48395         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48396         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48397         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48398         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48399         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48400         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48401         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48402         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48403         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48404         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48405         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48406         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48407         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48408         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48409         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48410         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48411         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48412         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48413         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48414         [XPG3] (acosh): Likewise.
48415         [XPG3] (asinh): Likewise.
48416         [XPG3] (atanh): Likewise.
48417         [XPG3] (cbrt): Likewise.
48418         [XPG3] (expm1): Likewise.
48419         [XPG3] (ilogb): Likewise.
48420         [XPG3] (log1p): Likewise.
48421         [XPG3] (logb): Likewise.
48422         [XPG3] (nextafter): Likewise.
48423         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48424         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48425         [XPG3] (remainder): Likewise.
48426         [XPG3] (rint): Likewise.
48427         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48428         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48429         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48430         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48431         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48432         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48433         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48434         [UNIX98 || XOPEN2K] (scalb): Expect.
48435         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48436         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48437         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48438         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48439         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48440         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48441         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48442         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48443         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48444         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48445         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48446         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48447         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48448         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48449         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48450         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48451         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48452         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48453         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48454         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48455         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48456         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48457         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48458         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48459         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48460         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48461         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48462         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48463         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48464         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48465         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48466         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48467         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48468         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48469         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48470         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48471         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48472         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48473         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48474         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48475         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48476         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48477         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48478         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48479         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48480         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48481         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48482         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48483         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48484         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48485         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48486         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48487         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48488         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48489         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48490         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48491         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48492         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48493         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48494         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48495         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48496         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48497         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48498         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48499         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48500         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48501         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48502         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48503         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48504         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48505         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48506         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48507         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48508         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48509         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48510         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48511         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48512         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48513         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48514         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48515         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48516         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48517         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48518         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48519         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48520         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48521         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48522         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48523         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48524         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48525         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48526         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48527         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48528         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48529         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48530         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48531         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48532         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48533         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48534         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48535         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48536         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48537         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48538         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48539         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48540         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48541         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48542         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48543         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48544         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48545         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48546         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48547         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48548         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48549         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48550         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48551         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48552         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48553         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48554         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48555         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48556         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48557         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48558         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48559         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48560         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48561         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48562         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48563         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48564         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48565         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48566         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48567         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48568         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48569         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48570         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48571         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48573         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48574         _XOPEN_SOURCE_EXTENDED for XPG4.
48576         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48578         * Makeconfig (localtime): Remove variable.
48579         (inst_localtime-file): Likewise.
48581 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48584         Update.
48585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48586         Update.
48587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48588         Update.
48589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48590         Update.
48591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48592         Update.
48593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48594         Update.
48595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48596         Update.
48597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48598         Update.
48599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48600         Update.
48602 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48604         [BZ #2550]
48605         [BZ #2570]
48606         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48607         comparisons to determine direction to adjust input.
48608         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48609         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48610         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48611         Likewise.
48612         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48613         Likewise.
48614         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48615         Likewise.
48616         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48617         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48618         Likewise.
48619         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48620         Likewise.
48621         * math/libm-test.inc (nexttoward_test): Add more tests.
48623 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48625         [BZ #14040]
48626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48627         in version GLIBC_2.1, not GLIBC_2.0.
48628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48629         Likewise.
48631 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48633         [BZ #13942]
48634         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48635         (1 - x) * (1 + x).
48636         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48637         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48638         * math/libm-test.inc (acos_test): Add more tests.
48639         (asin_test): Likewise.
48640         * sysdeps/i386/fpu/libm-test-ulps: Update.
48641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48643         [BZ #14034]
48644         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48645         of square root.
48646         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48647         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48648         * math/libm-test.inc (acos_test_tonearest): New function.
48649         (acos_test_towardzero): Likewise.
48650         (acos_test_downward): Likewise.
48651         (acos_test_upward): Likewise.
48652         (asin_test_tonearest): Likewise.
48653         (asin_test_towardzero): Likewise.
48654         (asin_test_downward): Likewise.
48655         (asin_test_upward): Likewise.
48656         (main): Call the new functions.
48657         * sysdeps/i386/fpu/libm-test-ulps: Update.
48658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48660         [BZ #13884]
48661         [BZ #13924]
48662         * math/e_exp10.c: Include <float.h>.
48663         (__ieee754_exp10): Handle underflow here rather than multiplying
48664         large negative argument by M_LN10.
48665         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48666         of __ieee754_expf.
48667         * math/e_exp10l.c: Include <float.h>.
48668         (__ieee754_exp10l): Handle underflow here rather than multiplying
48669         large negative argument by M_LN10l.
48670         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48671         spurious overflow exception on underflow.
48673 2012-04-29  Marek Polacek  <polacek@redhat.com>
48675         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48676         (__fortify_function): New macro.
48677         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48678         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48679         __extern_always_inline.
48680         * libio/bits/stdio2.h: Likewise.
48681         * libio/bits/stdio.h: Likewise.
48682         * string/string.h: Likewise.
48683         * string/bits/string3.h: Likewise.
48684         * include/stdio.h: Likewise.
48685         * stdlib/bits/stdlib.h: Likewise.
48686         * stdlib/stdlib.h: Likewise.
48687         * rt/bits/mqueue2.h: Likewise.
48688         * rt/mqueue.h: Likewise.
48689         * posix/bits/unistd.h: Likewise.
48690         * posix/unistd.h: Likewise.
48691         * io/bits/poll2.h: Likewise.
48692         * io/bits/fcntl2.h: Likewise.
48693         * io/fcntl.h: Likewise.
48694         * io/sys/poll.h: Likewise.
48695         * misc/bits/syslog.h: Likewise.
48696         * misc/bits/syslog-ldbl.h: Likewise.
48697         * misc/sys/syslog.h: Likewise.
48698         * socket/bits/socket2.h: Likewise.
48699         * socket/sys/socket.h: Likewise.
48700         * debug/tst-chk1.c: Likewise.
48701         * wcsmbs/bits/wchar2.h: Likewise.
48702         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48703         * wcsmbs/wchar.h: Likewise.
48705 2012-04-29  Andreas Jaeger  <aj@suse.de>
48707         * Makerules (tests): Remove enable-check-abi protection.
48708         (check-abi-warn): Remove.
48709         (check-abi-%): Remove check-abi-warn usage.
48711         * configure.in: Remove check-abi configure option.
48712         * configure: Regenerated.
48713         * config.make.in (enable-check-abi): Remove.
48715 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48717         [BZ #14033]
48718         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48719         double functions to double *_finite functions.
48721         [BZ #13941]
48722         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48723         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48724         LDBL_MIN_EXP.
48725         * stdio-common/Makefile (tests): Add tst-sprintf3.
48726         * stdio-common/tst-sprintf3.c: New file.
48728         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48729         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48731 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48733         * conform/conformtest.pl: Remove duplicate typed-constant
48734         handling.
48736 2012-04-28  David S. Miller  <davem@davemloft.net>
48738         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48739         (check-abi-%): Remove AWK script prerequisite and explicit
48740         abilist directory.
48741         (check-abi): Rewrite to just diff the symlist with the abilist.
48742         (config-tls, config-abi-config): Delete, no longer used.
48743         (update-abi-%): Remove AWK script and explicit abilist directory.
48744         (update-abi): Rewrite to simply compare and conditionally copy the
48745         symlist and the sysdep abilist file.  Remove update-abi-config
48746         checks.
48747         * abilist/ld.abilist: Remove.
48748         * abilist/libBrokenLocale.abilist: Remove.
48749         * abilist/libanl.abilist: Remove.
48750         * abilist/libcrypt.abilist: Remove.
48751         * abilist/libdl.abilist: Remove.
48752         * abilist/librt.abilist: Remove.
48753         * abilist/libthread_db.abilist: Remove.
48754         * abilist/libutil.abilist: Remove.
48755         * scripts/extract-abilist.awk: Remove.
48756         * scripts/merge-abilist.awk: Remove.
48757         * sysdeps/generic/libcidn.abilist: New file.
48758         * sysdeps/generic/libnss_compat.abilist: New file.
48759         * sysdeps/generic/libnss_db.abilist: New file.
48760         * sysdeps/generic/libnss_dns.abilist: New file.
48761         * sysdeps/generic/libnss_files.abilist: New file.
48762         * sysdeps/generic/libnss_hesiod.abilist: New file.
48763         * sysdeps/generic/libnss_nis.abilist: New file.
48764         * sysdeps/generic/libnss_nisplus.abilist: New file.
48765         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48766         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48767         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48768         file.
48769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48770         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48771         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48772         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48773         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48774         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48775         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48776         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48777         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48778         file.
48779         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48780         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48781         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48782         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48783         file.
48784         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48785         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48786         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48787         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48788         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48789         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48790         file.
48791         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48792         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48793         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48794         file.
48795         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48797         New file.
48798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48799         New file.
48800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48801         New file.
48802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48803         New file.
48804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48805         New file.
48806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48807         New file.
48808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48809         New file.
48810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48811         New file.
48812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48813         New file.
48814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48815         New file.
48816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48817         New file.
48818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48819         New file.
48820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48821         New file.
48822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48823         file.
48824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48825         New file.
48826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48827         New file.
48828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48829         file.
48830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48831         New file.
48832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48833         New file.
48834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48835         file.
48836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48837         New file.
48838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48839         New file.
48840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48841         New file.
48842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48843         New file.
48844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48845         New file.
48846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48847         New file.
48848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48850         file.
48851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48852         New file.
48853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48854         file.
48855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48856         file.
48857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48858         file.
48859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48860         file.
48861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48862         file.
48863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48864         New file.
48865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48866         file.
48867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48868         file.
48869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48870         New file.
48871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48872         file.
48873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48875         file.
48876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48877         New file.
48878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48879         file.
48880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48881         file.
48882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48883         file.
48884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48885         file.
48886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48887         file.
48888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48889         New file.
48890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48891         file.
48892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48893         file.
48894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48895         New file.
48896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48897         file.
48898         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48899         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48900         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48901         file.
48902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48903         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48904         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48905         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48906         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48907         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48908         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48909         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48910         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48911         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48914         file.
48915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48916         New file.
48917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48918         file.
48919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48920         file.
48921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48922         file.
48923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48924         file.
48925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48926         file.
48927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48928         New file.
48929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48930         New file.
48931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48932         file.
48933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48934         New file.
48935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48936         file.
48937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48939         file.
48940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48941         New file.
48942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48943         file.
48944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48945         file.
48946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48947         file.
48948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48949         file.
48950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48951         file.
48952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48953         New file.
48954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48955         New file.
48956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48957         file.
48958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48959         New file.
48960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48961         file.
48963 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48965         * conform/conformtest.pl: Fix typo in handling typed-constant from
48966         allow-header.
48968 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48970         * README: Cut down references to pre-2.6 Linux kernels and
48971         Linuxthreads.  Update lists of configurations in libc and ports
48972         and sort alphabetically.  Say "or newer" with Linux kernel version
48973         requirements.
48975         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48977 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48979         [BZ #887]
48980         * math/libm-test.inc (logb_test_downward): New test to expose
48981         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48982         rounding mode.
48984 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48986         [BZ #14027]
48987         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48988         to be done.
48989         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48990         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48992 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48994         * sysdeps/unix/i386/brk.S: Remove file.
48995         * sysdeps/unix/i386/dl-brk.S: Likewise.
48996         * sysdeps/unix/i386/pipe.S: Likewise.
48997         * sysdeps/unix/i386/sigreturn.S: Likewise.
48998         * sysdeps/unix/i386/syscall.S: Likewise.
48999         * sysdeps/unix/i386/vfork.S: Likewise.
49000         * sysdeps/unix/i386/wait.S: Likewise.
49002         * sysdeps/unix/common/tcsendbrk.c: Move to ...
49003         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
49005         * configure.in (arm*-none*): Do not allow without
49006         --enable-hacker-mode.
49007         (netbsd*): Remove case setting base_os.
49008         (386bsd*): Likewise.
49009         (freebsd*): Likewise.
49010         (bsdi*): Likewise.
49011         (osf*): Likewise.
49012         (sunos*): Likewise.
49013         (ultrix*): Likewise.
49014         (newsos*): Likewise.
49015         (dynix*): Likewise.
49016         (*bsd*): Likewise.
49017         (sysv*): Likewise.
49018         (isc*): Likewise.
49019         (esix*): Likewise.
49020         (sco*): Likewise.
49021         (minix*): Likewise.
49022         (irix4*): Likewise.
49023         (irix6*): Likewise.
49024         (solaris[2-9]*): Likewise.
49025         (none): Likewise.
49026         * configure: Regenerated.
49028 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49030         [BZ #11521]
49031         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49032         overflow or cancellation in calculating denominator.
49033         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49034         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49035         down expression to avoid unexpected rounding in newer GCCs.
49036         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49038 2012-04-26  David S. Miller  <davem@davemloft.net>
49040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49041         long-double compat symbols.
49042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49056 2012-04-25  David S. Miller  <davem@davemloft.net>
49058         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49059         HWCAP_* values only after the memory barriers have been defined.
49060         (atomic_full_barrier): Define.
49061         (atomic_read_barrier): Define.
49062         (atomic_write_barrier): Define.
49064 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49066         * shlib-versions: Add libgcc_s version information.
49067         * sysdeps/generic/libgcc_s.h: Remove.
49068         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49069         libgcc_s.h.
49070         * sysdeps/gnu/unwind-resume.c: Likewise.
49071         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49073 2012-04-25  David S. Miller  <davem@davemloft.net>
49075         * sysdeps/unix/sparc/brk.S: Delete.
49076         * sysdeps/unix/sparc/dl-brk.S: Delete.
49077         * sysdeps/unix/sparc/pipe.S: Delete.
49078         * sysdeps/unix/sparc/sysdep.S: Delete.
49079         * sysdeps/unix/sparc/sysdep.h: Delete.
49080         * sysdeps/unix/sparc/vfork.S: Delete.
49081         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49082         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49083         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49084         (ret_ERRVAL, r0, r1, MOVE): Define.
49085         (JUMPTARGET): Remove.
49086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49087         sysdeps/unix/sparc/sysdep.h
49088         (ENTRY, END): Remove.
49089         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49091 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49093         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49094         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49095         -DIS_IN_build.
49097         * timezone/README: Update upstream location and email address for
49098         tzcode and tzdata.
49099         * timezone/zdump.c: Update from tzcode 2012b.
49100         * timezone/zic.c: Likewise.
49102         * configure.in (libc_cv_as_needed): Remove test.
49103         * configure: Regenerated.
49104         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49105         conditional definition.
49106         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49107         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49108         * config.make.in (have-as-needed): Remove variable.
49110 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49111             Paul Pluzhnikov  <ppluzhnikov@google.com>
49113         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49114         strings correctly.
49116 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49118         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49119         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49120         * sysdeps/sh/strlen.S: Likewise.
49122 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49124         * sysdeps/unix/fork.S: Remove file.
49125         * sysdeps/unix/i386/fork.S: Likewise.
49126         * sysdeps/unix/sparc/fork.S: Likewise.
49128         * sysdeps/unix/system.c: Remove file.
49129         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49131         * sysdeps/unix/getegid.S: Remove file.
49132         * sysdeps/unix/geteuid.S: Likewise.
49134 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49136         * scripts/check-localplt.awk: New file.
49137         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49138         of diff.
49139         * scripts/data/localplt-generic.data: Add a comment.
49141         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49142         NODE when __dir_mkfile failed.
49143         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49144         Reported by Ludovic Courtès <ludo@gnu.org>.
49146 2012-04-24  Andreas Jaeger  <aj@suse.de>
49148         * Makerules (common-clean): Also remove gen-as-const-headers
49149         files.
49151 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49153         * Makerules (native-compile): Do not change working directory for
49154         build.  Use $(OUTPUT_OPTION) in command.
49155         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49157 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49159         [BZ #13886]
49160         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49161         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49162         * math/libm-test.inc (floor_test): Add more tests.
49163         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49165 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49167         * sysdeps/unix/getdents.c: Remove file.
49168         * sysdeps/unix/sysv/getdents.c: Likewise.
49169         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49171         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49172         sysdeps/unix/mman/syscalls.list.
49173         (mmap): Likewise.
49174         (mprotect): Likewise.
49175         (msync): Likewise.
49176         (munmap): Likewise.
49177         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49178         * sysdeps/unix/mman/syscalls.list: Remove.
49179         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49181         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49182         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49183         * configure: Regenerated.
49184         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49185         $(libgcc_s_suffix).
49186         * config.make.in (libgcc_s_suffix): Remove variable.
49188 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49190         * sysdeps/unix/sysv/gethostname.c: Move to ...
49191         * sysdeps/posix/gethostname.c: ... here.
49193         * sysdeps/unix/execve.S: Remove file.
49195         * sysdeps/unix/_exit.S: Remove file.
49197 2012-04-23  Andreas Jaeger  <aj@suse.de>
49199         [BZ #13739]
49200         * manual/Makefile: Remove make dist support, there's no
49201         need for a stand-alone documentation tar ball.
49202         (TEXI2DVI): Define always, it's not in Makeconfig.
49203         (dist): Removed.
49204         (tar-it): Removed.
49205         (edition): Removed.
49206         (glibc-doc-$(edition).tar): Removed
49207         (%.Z): Removed.
49208         (%.gz): Removed.
49209         (%.uu): Removed.
49210         (ETAGS): Remove, it's in Makeconfig.
49211         (move-if-change): Remove, it's in Makeconfig.
49213 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49215         [BZ #13970]
49216         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49217         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49218         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49219         (strtod_l, strtof_l, strtold_l): Remove __wur.
49220         It is not necessarily an error to ignore strtol's return value.
49221         One can reliably look at the stored endptr to decide whether
49222         the number had valid syntax.
49224 2012-04-21  Andreas Jaeger  <aj@suse.de>
49226         [BZ #13739]
49227         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49229 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49231         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49232         * sysdeps/unix/sysv/Versions: Remove file.
49234 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49236         [BZ #13927]
49237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49239 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49241         [BZ #7064]
49242         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49243         version from __vm86.
49245 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49247         * sysdeps/unix/common/lxstat.c: Remove file.
49248         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49250         * sysdeps/unix/sysv/Makefile: Remove file.
49252         * sysdeps/unix/sysv/direct.h: Remove file.
49254         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49255         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49256         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49257         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49258         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49259         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49260         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49262         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49264         * sysdeps/unix/xmknod.c: Remove file.
49265         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49267         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49269         * sysdeps/unix/sysv/i386/time.S: Remove file.
49271         * sysdeps/unix/fxstat.c: Remove file.
49272         * sysdeps/unix/xstat.c: Likewise.
49273         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49275         * sysdeps/unix/sysv/sigaction.c: Remove file.
49277         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49278         (sysdep_headers): Remove variable.
49279         [termio.h not in sysdep_headers] (generated): Likewise.
49280         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49281         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49282         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49283         * sysdeps/unix/sysv/tcflow.c: Likewise.
49284         * sysdeps/unix/sysv/tcflush.c: Likewise.
49285         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49286         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49287         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49288         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49289         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49291         * sysdeps/unix/siglist.c: Remove file.
49293         * sysdeps/unix/getppid.S: Remove file.
49295         * sysdeps/unix/mkdir.c: Remove file.
49296         * sysdeps/unix/rmdir.c: Likewise.
49298 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49300         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49301         ERR_MAX value.
49302         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49303         errlist-compat value.
49305 2012-04-18  David S. Miller  <davem@davemloft.net>
49307         * sysdeps/generic/memcopy.h (reg_char): Delete.
49308         * debug/strcat_chk.c: Use char, not reg_char.
49309         * debug/strcpy_chk.c: Likewise.
49310         * debug/strncat_chk.c: Likewise.
49311         * debug/strncpy_chk.c: Likewise.
49312         * string/memchr.c: Likewise.
49313         * string/memrchr.c: Likewise.
49314         * string/rawmemchr.c: Likewise.
49315         * string/strcat.c: Likewise.
49316         * string/strchr.c: Likewise.
49317         * string/strchrnul.c: Likewise.
49318         * string/strcmp.c: Likewise.
49319         * string/strcpy.c: Likewise.
49320         * string/strncat.c: Likewise.
49321         * string/strncmp.c: Likewise.
49322         * string/strncpy.c: Likewise.
49324 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49326         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49327         __builtin_memcopy is called when src and dest ranges are known to not
49328         overlap.
49330 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49332         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49333         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49334         fwd_align_merge macro call.
49335         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49336         bwd_align_merge macro call.
49337         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49339 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49341         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49342         bwd_align_merge macros.
49343         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49344         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49345         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49347 2012-04-18  David S. Miller  <davem@davemloft.net>
49349         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49351 2012-04-18  Andreas Jaeger  <aj@suse.de>
49353         [BZ# 6794]
49354         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49355         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49356         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49358         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49359         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49360         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49362         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49363         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49364         Adjust for changed ldbl-128 files.
49366         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49367         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49368         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49370 2012-04-17  David S. Miller  <davem@davemloft.net>
49372         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49374 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49376         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49377         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49378         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49379         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49380         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49381         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49383 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49385         [BZ #6794]
49386         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49387         * math/libm-test.inc: Add ilogb errno and exception tests.
49388         * math/w_ilogb.c: New file: ilogb wrapper.
49389         * math/w_ilogbf.c: New file: ilogbf wrapper.
49390         * math/w_ilogbl.c: New file: ilogbl wrapper.
49391         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49392         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49393         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49394         exception being thrown with 0.0 as argument.
49395         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49396         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49397         exception being thrown with 0.0 as argument.
49398         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49399         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49400         exception being thrown with 0.0 as argument.
49401         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49402         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49403         exception being thrown with 0.0 as argument.
49404         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49405         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49406         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49407         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49408         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49409         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49410         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49411         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49412         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49414 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49416         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49417         with altivec.
49419 2012-04-16  Marek Polacek  <polacek@redhat.com>
49421         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49423 2012-04-16  Marek Polacek  <polacek@redhat.com>
49425         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49426         operands of fdivp instruction.
49428 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49430         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49431         * elf/tst-auditmod3b.c: Likewise.
49432         * elf/tst-auditmod4b.c: Likewise.
49433         * elf/tst-auditmod5b.c: Likewise.
49434         * elf/tst-auditmod6b.c: Likewise.
49435         * elf/tst-auditmod6c.c: Likewise.
49436         * elf/tst-auditmod7b.c: Likewise.
49437         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49438         * sysdeps/x86_64/preconfigure.in: Likewise.
49439         * sysdeps/x86_64/preconfigure: Regenerated.
49441 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49443         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49444         __ILP32__.
49446 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49449         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49451 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49453         [BZ #13973]
49454         * locale/iso-639.def: Fix gl language name. Spotted by
49455         Yaron Shahrabani.
49457 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49459         [BZ #2074]
49460         * libio/libio.h (__io_write_fn): Update comment.
49462 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49464         [BZ #2074]
49465         * stdio.texi (Hook Functions): The user provided writer function
49466         is not allowed to return -1.
49468 2012-04-11  David S. Miller  <davem@davemloft.net>
49470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49472 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49474         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49475         Add a leading slash to rtkaio.
49477 2012-04-11  Jim Meyering  <meyering@redhat.com>
49479         [BZ #11959]
49480         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49481         It is not necessarily an error to ignore fwrite's return
49482         value.  One can reliably use ferror to test for errors after
49483         the fact.
49485 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49487         * bits/types.h (__snseconds_t): New type.
49488         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49490         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49492         (__SNSECONDS_T_TYPE): Likewise.
49493         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49494         (__SNSECONDS_T_TYPE): Likewise.
49495         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49496         (__SNSECONDS_T_TYPE): Likewise.
49498 2012-04-10  Andreas Jaeger  <aj@suse.de>
49500         [BZ #2636]
49501         * manual/time.texi (Processor Time): Return type of times is
49502         elapsed real time since an arbitrary point in the past.
49503         (CPU Time): Move CLK_TCK from here...
49504         (Processor Time): ...to here.  Correct description.
49505         * manual/conf.texi (Constants for Sysconf): Correct description of
49506         _SC_CLK_TCK.
49508 2012-04-10  David S. Miller  <davem@davemloft.net>
49510         [BZ #13967]
49511         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49512         where the is a gap between DT_REL(A) and DT_JMPREL.
49514 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49516         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49517         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49518         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49520 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49522         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49523         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49524         (dl_main): Handle --inhibit-cache.
49525         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49526         _dl_inhibit_cache.
49527         * elf/dl-load.c (_dl_map_object): Use it.
49528         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49530 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49532         [BZ #13872]
49533         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49534         (__ieee754_powl): Saturate large exponents rather than testing for
49535         overflow of y*log2(x).
49536         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49537         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49538         exceptions.
49540         [BZ #11521]
49541         * math/s_ctan.c: Include <float.h>.
49542         (__ctan): Avoid internal overflow or cancellation in calculating
49543         denominator.
49544         * math/s_ctanf.c: Likewise.
49545         * math/s_ctanl.c: Likewise.
49546         * math/s_ctanh.c: Likewise.
49547         * math/s_ctanhf.c: Likewise.
49548         * math/s_ctanhl.c: Likewise.
49549         * math/libm-test.inc (ctan_test): Add more tests.
49550         (ctanh_test): Likewise.
49551         * sysdeps/i386/fpu/libm-test-ulps: Update.
49552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49554 2012-04-09  Andreas Jaeger  <aj@suse.de>
49556         [BZ #6894]
49557         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49558         is an optional BSD extension.
49560         [BZ #10254]
49561         * manual/stdio.texi (Opening Streams): Document additional fopen
49562         parameters.
49564 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49566         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49567         %eax without telling the compiler.
49569 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49571         [BZ # 13963]
49572         * manual/install.texi: Use sourceware.org.
49574 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49576         [BZ #13873]
49577         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49578         (__ieee754_pow): Generate overflow and underflow using huge*huge
49579         and tiny*tiny rather than just returning constant infinity or zero
49580         for large exponents.
49581         * math/libm-test.inc (pow_test): Require overflow exceptions for
49582         applicable cases of large exponents.
49584         [BZ #706]
49585         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49586         (__ieee754_pow): Use iterative multiplication algorithm only for
49587         integer exponents with absolute value below 1024.  Check for odd
49588         integer exponents when using algorithm for real exponents.
49589         * math/libm-test.inc (pow_test): Add more tests.
49590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49592 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49594         [BZ #13705]
49595         * math/libm-test.inc (exp_test): Do not allow overflow exception
49596         on underflow test.
49598 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49600         [BZ #13705]
49601         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49602         instead of __kernel_standard_f.
49604 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49606         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49607         * sysdeps/x86_64/memset_chk.S: Likewise.
49609 2012-04-08  Andreas Jaeger  <aj@suse.de>
49611         [BZ #10153]
49612         * manual/startup.texi (Environment Access): Describe return value
49613         for putenv and setenv.
49615         [BZ #6895]
49616         * manual/filesys.texi (Directory Entries): Add description for
49617         DT_LNK.
49619         [BZ #6890]
49620         * manual/filesys.texi (Directory Entries): Clarify that it's file
49621         system not operating system in the description of DT_UNKNOWN.
49623         [BZ #6578]
49624         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49626 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49628         [BZ #6649]
49629         * manual/llio.texi (Opening and Closing Files): Add cross
49630         reference to explain mode argument.
49632 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49634         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49635         * sysdeps/x86_64/memset_chk.S: Likewise.
49637 2012-04-07  David S. Miller  <davem@davemloft.net>
49639         * elf/elf.h (R_SPARC_WDISP10): Define.
49640         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49641         R_SPARC_SIZE32.
49642         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49643         R_SPARC_SIZE64 and R_SPARC_H34.
49645 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49647         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49648         conditions and remove no longer applicable assertion.
49650 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49652         * bits/byteswap.h: Include <features.h>.
49653         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49654         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49656 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49658         * bits/byteswap.h (__bswap_16): Removed.
49659         Include <bits/byteswap-16.h> to get __bswap_16.
49660         * sysdeps/i386/bits/byteswap.h: Likewise.
49661         * sysdeps/s390/bits/byteswap.h: Likewise.
49662         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49663         * bits/byteswap-16.h: New file.
49664         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49665         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49666         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49667         * string/Makefile (headers): Add bits/byteswap-16.h.
49669 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49671         [BZ #13895]
49672         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49673         extra indirection.
49674         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49675         * nss/tst-nss-static.c: New.
49677 2012-04-06  Robert Millan  <rmh@gnu.org>
49679         [BZ #6486]
49680         * manual/llio.texi (File Position Primitive): lseek
49681         refers to WHENCE when it really means OFFSET.
49683 2012-04-06  Andreas Jaeger  <aj@suse.de>
49685         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49686         strncmp declarations.
49688         * abilist/libc.abilist: Add __poll and __ppoll.
49690 2012-04-05  David S. Miller  <davem@davemloft.net>
49692         * scripts/check-local-headers.sh: Accept a host triplet in the
49693         path matched by the exclude regexp.
49695         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49696         definition.
49697         * sysdeps/powerpc/powerpc32/dl-machine.h
49698         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49699         * sysdeps/s390/s390-32/dl-machine.h
49700         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49701         * sysdeps/sparc/sparc32/dl-machine.h
49702         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49703         * sysdeps/sparc/sparc64/dl-machine.h
49704         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49706         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49707         lazy binding.
49708         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49709         undefined symbol errors.
49711         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49712         DT_NEEDED entries.
49714 2012-04-05  Michael Matz  <matz@suse.de>
49716         [BZ #13592]
49717         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49719 2012-04-05  Andreas Jaeger  <aj@suse.de>
49721         [BZ #13908]
49722         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49723         comment.
49725 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49727         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49728         which ROUND is no valid rounding mode.
49730 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49732         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49733         read again.
49734         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49736 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49738         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49739         an exception using FPU order intentionally.
49741 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49743         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49744         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49745         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49746         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49748 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49750         [BZ #12340]
49751         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49752         EINVAL when BUFLEN is too smal.
49754 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49756         [BZ #13553]
49757         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49758         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49760 2012-04-03  Andreas Jaeger  <aj@suse.de>
49762         [BZ #13938]
49763         * manual/setjmp.texi (System V contexts): Fix sentence.
49765         [BZ #13926]
49766         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49767         New macro for this case.
49768         [!__GNUC__] (__bswap_64): New inline function for this case.
49769         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49770         * bits/byteswap.h: Likewise.
49771         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49772         ull, guard with __GLIBC_HAVE_LONG_LONG.
49774         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49775         __GLIBC_HAVE_LONG_LONG.
49777         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49778         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49780 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49782         [BZ #13691]
49783         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49784         inptr and inend, rather than using last_ch.
49786 2012-04-02  David S. Miller  <davem@davemloft.net>
49788         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49789         * stdio-common/printf-parse.h (read_int): Change return type to
49790         'int', return -1 on INT_MAX overflow.
49791         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49792         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49793         overflows INT_MAX.  Check for overflow of in-format-string precision
49794         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49795         SIZE_MAX not INT_MAX for integer overflow test.
49796         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49797         skip the construct in the format string but do not record anything.
49798         * stdio-common/bug22.c: Adjust to test both width/prevision
49799         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49800         explicitly for proper errno values.
49802 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49804         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49805         CHAR_MAX.
49806         * string/test-strcmp.c [! WIDE]: Likewise.
49807         * time/tst-mktime2.c: Likewise for INT_MAX.
49808         * string/test-string.h: #include <sys/param.h> for MIN.
49810         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49811         * sysdeps/i386/init-first.c (init): Likewise.
49812         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49813         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49814         * sysdeps/sh/init-first.c (init): Likewise.
49816 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49818         * po/ru.po: Update from translation team.
49819         * po/vi.po: Likewise.
49821 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49823         * resolv/nss_dns/dns-host.c: Merge copyright years.
49825 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49827         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49828         Optimize memcpy with prefetch if
49829         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49830         src, dst pointers have unequal 16 byte alignments.
49832 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49834         [BZ #13928]
49835         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49836         from a CNAME entry and return the minimum ttl for the query.
49837         (gaih_getanswer_slice): Likewise.
49839 2012-03-30  Jeff Law  <law@redhat.com>
49841         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49842         due to long keys.
49843         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49844         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49846         * resolv/nss_dns/dns-host.c: Update copyright year.
49848 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49850         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49851         requests to save a system call.  Fix check that all bytes are sent.
49853         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49854         comments for sendmmsg.
49856 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49858         [BZ #13691]
49859         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49860         with only 1 character between 0x0041 and 0x01b0.
49861         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49862         * wcsmbs/tst-mbsnrtowcs.c: New file.
49864 2012-03-29  David S. Miller  <davem@davemloft.net>
49866         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49867         small copies by hand.
49869 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49871         [BZ #13761]
49872         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49873         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49874         group memberships.
49876 2012-03-28  David S. Miller  <davem@davemloft.net>
49878         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49879         that branches into memcpy.
49880         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49881         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49882         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49883         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49884         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49885         bits.
49886         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49887         implementation too.
49888         * sysdeps/sparc/mempcpy.S: New file.
49890         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49891         the IFUNC routine in the libc case.
49892         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49894         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49895         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49896         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49897         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49898         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49899         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49900         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49901         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49903         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49904         loop to 256 bytes instead of 64 bytes and fix test signedness.
49906         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49907         * sysdeps/sparc/sparc32/Makefile: rather than here...
49908         * sysdeps/sparc/sparc64/Makefile: and here.
49910 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49912         * malloc/mallocbug.c: Avoid warnings about unused variables.
49914 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49916         [BZ #13760]
49917         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49918         in the right place. Discard and retry query if response is
49919         larger than input buffer size.
49921 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49923         [BZ #369]
49924         [BZ #2678]
49925         [BZ #3866]
49926         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49927         x for large integer exponent.
49928         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49929         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49930         sign of result as needed afterwards.
49931         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49932         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49933         result for underflowing pow the same as for overflow.
49934         (__kernel_standard_l): Handle powl overflow and underflow here
49935         rather than calling __kernel_standard.
49936         * math/libm-test.inc (pow_test): Add more tests.
49938         [BZ #3868]
49939         [BZ #13879]
49940         [BZ #13910]
49941         [BZ #13911]
49942         [BZ #13912]
49943         [BZ #13913]
49944         [BZ #13915]
49945         [BZ #13916]
49946         [BZ #13917]
49947         [BZ #13918]
49948         [BZ #13919]
49949         [BZ #13920]
49950         [BZ #13921]
49951         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49952         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49953         (__kernel_standard_l): New function.
49954         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49955         __kernel_standard.
49956         * math/w_acosl.c (__acosl): Likewise.
49957         * math/w_asinl.c (__asinl): Likewise.
49958         * math/w_atan2l.c (__atan2l): Likewise.
49959         * math/w_atanhl.c (__atanhl): Likewise.
49960         * math/w_coshl.c (__coshl): Likewise.
49961         * math/w_exp10l.c (__exp10l): Likewise.
49962         * math/w_exp2l.c (__exp2l): Likewise.
49963         * math/w_fmodl.c (__fmodl): Likewise.
49964         * math/w_hypotl.c (__hypotl): Likewise.
49965         * math/w_j0l.c (__j0l, __y0l): Likewise.
49966         * math/w_j1l.c (__j1l, __y1l): Likewise.
49967         * math/w_jnl.c (__jnl, __ynl): Likewise.
49968         * math/w_lgammal.c (__lgammal): Likewise.
49969         * math/w_log10l.c (__log10l): Likewise.
49970         * math/w_log2l.c (__log2l): Likewise.
49971         * math/w_logl.c (__logl): Likewise.
49972         * math/w_powl.c (__powl): Likewise.
49973         * math/w_remainderl.c (__remainderl): Likewise.
49974         * math/w_scalbl.c (sysv_scalbl): Likewise.
49975         * math/w_sinhl.c (__sinhl): Likewise.
49976         * math/w_sqrtl.c (__sqrtl): Likewise.
49977         * math/w_tgammal.c (__tgammal): Likewise.
49978         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49979         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49980         * math/libm-test.inc (acos_test): Add more tests.
49981         (acosh_test): Likewise.
49982         (asin_test): Likewise.
49983         (atanh_test): Likewise.
49984         (exp_test): Likewise.
49985         (exp10_test): Likewise.
49986         (exp2_test): Likewise.
49987         (expm1_test): Likewise.
49988         (lgamma_test): Likewise.
49989         (log_test): Likewise.
49990         (log10_test): Likewise.
49991         (log1p_test): Likewise.
49992         (log2_test): Likewise.
49993         (pow_test): Do not allow some spurious overflow exceptions.
49994         (sqrt_test): Add more tests.
49995         (tgamma_test): Likewise.
49996         (y0_test): Likewise.
49997         (y1_test): Likewise.
49998         (yn_test): Likewise.
50000 2012-03-27  Anton Blanchard  <anton@samba.org>
50002         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
50003         MAP_HUGETLB.
50004         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50005         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50006         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50008 2012-03-27  David S. Miller  <davem@davemloft.net>
50010         * conform/Makefile: Run run-conformtest.sh using $(BASH).
50012         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50013         have-as-vis3 check.
50015 2012-03-27  Andreas Jaeger  <aj@suse.de>
50017         * sysdeps/x86_64/elf/configure.in: Moved to ...
50018         * sysdeps/x86_64/configure.in: ... here.
50019         * sysdeps/x86_64/elf/start.S: Moved to ...
50020         * sysdeps/x86_64/start.S: ... here.
50021         * sysdeps/x86_64/elf/configure: Delete.
50023         * sysdeps/x86_64/configure.in: Merge contents from
50024         sysdeps/i386/configure.in (without i686 check).
50026         * sysdeps/i386/elf/Versions: Merge into ...
50027         * sysdeps/i386/Versions: ... this.
50028         * sysdeps/i386/elf/Versions: Delete file.
50029         * sysdeps/i386/elf/start.S: Moved to ...
50030         * sysdeps/i386/start.S: ...here.
50031         * sysdeps/i386/elf/configure.in: Merge into...
50032         * sysdeps/i386/configure.in: ...here.
50033         * sysdeps/i386/elf/configure.in: Delete file.
50034         * sysdeps/i386/elf/configure: Delete file.
50036         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50037         * debug/backtracesyms.c: ... here.
50038         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50039         * debug/backtracesymsfd.c: ... here.
50040         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50041         * sysdeps/generic/ifunc-sel.h: ... here.
50043         * sysdeps/unix/i386/start.c: Delete file.
50044         * sysdeps/unix/sparc/start.c: Delete file.
50045         * sysdeps/unix/start.c: Delete file.
50047         * sysdeps/sh/elf/configure.in: Moved to ...
50048         * sysdeps/sh/configure.in: ... here.
50049         * sysdeps/sh/elf/start.S: Moved to ...
50050         * sysdeps/sh/start.S: ... here.
50051         * sysdeps/sh/elf/configure: Delete file.
50053         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50054         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50055         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50056         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50057         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50058         * sysdeps/powerpc/powerpc64/start.S: here.
50059         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50060         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50061         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50062         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50063         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50065         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50066         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50067         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50068         * sysdeps/powerpc/powerpc32/start.S: ... here.
50069         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50070         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50071         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50073         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50074         * sysdeps/powerpc/ifunc-sel.h: ... here.
50075         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50076         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50078         * sysdeps/sparc/elf/configure.in: Moved to ...
50079         * sysdeps/sparc/configure.in: ... here.
50080         * sysdeps/sparc/elf/configure: Delete file.
50081         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50082         * sysdeps/sparc/sparc32/start.S: ... here.
50083         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50084         * sysdeps/sparc/sparc64/start.S: ... here.
50085         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50086         * sysdeps/sparc/sparc32/Makefile: ... this.
50087         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50088         * sysdeps/sparc/sparc64/Makefile: ... this.
50090         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50091         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50092         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50093         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50094         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50095         * sysdeps/s390/s390-32/setjmp.S: ... here.
50096         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50097         * sysdeps/s390/s390-32/configure.in: ... here.
50098         * sysdeps/s390/s390-32/elf/configure: Delete file.
50099         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50100         * sysdeps/s390/s390-32/start.S: ... here.
50102         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50103         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50104         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50105         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50106         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50107         * sysdeps/s390/s390-64/setjmp.S: ... here.
50108         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50109         * sysdeps/s390/s390-64/configure.in: ... here
50110         * sysdeps/s390/s390-64/elf/configure: Delete file.
50111         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50112         * sysdeps/s390/s390-64/start.S: ... here.
50113         * sysdeps/s390/s390-64/elf/configure: Delete.
50115         * configure.in: Remove support for elf directories in sysdeps.
50117         * configure: Regenerated.
50118         * sysdeps/i386/configure: Regenerated.
50119         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50120         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50121         * sysdeps/s390/s390-32/configure: Regenerated.
50122         * sysdeps/s390/s390-64/configure: Regenerated.
50123         * sysdeps/sh/configure: Regenerated.
50124         * sysdeps/sparc/configure: Regenerated.
50125         * sysdeps/x86_64/configure: Regenerated.
50127 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50131         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50132         denormal result into account.
50134 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50136         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50137         Reported by Allan McRae <allan@archlinux.org>.
50139 2012-03-23  Jeff Law  <law@redhat.com>
50141         * nss/getnssent.c (__nss_getent): Fix typo.
50143 2012-03-23  David S. Miller  <davem@davemloft.net>
50145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50147 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50149         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50150         to pad to uint64_t for each field.
50151         (dl_tls_index): Replace unsigned long with uint64_t.
50153 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50154         Paul Pluzhnikov  <ppluzhnikov@google.com>
50156         [BZ #6528]
50157         * grp/Makefile (otherlibs): Don't set it.
50158         * inet/Makefile (otherlibs): Likewise.
50159         * login/Makefile (otherlibs): Likewise.
50160         * nscd/Makefile (otherlibs): Likewise.
50161         * posix/Makefile (otherlibs): Likewise.
50162         * pwd/Makefile (otherlibs): Likewise.
50163         * rt/Makefile (otherlibs): Likewise.
50164         * sunrpc/Makefile (otherlibs): Likewise.
50165         * nss/Makefile (otherlibs): Likewise.
50166         Add libnss_files to routines and static-only-routines.
50167         ($(objpfx)getent): Remove rule.
50168         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50169         static-only-routines.
50171 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50173         [BZ #13892]
50174         * math/s_cexp.c: Include <float.h>.
50175         (__cexp): Handle exp result overflowing not necessarily
50176         overflowing both real and imaginary parts of result.
50177         * math/s_cexpf.c: Likewise.
50178         * math/s_cexpl.c: Likewise.
50179         * math/libm-test.inc (cexp_test): Add more tests.
50180         * sysdeps/i386/fpu/libm-test-ulps: Update.
50181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50183 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50185         * include/link.h (ELFW): New macro.
50186         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50187         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50189 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50191         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50192         with uint64_t.
50194 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50196         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50197         declaration.
50198         (struct La_x32_retval): Likewise.
50200 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50202         * sysdeps/x86_64/preconfigure.in: New file.
50203         * sysdeps/x86_64/preconfigure: New generated file.
50205 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50207         [BZ #13824]
50208         * math/e_exp2l.c: Include <float.h>.
50209         (__ieee754_exp2l): Handle overflow and underflow cases
50210         separately.  Only pass fractional part of argument to
50211         __ieee754_expl.
50212         * math/libm-test.inc (exp2_test): Add more tests.
50214         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50215         negating x to take absolute value.
50216         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50217         Likewise.
50218         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50219         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50220         Likewise.
50221         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50222         computing low part if x was negated.
50223         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50225 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50227         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50228         la_x32_gnu_pltexit.
50229         (pltexit): Cast int_retval to ptrdiff_t.
50230         * elf/tst-auditmod3b.c: Likewise.
50231         * elf/tst-auditmod4b.c: Likewise.
50232         * elf/tst-auditmod5b.c: Likewise.
50233         * elf/tst-auditmod6b.c: Likewise.
50234         * elf/tst-auditmod6c.c: Likewise.
50235         * elf/tst-auditmod7b.c: Likewise.
50237         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50238         and x32_gnu_pltexit.
50240         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50241         __ELF_NATIVE_CLASS.
50242         (La_x32_regs): New macro.
50243         (La_x32_retval): Likewise.
50244         (la_x32_gnu_pltenter): New function prototype.
50245         (la_x32_gnu_pltexit): Likewise.
50247 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50249         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50250         exponent.
50252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50254         * configure.in (libc_cv_cc_nofma): Check for option to disable
50255         generation of FMA instructions.
50256         * configure: Regenerate.
50257         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50258         * sysdeps/ieee754/dbl-64/Makefile: New file.
50259         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50260         Remove brandred-fma4.
50261         (CFLAGS-brandred-fma4.c): Remove.
50262         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50263         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50264         define.
50265         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50266         define.
50268 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50270         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50271         LLONG_MAX != LONG_MAX.
50272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50273         (_fitoa_word): Likewise.
50274         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50275         LLONG_MAX != LONG_MAX.
50276         * stdio-common/_itowa.h: Include <_itoa.h>.
50277         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50278         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50279         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50280         only if not defined.
50281         (_ITOA_WORD_TYPE): Likewise.
50282         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50283         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50285 2012-03-21  David S. Miller  <davem@davemloft.net>
50287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50289 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50291         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50292         of x86_64 when setting libc_cv_slibdir, libdir and
50293         libc_cv_localedir.
50294         * sysdeps/unix/sysv/linux/configure: Regenerated.
50296 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50298         * manual/lang.texi (Old Varargs): Remove section.
50299         (How Variadic): Update menu.
50300         (va_start): Do not mention varargs.h.
50302 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50303             Joseph Myers  <joseph@codesourcery.com>
50305         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50306         link test.
50307         * configure: Regenerated.
50309 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50311         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50312         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50313         conformtest.pl
50315 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50317         * NOTES: Remove.
50318         * Makefile (files-for-dist): Remove NOTES.
50319         (NOTES): Remove rule.
50320         * README: Don't refer to NOTES.
50321         * manual/creature.texi: Don't include macros.texi.
50322         * manual/intro.texi (creature.texi): Remove comment referring to
50323         NOTES.
50325         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50326         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50327         * configure: Regenerated.
50328         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50329         LIBC_TRY_CC_OPTION.
50330         (libc_cv_as_i686): Likewise.
50331         (libc_cv_cc_avx): Likewise.
50332         (libc_cv_cc_sse2avx): Likewise.
50333         (libc_cv_cc_fma4): Likewise.
50334         (libc_cv_cc_novzeroupper): Likewise.
50335         * sysdeps/i386/configure: Regenerated.
50337         [BZ #13883]
50338         * sysdeps/i386/fpu/s_cexp.S: Remove.
50339         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50340         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50341         * math/libm-test.inc (cexp_test): Add more tests.
50342         * sysdeps/i386/fpu/libm-test-ulps: Update.
50343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50345 2012-03-21  Allan McRae  <allan@archlinux.org>
50347         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50349 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50351         [BZ #13871]
50352         * math/w_exp2.c: Do not include <float.h>.
50353         (o_threshold, u_threshold): Remove.
50354         (__exp2): Calculate result before checking finiteness and calling
50355         __kernel_standard.
50356         * math/w_exp2f.c: Likewise.
50357         * math/w_exp2l.c: Likewise.
50358         * math/libm-test.inc (exp2_test): Require overflow exception for
50359         1e6 input.
50361         [BZ #3866]
50362         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50363         range of signed 64-bit integers before using fistpll.  Remove
50364         checks for whether integers fit in mantissa bits.
50365         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50366         the range of signed 32-bit integers before using fistpl.  Remove
50367         checks for whether integers fit in mantissa bits.
50368         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50369         (__ieee754_powl): Test for y outside the range of signed 64-bit
50370         integers before using fistpll.  Reduce 64-bit values to 63-bit
50371         ones as needed.
50372         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50373         divide-by-zero is raised for zero to large negative powers.
50374         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50375         (__ieee754_powl): Test for y outside the range of signed 64-bit
50376         integers before using fistpll.  Reduce 64-bit values to 63-bit
50377         ones as needed.
50378         * math/libm-test.inc (pow_test): Add more tests.
50380 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50382         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50383         <stdio-common/_itoa.h>.
50384         * debug/segfault.c: Likewise.
50385         * elf/dl-cache.c: Likewise.
50386         * elf/dl-minimal.c: Likewise.
50387         * elf/dl-misc.c: Likewise.
50388         * elf/dl-sysdep.c: Likewise.
50389         * elf/dl-version.c: Likewise.
50390         * elf/rtld.c: Likewise.
50391         * hurd/hurdsock.c: Likewise.
50392         * hurd/lookup-retry.c: Likewise.
50393         * malloc/malloc.c: Likewise.
50394         * malloc/mtrace.c: Likewise.
50395         * nscd/nscd_getgr_r.c: Likewise.
50396         * nscd/nscd_getpw_r.c: Likewise.
50397         * nscd/nscd_getserv_r.c: Likewise.
50398         * posix/getopt_init.c: Likewise.
50399         * posix/wordexp.c: Likewise.
50400         * stdio-common/_itoa.c: Likewise.
50401         * stdio-common/printf_fphex.c: Likewise.
50402         * stdio-common/vfprintf.c: Likewise.
50403         * string/_strerror.c: Likewise.
50404         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50405         * sysdeps/i386/i686/hp-timing.h: Likewise.
50406         * sysdeps/mach/_strerror.c: Likewise.
50407         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50408         * sysdeps/mach/hurd/sethostid.c: Likewise.
50409         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50410         * sysdeps/mach/xpg-strerror.c: Likewise.
50411         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50412         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50413         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50414         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50415         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50416         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50417         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50418         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50419         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50420         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50421         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50422         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50423         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50424         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50425         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50426         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50427         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50428         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50429         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50430         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50431         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50433         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50435         * stdio-common/_itoa.h: Moved to ...
50436         * sysdeps/generic/_itoa.h: Here.
50438         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50440         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50441         instead of "_itoa.h" and "_itowa.h".
50442         * stdio-common/vfprintf.: Likewise.
50444 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50446         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50447         <bits/wordsize.h>.
50448         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50449         (__signbit): Likwise.
50450         (llrintf): Likwise.
50451         (llrint): Likwise.
50453 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50455         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50456         __WORDSIZE != 64.
50458 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50460         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50461         OVERFLOW_EXCEPTION_OK.
50462         * math/libm-test.inc ("Philosophy"): Update comment about
50463         exception testing.
50464         (OVERFLOW_EXCEPTION): Define.
50465         (OVERFLOW_EXCEPTION_OK): Likewise.
50466         (INVALID_EXCEPTION_OK): Renumber.
50467         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50468         (IGNORE_ZERO_INF_SIGN): Likewise.
50469         (test_exceptions): Handle FE_OVERFLOW.
50470         (exp10_test): Expect overflow exceptions.
50471         (exp2_test): Likewise.
50472         (expm1_test): Likewise.
50473         (nextafter_test): Likewise.
50474         (pow_test): Likewise.
50475         (scalbn_test): Likewise.
50476         (scalbln_test): Likewise.
50478 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50480         * sysdeps/x86_64/bits/atomic.h
50481         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50482         64bit integer.
50483         (atomic_exchange_acq): Likewise.
50484         (__arch_exchange_and_add_body): Likewise.
50485         (__arch_add_body): Likewise.
50486         (atomic_add_negative): Likewise.
50487         (atomic_add_zero): Likewise.
50489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50491         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50492         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50494 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50496         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50497         Check __x86_64__ instead of __WORDSIZE.
50499 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50501         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50503 2012-03-19  David S. Miller  <davem@davemloft.net>
50505         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50507         * sysdeps/sparc/fpu/fenv_private.h: New file.
50508         * sysdeps/sparc/fpu/math_private.h: Use it.
50509         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50510         Remove.
50511         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50512         (libc_feholdexcept_setroundl): Remove.
50513         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50514         Remove.
50515         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50516         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50518 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50520         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50521         int64_t instead of long int.
50522         (INSERT_WORDS64): Likwise.
50524 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50526         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50527         _Unwind_GetCFA return to _Unwind_Ptr first.
50529 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50531         [BZ #13629]
50532         * math/s_clog.c: Include <float.h>.
50533         (__clog): Scale large or subnormal inputs.
50534         * math/s_clogf.c: Likewise.
50535         * math/s_clogl.c: Likewise.
50536         * math/s_clog10.c: Include <float.h>.
50537         (M_LOG10_2): Define.
50538         (__clog10): Scale large or subnormal inputs.
50539         * math/s_clog10f.c: Likewise.
50540         * math/s_clog10l.c: Likewise.
50541         * math/libm-test.inc (clog_test): Add more tests.
50542         (clog10_test): Likewise.
50543         * sysdeps/i386/fpu/libm-test-ulps: Update.
50544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50546         [BZ #11451]
50547         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50548         x and y.
50549         * math/libm-test.inc (atan2_test): Add another test.
50551         * Makerules (common-objdir-compile): Remove.
50552         * sysdeps/unix/Makefile (config-generated): Do not add
50553         $(unix-generated) to variable.
50554         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50555         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50556         Remove rule.
50557         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50558         Likewise.
50559         [generic bits/local_lim.h] (before-compile): Do not append to
50560         variable.
50561         [generic bits/local_lim.h] (common-generated): Likewise.
50562         [generic sys/param.h] (before-compile): Do not append to variable.
50563         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50564         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50565         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50566         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50567         include.
50568         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50569         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50570         [generic sys/param.h] ($(addprefix
50571         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50572         [generic sys/param.h] (common-generated): Do not append to
50573         variable.
50574         [generic sys/param.h] (sysdep_headers): Likewise.
50575         [generic bits/errno.h] (before-compile): Do not append to
50576         variable.
50577         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50578         rule.
50579         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50580         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50581         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50582         [generic bits/errno.h] (common-generated): Do not append to
50583         variable.
50584         [generic bits/ioctls.h] (before-compile): Do not append to
50585         variable.
50586         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50587         rule.
50588         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50589         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50590         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50591         rule.
50592         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50593         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50594         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50595         [generic bits/ioctls.h] (common-generated): Do not append to
50596         variable.
50597         [generic sys/syscall.h] (syscall.h): Remove variable.
50598         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50599         rule.
50600         [generic sys/syscall.h] (before-compile): Do not append to
50601         variable.
50602         [generic sys/syscall.h] (common-generated): Likewise.
50603         * sysdeps/unix/errnos-tmpl.c: Remove file.
50604         * sysdeps/unix/errnos.awk: Likewise.
50605         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50606         * sysdeps/unix/ioctls.awk: Likewise.
50607         * sysdeps/unix/mk-local_lim.c: Likewise.
50608         * sysdeps/unix/snarf-ioctls: Likewise.
50610 2012-03-19  Richard Henderson  <rth@twiddle.net>
50612         * sysdeps/i386/fpu/fenv_private.h: New file.
50613         * sysdeps/i386/fpu/math_private.h: Use it.
50614         (math_opt_barrier, math_force_eval): Remove.
50615         (libc_feholdexcept_setround_53bit): Remove.
50616         (libc_feupdateenv_53bit): Remove.
50617         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50618         (math_opt_barrier, math_force_eval): Remove.
50619         (libc_feholdexcept): Remove.
50620         (libc_feholdexcept_setround): Remove.
50621         (libc_fetestexcept, libc_fesetenv): Remove.
50622         (libc_feupdateenv_test): Remove.
50623         (libc_feupdateenv, libc_feholdsetround): Remove.
50624         (libc_feresetround): Remove.
50626         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50627         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50629         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50630         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50631         (libc_feupdateenv_testl): New.
50632         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50633         (libc_feupdateenv_testf): New.
50634         (libc_feupdateenv): Use libc_feupdateenv_test.
50635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50638         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50639         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50640         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50641         (libc_feresetround_noex): New.
50642         (libc_feresetround_noexf): New.
50643         (libc_feresetround_noexl): New.
50644         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50645         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50646         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50647         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50648         SET_RESTORE_ROUND.
50649         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50651         (__cos): Likewise.
50652         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50653         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50654         SET_RESTORE_ROUND_NOEX.
50655         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50656         SET_RESTORE_ROUND_NOEXF.
50657         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50658         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50659         (libc_feholdsetroundf): New.
50660         (libc_feresetround, libc_feresetroundf): New.
50662         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50663         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50664         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50666         * sysdeps/generic/math_private.h: Include <fenv.h>.
50667         (default_libc_feholdexcept): New.
50668         (default_libc_feholdexcept_setround): New.
50669         (default_libc_fesetenv, default_libc_feupdateenv): New.
50670         (libc_feholdexcept): Only define if undefined.
50671         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50672         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50673         (libc_feholdexcept_setroundl): Likewise.
50674         (libc_feholdexcept_setround_53bit): Likewise.
50675         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50676         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50677         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50678         (libc_feupdateenv_53bit): Likewise.
50679         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50680         (libc_feholdexcept): Convert from macro to inline function.
50681         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50682         (libc_fesetenv, libc_feupdateenv): Likewise.
50684         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50685         not previously defined.
50686         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50687         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50688         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50689         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50690         * sysdeps/ieee754/flt-32/math_private.h: New file.
50691         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50692         math_private.h below SET_FLOAT_WORD.
50693         (__isnan, __isinf_ns, __finite): Remove.
50694         (__isnanf, __isinf_nsf, __finitef): Remove.
50696 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50700 2012-03-17  David S. Miller  <davem@davemloft.net>
50702         [BZ #6471]
50703         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50704         for 2.16.
50706 2012-03-16  David S. Miller  <davem@davemloft.net>
50708         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50709         warnings.
50711         [BZ #6471]
50712         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50713         properly.
50714         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50715         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50716         sysdep_routines when subdir is sysvipc.
50717         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50718         __getshmlba helper.
50720         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50722 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50724         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50725         [__LP64__].
50727 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50729         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50730         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50731         (__lround): Renamed to ...
50732         (__llround): This.  Replace long int with long long int.
50733         Define lround functions as aliases of llround functions.
50734         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50736 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50738         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50739         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50740         adresses to uintptr_t.  Replace "long int" and "unsigned long
50741         int" with "greg_t" on va_arg.
50743 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50745         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50746         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50748         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50749         Move e_machine check before EI_CLASS check.  Handle x32
50750         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50751         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50752         SKIP_EM_IA_64 and include
50753         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50755         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50756         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50757         (add_system_dir): New macro.
50759         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50760         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50762 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50764         [BZ #2551]
50765         [BZ #2552]
50766         [BZ #2553]
50767         [BZ #2554]
50768         [BZ #2562]
50769         [BZ #2563]
50770         [BZ #2565]
50771         [BZ #2566]
50772         [BZ #2576]
50773         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50774         (y0): Likewise.
50775         * math/w_j0f.c (j0f): Likewise.
50776         (y0f): Likewise.
50777         * math/w_j0l.c (__j0l): Likewise.
50778         (__y0l): Likewise.
50779         * math/w_j1.c (j1): Likewise.
50780         (y1): Likewise.
50781         * math/w_j1f.c (j1f): Likewise.
50782         (y1f): Likewise.
50783         * math/w_j1l.c (__j1l): Likewise.
50784         (__y1l): Likewise.
50785         * math/w_jn.c (jn): Likewise.
50786         (yn): Likewise.
50787         * math/w_jnf.c (jnf): Likewise.
50788         (ynf): Likewise.
50789         * math/w_jnl.c (__jnl): Likewise.
50790         (__ynl): Likewise.
50791         * math/libm-test.inc (j0_test): Add more tests.
50792         (j1_test): Likewise.
50793         (jn_test): Likewise.  Add trailing semicolon to existing test.
50794         (y0_test): Likewise.
50795         (y1_test): Likewise.
50796         * sysdeps/i386/fpu/libm-test-ulps: Update.
50797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50799         [BZ #13851]
50800         [BZ #13854]
50801         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50802         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50803         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50804         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50805         (__tanl): Set errno for infinite argument.
50806         * sysdeps/i386/fpu/mptan.c: Remove.
50807         * sysdeps/i386/fpu/s_tan.S: Likewise.
50808         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50809         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50810         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50811         * math/libm-test.inc (tan_test): Add more tests and enable more
50812         tests for double and long double.
50813         * sysdeps/i386/fpu/libm-test-ulps: Update.
50814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50816 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50818         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50819         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50821 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50823         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50824         * configure.in: Use it for both main tree and add-ons.
50825         * configure: Regenerated.
50827 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50829         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50831 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50833         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50834         in comment.
50836         [BZ #13851]
50837         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50838         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50839         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50840         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50841         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50842         infinite argument.
50843         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50844         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50845         != 0 for prec == 2.
50846         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50847         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50848         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50849         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50850         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50851         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50852         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50853         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50854         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50855         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50856         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50857         * math/libm-test.inc (cos_test): Add more tests and enable more
50858         tests for long double.
50859         (sin_test): Likewise.
50860         (sincos_test): Likewise.
50861         * sysdeps/i386/fpu/libm-test-ulps: Update.
50862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50864 2012-03-16  David S. Miller  <davem@davemloft.net>
50866         * sysdeps/sparc/fpu/math_private.h: New file.
50868 2012-03-15  David S. Miller  <davem@davemloft.net>
50870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50871         file.
50872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50874         file.
50875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50880         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50881         sysdep routines.
50882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50884         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50885         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50887         * sysdeps/sparc/sparc-ifunc.h: New file.
50888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50889         sparc-ifunc.h
50890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50892         Likewise.
50893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50894         Likewise.
50895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50899         Likewise.
50900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50905         Likewise.
50906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50907         Likewise.
50908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50914         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50917         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50926         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50927         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50928         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50929         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50930         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50931         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50933 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50935         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50936         scaling.
50937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50939 2012-03-15  Andreas Jaeger  <aj@suse.de>
50941         [BZ #13852]
50942         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50943         ieee754/flt-32 implementation for sin, cos and sincos.
50944         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50945         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50946         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50947         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50948         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50949         ieee754/flt-32 implementation for tan.
50951         * math/libm-test.inc (cos_test): Enable some large input tests for
50952         float as well
50953         (sin_test): Likewise.
50954         (sincos_test): Likewise.
50955         (tan_test): Add tests for large input.
50957         * sysdeps/i386/fpu/libm-test-ulps: Update.
50959 2012-03-15  Andreas Jaeger  <aj@suse.de>
50961         [BZ #13658]
50962         * math/libm-test.inc (cos_test): Add more test cases.
50963         (sin_test): Likewise.
50964         (sincos_test): Likewise.
50966 2012-03-15  Andreas Jaeger  <aj@suse.de>
50968         [BZ #13837]
50969         * math/libm-test.inc (cos_test): Add a test case for large input
50970         value.
50971         (sin_test): Likewise.
50972         (sincos_test): Likewise.
50974 2012-03-15  Andreas Jaeger  <aj@suse.de>
50975             Joseph Myers  <joseph@codesourcery.com>
50977         [BZ #13658]
50978         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50979         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50980         * sysdeps/i386/fpu/branred.c: Likewise.
50981         * sysdeps/i386/fpu/dosincos.c: Likewise.
50982         * sysdeps/i386/fpu/mpa.c: Likewise.
50983         * sysdeps/i386/fpu/s_cos.S: Likewise.
50984         * sysdeps/i386/fpu/s_sin.S: Likewise.
50985         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50986         * sysdeps/i386/fpu/sincos32.c: Likewise.
50988         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50989         Define.
50990         (libc_feupdateenv_53bit): Define.
50991         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50992         Define.
50993         (libc_feupdateenv_53bit): Define.
50995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50996         53 bit (without extend i386 double precision).
50998         * math/libm-test.inc (sincos_test): Add tests for large input.
50999         (sin): Likewise.
51000         (cos): Likewise.
51002         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
51004 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51008 2012-03-15  David S. Miller  <davem@davemloft.net>
51010         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
51011         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
51012         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51013         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51019         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51026         file.
51027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51029         file.
51030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51032         file.
51033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51035         file.
51036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51037         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51038         fmin/fmax sysdep routines.
51039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51041 2012-03-14  David S. Miller  <davem@davemloft.net>
51043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51045         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51047         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51048         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51049         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51053         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51055         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51056         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51063         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51064         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51068         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51069         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51070         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51071         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51072         routines.
51073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51074         file.
51075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51077         file.
51078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51080         file.
51081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51083         file.
51084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51086         file.
51087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51089         file.
51090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51091         file.
51092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51093         file.
51094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51095         file.
51096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51097         New file.
51098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51099         file.
51100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51101         file.
51102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51104         file.
51105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51107         file.
51108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51110         file.
51111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51113         VIS3 routines.
51115         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51116         New file.
51118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51120         * sysdeps/sparc/configure.in: New file.
51121         * sysdeps/sparc/configure: Generate.
51122         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51123         * configure: Regenerate.
51124         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51125         * config.make.in (have-as-vis3): New.
51126         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51127         available use -Av9d instead of -Av9a.
51128         * sysdeps/sparc/sparc64/Makefile: Likewise.
51129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51131         New file.
51132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51133         file.
51134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51135         New file.
51136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51137         file.
51138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51139         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51140         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51142         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51144         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51145         fzeros/fnegs to load 0x80000000 into a float register instead of
51146         using the stack.
51147         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51149 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51152         bits/syscall.h.
51153         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51154         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51155         ($(inst_includedir)/bits/syscall.h): Remove rule.
51156         ($(objpfx)bits/syscall.d): Include instead of
51157         $(objpfx)syscall-list.d.
51158         (generated): Change syscall-list.h and syscall-list.d to
51159         bits/syscall.h and bits/syscall.d.
51161 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51163         [BZ #13846]
51164         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51166 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51168         [BZ #13841]
51169         * math/s_csqrt.c: Include <float.h>.
51170         (__csqrt): Scale large or subnormal inputs.
51171         * math/s_csqrtf.c: Likewise.
51172         * math/s_csqrtl.c: Likewise.
51173         * math/libm-test.inc (csqrt_test): Add more tests.
51174         * sysdeps/i386/fpu/libm-test-ulps: Update.
51175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51177         [BZ #13840]
51178         * math/libm-test.inc (hypot_test): Add more tests.
51180 2012-03-13  David S. Miller  <davem@davemloft.net>
51182         [BZ #13840]
51183         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51184         double-precision for the calculation instead of scaling.
51186 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51188         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51189         manipulate bits before adding and subtracting TWO52[sx].
51190         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51191         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51192         Likewise.
51193         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51195 2012-03-13  David S. Miller  <davem@davemloft.net>
51197         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51198         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51199         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51200         rtld-global-offsets.h
51201         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51203         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51204         large parameters.
51206         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51208         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51209         'err' in the ifdef scope in which it is actually used.
51211         * nss/nss_db/db-init.c: Include string.h
51213 2012-03-12  David S. Miller  <davem@davemloft.net>
51215         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51216         masking out of the most significant byte of random value used.
51217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51218         Fix coding style in previous change.
51220         * sysdeps/unix/sysv/linux/kernel-features.h
51221         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51222         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51223         expression.
51224         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51225         later.
51227 2012-03-11  David S. Miller  <davem@davemloft.net>
51229         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51230         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51231         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51232         for 'resultvar' otherwise things get truncated on 64-bit.
51234         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51235         Fix masking out of the most significant byte of random value used.
51237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51239 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51243 2012-03-09  David S. Miller  <davem@davemloft.net>
51245         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51246         variables with appropriate CPP guards.
51247         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51248         from the frame pointer, not the stack pointer.  Correct layout
51249         comments.  Fix test on resulting framesize and the management of
51250         the outregs buffer for pltexit.  Preserve floating point return
51251         values across _dl_call_pltexit call.
51252         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51253         framesize and the management of the outregs buffer for pltexit.
51254         Preserve floating point return values across _dl_call_pltexit
51255         call.
51256         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51257         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51258         (la_sparc64_gnu_pltexit): New functions.
51259         (print_exit): Fix format string for return register value.
51261 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51263         * sunrpc/Makefile (others): Add rpcgen.
51264         ($(objpfx)rpcgen): Remove special build rule and dependency on
51265         libc.
51266         * sunrpc/rpcgen.c: New file.
51268 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51270         [BZ #13673]
51271         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51272         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51273         * sysdeps/i386/crti.S: Likewise.
51274         * sysdeps/i386/crtn.S: Likewise.
51275         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51276         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51277         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51278         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51279         * sysdeps/sh/crti.S: Likewise.
51280         * sysdeps/sh/crtn.S: Likewise.
51281         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51283         [BZ #13673]
51284         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51285         with URL.
51286         * locale/programs/locfile-kw.gperf: Likewise.
51287         * locale/programs/charmap-kw.h: Regenerated.
51288         * locale/programs/locfile-kw.h: Likewise.
51290         [BZ #13673]
51291         * intl/plural.y: Replace FSF snail mail address with URL.
51292         * intl/plural.c: Regenerated.
51294 2012-03-09  Richard Henderson  <rth@twiddle.net>
51296         * include/math_private.h: Remove file.
51297         * math/math_private.h: Move file ...
51298         * sysdeps/generic/math_private.h: ... here.
51300         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51301         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51302         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51304         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51305         and <math_private.h>.
51306         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51307         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51308         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51309         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51310         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51311         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51312         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51314         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51315         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51316         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51317         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51318         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51319         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51320         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51321         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51322         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51323         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51324         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51325         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51326         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51327         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51328         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51329         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51331         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51332         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51333         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51334         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51335         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51336         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51337         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51338         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51339         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51340         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51341         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51342         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51348         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51349         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51350         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51351         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51353         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51354         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51355         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51356         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51357         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51358         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51359         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51360         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51361         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51362         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51363         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51364         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51365         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51366         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51367         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51369         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51370         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51371         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51372         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51373         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51374         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51375         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51376         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51377         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51378         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51380         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51381         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51382         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51383         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51384         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51385         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51386         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51387         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51388         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51389         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51390         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51392         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51393         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51394         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51395         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51396         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51397         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51398         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51399         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51400         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51401         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51402         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51403         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51404         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51405         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51406         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51407         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51408         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51409         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51410         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51411         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51412         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51413         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51414         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51415         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51416         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51417         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51418         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51419         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51420         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51421         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51422         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51423         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51425         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51426         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51427         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51428         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51429         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51430         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51431         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51432         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51433         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51434         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51435         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51436         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51437         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51438         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51439         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51440         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51441         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51442         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51443         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51444         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51445         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51447         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51448         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51449         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51450         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51451         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51452         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51453         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51454         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51455         * sysdeps/ieee754/k_standard.c: Likewise.
51456         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51457         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51458         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51459         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51460         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51461         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51462         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51463         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51464         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51465         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51466         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51467         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51468         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51469         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51470         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51471         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51472         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51473         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51474         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51475         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51476         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51477         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51478         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51479         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51480         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51481         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51482         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51483         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51484         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51485         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51486         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51487         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51488         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51489         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51490         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51491         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51492         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51493         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51494         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51495         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51496         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51497         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51503         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51504         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51505         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51506         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51507         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51508         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51509         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51510         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51511         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51512         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51513         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51514         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51515         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51516         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51517         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51518         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51519         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51520         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51521         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51522         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51525         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51526         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51528         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51529         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51530         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51531         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51533         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51535         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51536         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51538         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51539         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51540         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51541         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51543         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51544         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51545         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51546         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51547         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51548         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51549         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51550         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51551         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51552         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51553         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51554         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51555         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51556         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51557         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51558         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51559         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51560         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51561         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51562         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51563         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51564         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51565         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51566         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51567         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51568         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51569         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51570         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51571         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51572         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51573         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51574         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51575         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51576         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51577         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51578         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51579         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51580         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51582         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51583         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51584         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51585         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51586         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51587         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51588         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51589         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51590         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51591         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51592         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51593         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51594         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51595         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51596         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51597         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51598         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51599         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51600         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51601         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51602         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51603         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51605         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51606         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51607         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51608         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51609         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51610         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51611         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51612         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51613         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51614         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51615         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51616         * sysdeps/ieee754/s_lib_version.c: Likewise.
51617         * sysdeps/ieee754/s_matherr.c: Likewise.
51618         * sysdeps/ieee754/s_signgam.c: Likewise.
51619         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51620         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51621         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51622         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51623         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51624         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51625         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51626         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51627         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51628         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51629         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51630         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51631         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51632         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51633         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51634         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51635         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51636         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51637         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51638         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51643         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51644         * sunrpc/rpc_main.c: Likewise.
51645         * sunrpc/rpc_svcout.c: Likewise.
51647 2012-03-09  David S. Miller  <davem@davemloft.net>
51649         * include/math_private.h: New file.
51651 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51653         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51654         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51655         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51656         from <bits/socket_type.h>.
51657         (enum __socket_type): Don't define here.
51658         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51660         bits/socket_type.h.
51662         [BZ #13566]
51663         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51664         checking __USE_GNU.
51666         * Makerules ($(inst_includedir)/%.h): New rule.
51667         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51668         (install-others): Remove variable setting.
51669         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51671 2012-03-08  Richard Henderson  <rth@twiddle.net>
51673         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51674         from macro to inline function; merge with the
51675         !__LIBC_INTERNAL_MATH_INLINES version.
51676         (__ieee754_sqrtf): Likewise.
51678         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51679         to inline function.
51680         (__rintf, __floor, __floorf): Likewise.
51682         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51683         macro to inline function.
51684         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51686         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51687         not <math/math_private.h>.
51689 2012-03-08  David S. Miller  <davem@davemloft.net>
51691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51692         copyright year.
51693         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51695 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51697         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51698         normalization.
51699         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51700         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51702 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51704         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51705         be defined individually, they must be defined as a block.  Define
51706         S for printing a string instead of hidint the different by using a
51707         macro for adding the 'l'.
51708         * stdio-common/tst-fphex-wide.c: Adjust.
51710 2012-03-07  Marek Polacek  <polacek@redhat.com>
51712         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51714 2012-03-08  Marek Polacek  <polacek@redhat.com>
51716         [BZ #13806]
51717         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51718         * stdio-common/tst-fphex.c: Define a few macros to make the
51719         test reusable.  Use them.
51720         * stdio-common/tst-fphex-wide.c: New file.
51722 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51724         [BZ #6911]
51725         * manual/macros.texi (gnusystems): New macro.
51726         (nongnusystems): Likewise.
51727         (gnulinuxhurdsystems): Likewise.
51728         (gnuhurdsystems): Likewise..
51729         (gnulinuxsystems): Likewise.
51730         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51731         variants of the GNU system, not "GNU system".
51732         * manual/conf.texi: Likewise.
51733         * manual/errno.texi: Likewise.  Update example of errno macro
51734         expansion.
51735         * manual/filesys.texi: Likewise.
51736         (getumask): Document as specific to GNU/Hurd.
51737         * manual/install.texi: Likewise.  Reword some references to
51738         GNU/Linux.
51739         * manual/intro.texi: Likewise.
51740         * manual/io.texi: Likewise.
51741         (File Name Portability): Detail which constraints are inapplicable
51742         to all GNU systems and which are only inapplicable to GNU/Hurd.
51743         * manual/job.texi: Likewise.
51744         * manual/llio.texi: Likewise.
51745         (O_NOCTTY): Document as present on GNU/Linux.
51746         * manual/maint.texi: Likewise.
51747         * manual/memory.texi: Likewise.
51748         * manual/pattern.texi: Likewise.
51749         * manual/pipe.texi: Likewise.
51750         * manual/process.texi: Likewise.
51751         * manual/resource.texi: Likewise.
51752         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51753         child on GNU/Hurd.
51754         * manual/setjmp.texi: Likewise.
51755         * manual/signal.texi: Likewise.
51756         * manual/startup.texi: Likewise.
51757         * manual/stdio.texi: Likewise.
51758         * manual/terminal.texi: Likewise.
51759         (ONLCR): Document as POSIX.
51760         (OXTABS): Document availability on GNU/Linux as XTABS.
51761         (ONOEOT): Document availability separately from other bits.
51762         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51763         * manual/time.texi: Likewise.
51764         * manual/users.texi: Likewise.
51765         * INSTALL: Regenerated.
51766         * sysdeps/gnu/errlist.c: Regenerated.
51768         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51769         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51770         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51771         puts.
51772         * configure: Regenerated.
51774 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51776         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51777         default includes instead of AC_HEADER_CHECK.
51778         * sysdeps/i386/configure: Regenerated.
51780         [BZ #10716]
51781         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51782         * math/s_cacoshf.c (__cacoshf): Likewise.
51783         * math/s_cacoshl.c (__cacoshl): Likewise.
51784         * math/s_casinh.c (__casinh): Set signs of result from argument.
51785         * math/s_casinhf.c (__casinhf): Likewise.
51786         * math/s_casinhl.c (__casinhl): Likewise.
51787         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51788         (casinh_test): Add more tests.
51789         * sysdeps/i386/fpu/libm-test-ulps: Update.
51790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51792 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51794         * po/zh_TW.po: Update from translation team.
51796         * login/Makefile (distribute): Remove variable.
51797         * catgets/Makefile: Likewise.
51798         * mach/Makefile: Likewise.
51799         * malloc/Makefile: Likewise.
51800         * misc/Makefile: Likewise.
51801         * iconv/Makefile: Likewise.
51802         * nscd/Makefile: Likewise.
51803         * hurd/Makefile: Likewise.
51804         * manual/Makefile: Likewise.
51805         * locale/Makefile: Likewise.
51806         * intl/Makefile: Likewise.
51807         * conform/Makefile: Likewise.
51808         * nss/Makefile: Likewise.
51809         * time/Makefile: Likewise.
51810         * soft-fp/Makefile: Likewise.
51811         * dirent/Makefile: Likewise.
51812         * gmon/Makefile: Likewise.
51813         * po/Makefile: Likewise.
51814         * rt/Makefile: Likewise.
51815         * socket/Makefile: Likewise.
51816         * math/Makefile: Likewise.
51817         * signal/Makefile: Likewise.
51818         * debug/Makefile: Likewise.
51819         * elf/Makefile: Likewise.
51820         * timezone/Makefile: Likewise.
51821         * stdlib/Makefile: Likewise.
51822         * iconvdata/Makefile: Likewise.
51823         * sunrpc/Makefile: Likewise.
51824         * io/Makefile: Likewise.
51825         * argp/Makefile: Likewise.
51826         * inet/Makefile: Likewise.
51827         * hesiod/Makefile: Likewise.
51828         * grp/Makefile: Likewise.
51829         * csu/Makefile: Likewise.
51830         * wctype/Makefile: Likewise.
51831         * crypt/Makefile: Likewise.
51832         * libio/Makefile: Likewise.
51833         * string/Makefile: Likewise.
51834         * nis/Makefile: Likewise.
51835         * resolv/Makefile: Likewise.
51836         * stdio-common/Makefile: Likewise.
51837         * wcsmbs/Makefile: Likewise.
51838         * dlfcn/Makefile: Likewise.
51839         * posix/Makefile: Likewise.
51841         [BZ #6959]
51842         * timezone/Makefile: Don't install timezone files, just the programs
51843         and scripts.
51845 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51847         * nss/databases.def: Add missing gshadow entry.
51849         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51851 2012-03-06  Marek Polacek  <polacek@redhat.com>
51853         [BZ #13726]
51854         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51855         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51856         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51857         * stdio-common/tst-long-dbl-fphex.c: New file.
51859 2012-03-06  David S. Miller  <davem@davemloft.net>
51861         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51862         (set_obp_int): New function.
51863         (get_obp_int): New function.
51864         (__get_clockfreq_via_dev_openprom): Likewise.
51865         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51866         Avoid unused variable warnings on 'val' and use builtin_expect.
51867         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51868         __builtin_expect.
51869         (INLINE_CLONE_SYSCALL): Likewise.
51871 2012-03-05  David S. Miller  <davem@davemloft.net>
51873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51875 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51879         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51880         only for |x| >= 40.
51881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51883 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51886         Replace gettimeofday with __vdso_gettimeofday.
51888         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51889         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51890         __vdso_clock_gettime and __vdso_getcpu.
51892         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51893         time with __vdso_time.
51895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51897         * manual/lang.texi (size_t): Note types to which size_t may be
51898         equivalent with the GNU C Library, but do not describe when
51899         differences between them are significant.
51901 2012-03-05  Andreas Jaeger  <aj@suse.de>
51903         * sysdeps/i386/fpu/libm-test-ulps: Update.
51905 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51907         [BZ #3976]
51908         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51909         (__ieee754_pow): Save and restore rounding mode and use
51910         round-to-nearest for main computations.
51911         * math/libm-test.inc (pow_test_tonearest): New function.
51912         (pow_test_towardzero): Likewise.
51913         (pow_test_downward): Likewise.
51914         (pow_test_upward): Likewise.
51915         (main): Call the new functions.
51916         * sysdeps/i386/fpu/libm-test-ulps: Update.
51917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51919         [BZ #3976]
51920         * math/libm-test.inc (cosh_test_tonearest): New function.
51921         (cosh_test_towardzero): Likewise.
51922         (cosh_test_downward): Likewise.
51923         (cosh_test_upward): Likewise.
51924         (sinh_test_tonearest): Likewise.
51925         (sinh_test_towardzero): Likewise.
51926         (sinh_test_downward): Likewise.
51927         (sinh_test_upward): Likewise.
51928         (main): Call the new functions.
51929         * sysdeps/i386/fpu/libm-test-ulps: Update.
51930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51932 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51934         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51935         default stack guard is set in last bytes.
51936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51938 2012-03-05  Kees Cook  <keescook@chromium.org>
51940         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51942         [BZ #13656]
51943         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51944         possibly allocate from heap instead of stack.
51945         * stdio-common/bug-vfprintf-nargs.c: New file.
51946         * stdio-common/Makefile (tests): Add nargs overflow test.
51948 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51952 2012-03-03  Marek Polacek  <polacek@redhat.com>
51954         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51955         * math/math_private.h: Likewise.
51956         * stdlib/tst-strtod.c: Likewise.
51957         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51958         * sysdeps/x86_64/bits/atomic.h: Likewise.
51960 2012-03-02  David S. Miller  <davem@davemloft.net>
51962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51966         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51967         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51968         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51969         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51971 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51973         [BZ #13792]
51974         * manual/examples/README: New file, says the example source files
51975         can be used under GPL>=2.
51976         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51977         line containing just "*/".
51978         * manual/examples/add.c: Add copyright header (GPL>=2).
51979         * manual/examples/argp-ex1.c: Likewise.
51980         * manual/examples/argp-ex2.c: Likewise.
51981         * manual/examples/argp-ex3.c: Likewise.
51982         * manual/examples/argp-ex4.c: Likewise.
51983         * manual/examples/atexit.c: Likewise.
51984         * manual/examples/db.c: Likewise.
51985         * manual/examples/dir.c: Likewise.
51986         * manual/examples/dir2.c: Likewise.
51987         * manual/examples/execinfo.c: Likewise.
51988         * manual/examples/filecli.c: Likewise.
51989         * manual/examples/filesrv.c: Likewise.
51990         * manual/examples/fmtmsgexpl.c: Likewise.
51991         * manual/examples/genpass.c: Likewise.
51992         * manual/examples/inetcli.c: Likewise.
51993         * manual/examples/inetsrv.c: Likewise.
51994         * manual/examples/isockad.c: Likewise.
51995         * manual/examples/longopt.c: Likewise.
51996         * manual/examples/memopen.c: Likewise.
51997         * manual/examples/memstrm.c: Likewise.
51998         * manual/examples/mkfsock.c: Likewise.
51999         * manual/examples/mkisock.c: Likewise.
52000         * manual/examples/mygetpass.c: Likewise.
52001         * manual/examples/pipe.c: Likewise.
52002         * manual/examples/popen.c: Likewise.
52003         * manual/examples/rprintf.c: Likewise.
52004         * manual/examples/search.c: Likewise.
52005         * manual/examples/select.c: Likewise.
52006         * manual/examples/setjmp.c: Likewise.
52007         * manual/examples/sigh1.c: Likewise.
52008         * manual/examples/sigusr.c: Likewise.
52009         * manual/examples/stpcpy.c: Likewise.
52010         * manual/examples/strdupa.c: Likewise.
52011         * manual/examples/strftim.c: Likewise.
52012         * manual/examples/strncat.c: Likewise.
52013         * manual/examples/subopt.c: Likewise.
52014         * manual/examples/swapcontext.c: Likewise.
52015         * manual/examples/termios.c: Likewise.
52016         * manual/examples/testopt.c: Likewise.
52017         * manual/examples/testpass.c: Likewise.
52018         * manual/examples/timeval_subtract.c: Likewise.
52020         [BZ #13792]
52021         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52022         function to ...
52023         * manual/timeval_subtract.c.texi: ... here, new file.
52025 2012-03-02  David S. Miller  <davem@davemloft.net>
52027         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52029 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52031         [BZ #3976]
52032         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52033         (__sin): Save and restore rounding mode and use round-to-nearest
52034         for all computations.
52035         (__cos): Save and restore rounding mode and use round-to-nearest
52036         for all computations.
52037         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52038         <fenv.h>.
52039         (tan): Save and restore rounding mode and use round-to-nearest for
52040         all computations.
52041         * math/libm-test.inc (cos_test_tonearest): New function.
52042         (cos_test_towardzero): Likewise.
52043         (cos_test_downward): Likewise.
52044         (cos_test_upward): Likewise.
52045         (sin_test_tonearest): Likewise.
52046         (sin_test_towardzero): Likewise.
52047         (sin_test_downward): Likewise.
52048         (sin_test_upward): Likewise.
52049         (tan_test_tonearest): Likewise.
52050         (tan_test_towardzero): Likewise.
52051         (tan_test_downward): Likewise.
52052         (tan_test_upward): Likewise.
52053         (main): Call the new functions.
52054         * sysdeps/i386/fpu/libm-test-ulps: Update.
52055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52057         [BZ #10135]
52058         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52059         small n, then large n, before computing and testing k+n.
52060         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52061         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52062         Likewise.
52063         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52064         Likewise.
52065         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52066         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52067         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52068         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52071         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52072         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52073         * math/libm-test.inc (scalbn_test): Add more tests.
52074         (scalbln_test): Likewise.
52076         * manual/filesys.texi (mode_t): Describe constraints on size and
52077         signedness, not exact equivalence to a particular type.
52078         (ino_t): Likewise.
52079         (ino64_t): Likewise.
52080         (dev_t): Likewise.
52081         (nlink_t): Likewise.
52082         (blkcnt_t): Likewise.
52083         (blkcnt64_t): Likewise.
52084         * manual/llio.texi (off_t): Likewise.
52086         [BZ #3976]
52087         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52088         (__ieee754_exp): Save and restore rounding mode and use
52089         round-to-nearest for all computations.
52090         * math/libm-test.inc (exp_test_tonearest): New function.
52091         (exp_test_towardzero): Likewise.
52092         (exp_test_downward): Likewise.
52093         (exp_test_upward): Likewise.
52094         (main): Call the new functions.
52095         * sysdeps/i386/fpu/libm-test-ulps: Update.
52096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52098 2012-03-01  Chris Demetriou  <cgd@google.com>
52100         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52101         have predictable order.
52103 2012-03-01  David S. Miller  <davem@davemloft.net>
52105         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52107         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52108         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52109         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52110         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52112         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52113         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52114         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52116         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52117         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52118         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52119         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52120         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52124         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52125         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52126         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52128         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52129         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52130         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52131         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52132         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52133         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52134         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52135         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52136         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52137         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52138         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52139         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52140         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52141         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52142         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52144         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52145         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52146         * sysdeps/sparc/elf/configure: Regenerated.
52148 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52150         * configure.in (AS, LD): Require binutils 2.20 or later.
52151         * configure: Regenerated.
52152         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52153         as required minimum version.
52154         * INSTALL: Regenerated.
52156         [BZ #2541]
52157         [BZ #4108]
52158         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52159         before squaring exponent.
52160         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52161         bottom long double and 27 bits of top long double before squaring
52162         exponent.
52163         * math/libm-test.inc (erfc_test): Add more tests.
52164         * sysdeps/i386/fpu/libm-test-ulps: Update.
52165         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52168 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52170         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52171         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52172         containing bit-fields.
52173         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52174         * soft-fp/single.h (_FP_UNION_S): Likewise.
52175         * soft-fp/double.h (_FP_UNION_D): Likewise.
52177 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52179         [BZ #13786]
52180         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52181         not include ../strcmp.S.
52182         [USE_AS_STRNCASECMP_L]: Likewise.
52183         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52184         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52185         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52186         (__strncasecmp_l_ia32): Define as alias to
52187         __strncasecmp_l_nonascii.
52189         [BZ #5794]
52190         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52191         * sysdeps/i386/fpu/libm-test-ulps: Update.
52192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52194         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52197 2012-02-29  Jeff Law  <law@redhat.com>
52199         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52200         out of bounds read.
52202 2012-02-29  Marek Polacek  <polacek@redhat.com>
52204         [BZ #13706]
52205         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52206         * elf/Makefile: Add rules to run tst-unused-dep.out.
52208 2012-02-28  David S. Miller  <davem@davemloft.net>
52210         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52211         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52212         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52213         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52214         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52215         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52217 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52219         * math/libm-test.inc (llround_test): Move one test from
52220         lround_test.  Use TEST_f_L in moved test.
52221         (lround_test): Move misplaced test to llround_test.  Add testcase
52222         from bug 2561.
52224 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52226         * sysdeps/x86_64/fpu/e_expf.S: New file.
52227         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52229 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52231         [BZ #13637]
52232         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52233         of remain_len that may cause incomplete multi-byte character and
52234         false match.
52235         * posix/bug-regex33.c: New file.
52236         * posix/Makefile (tests): Add bug-regex33.
52238 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52240         * manual/macros.texi: New file.
52241         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52242         * manual/libc.texinfo: Include macros.texi.
52243         * manual/creatute.texi: Likewise.
52244         * manual/install.texi: Likewise.
52245         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52246         @glibcadj{} in references to the GNU C Library.
52247         * manual/charset.texi: Likewise.
52248         * manual/conf.texi: Likewise.
52249         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52250         when not using those macros.
52251         * manual/creature.texi: Likewise.
52252         * manual/crypt.texi: Likewise.
52253         * manual/errno.texi: Likewise.
52254         * manual/filesys.texi: Likewise.
52255         * manual/header.texi: Likewise.
52256         * manual/install.texi: Likewise.
52257         * manual/intro.texi: Likewise.
52258         * manual/io.texi: Likewise.
52259         * manual/job.texi: Likewise.
52260         * manual/lang.texi: Likewise.
52261         * manual/libc.texiinfo: Likewise.
52262         * manual/llio.texi: Likewise.
52263         * manual/locale.texi: Likewise.
52264         * manual/maint.texi: Likewise.
52265         * manual/math.texi: Likewise.
52266         * manual/memory.texi: Likewise.
52267         * manual/message.texi: Likewise.
52268         * manual/nss.texi: Likewise.
52269         * manual/pattern.texi: Likewise.
52270         * manual/process.texi: Likewise.
52271         * manual/resource.texi: Likewise.
52272         * manual/search.texi: Likewise.
52273         * manual/setjmp.texi: Likewise.
52274         * manual/signal.texi: Likewise.
52275         * manual/socket.texi: Likewise.
52276         * manual/startup.texi: Likewise.
52277         * manual/stdio.texi: Likewise.
52278         * manual/string.texi: Likewise.
52279         * manual/sysinfo.texi: Likewise.
52280         * manual/syslog.texi: Likewise.
52281         * manual/terminal.texi: Likewise.
52282         * manual/time.texi: Likewise.
52283         * manual/users.texi: Likewise.
52284         * INSTALL: Regenerated.
52285         * NOTES: Regenerated.
52286         * sysdeps/gnu/errlist.c: Regenerated.
52288 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52290         * include/dirent.h: Include <dirstream.h> before
52291         <dirent/dirent.h>.
52293 2012-02-28  David S. Miller  <davem@davemloft.net>
52295         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52296         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52297         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52298         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52300 2012-02-27  David S. Miller  <davem@davemloft.net>
52302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52304         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52305         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52308         frame pointer instead of stack pointer relative arg slot.
52309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52310         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52311         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52313 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52315         [BZ #3992]
52316         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52318 2012-02-27  David S. Miller  <davem@davemloft.net>
52320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52324         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52325         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52326         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52327         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52329 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52331         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52332         later.  Allow versions 5-9.
52333         * configure: Regenerated.
52334         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52335         required minimum version and 4.6 as recommended version.  Do not
52336         mention bugs in GCC 2.7 and 2.8.
52337         * INSTALL: Regenerated.
52339 2012-02-27  David S. Miller  <davem@davemloft.net>
52341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52345         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52346         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52347         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52348         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52350         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52351         manipulate bits before adding and subtracting TWO112[sx].
52352         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52354 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52356         [BZ #13775]
52357         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52358         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52359         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52360         being in POSIX, because they are in 1003.1-2008.
52362         * rt/tst-aio.c: Include <fcntl.h>.
52363         * rt/tst-aio7.c: Likewise.
52364         * rt/tst-aio64.c: Likewise.
52366         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52368 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52370         * manual/install.texi (--with-headers): Describe headers as
52371         interface headers, not private headers.
52372         (Specific advice for GNU/Linux systems): Describe use of headers
52373         from "make headers_install", not private headers from older
52374         kernels.
52375         * INSTALL: Regenerated.
52376         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52377         Change to 2.6.19.
52378         * sysdeps/unix/sysv/linux/configure: Regenerated.
52380         * manual/llio.texi (fclean): Remove documentation.
52382         * manual/Makefile (libc-texi-generated): New variable.  Include
52383         version.texi.
52384         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52385         $(libc-texi-generated), not duplicated list of files.
52386         (version.texi, stamp-version): New rules.
52387         (realclean): Remove $(libc-texi-generated), not individual files
52388         from that list.  Do not remove dir-add.texinfo.
52389         * manual/libc.texinfo: Comment out uses of edition numbers and
52390         references to printed manual.  Remove last-updated dates.
52391         (EDITION): Comment out.
52392         (ISBN): Likewise.
52393         (VERSION, UPDATED): Remove.
52394         (version.texi): Include.
52396 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52398         * sysdeps/posix/spawni.c: Include <signal.h>.
52399         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52400         * sysdeps/pthread/aio_fsync.c: Likewise.
52402 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52404         * conform/Makefile (tests): Run only when not cross-compiling and
52405         when fast-check is not defined.
52407         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52408         * conform/data/limits.h-data: Fixes for POSIX2008.
52409         * conform/run-conformtest.sh: Run all tests.
52410         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52411         headers.
52412         * include/bits/dlfcn.h: Likewise.
52413         * include/langinfo.h: Likewise.
52414         * include/monetary.h: Likewise.
52415         * include/sys/poll.h: Likewise.
52417         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52418         for __USE_GNU.
52419         * posix/spawn.h: Define __need_sigset_t.
52420         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52421         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52422         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52423         to get sigevent_t only.
52424         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52425         only for __USE_GNU.
52426         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52427         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52428         process_vm_writev only for __USE_GNU.
52429         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52431         * conform/Makefile: For now ignore errors from run-conformtest.
52432         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52433         POSIX to avoid namespace pollution.  Don't prepend headers.
52434         * conform/data/aio.h-data: Fixes for POSIX testing.
52435         * conform/data/fcntl.h-data: Likewise.
52436         * conform/data/glob.h-data: Likewise.
52437         * conform/data/grp.h-data: Likewise.
52438         * conform/data/pthread.h-data: Likewise.
52439         * conform/data/pwd.h-data: Likewise.
52440         * conform/data/signal.h-data: Likewise.
52441         * conform/data/spawn.h-data: Likewise.
52442         * conform/data/stdio.h-data: Likewise.
52443         * conform/data/stdlib.h-data: Likewise.
52444         * conform/data/stropts.h-data: Likewise.
52445         * conform/data/sys/mman.h-data: Likewise.
52446         * conform/data/sys/stat.h-data: Likewise.
52447         * conform/data/sys/types.h-data: Likewise.
52448         * conform/data/sys/wait.h-data: Likewise.
52449         * conform/data/time.h-data: Likewise.
52450         * conform/data/unistd.h-data: Likewise.
52451         * conform/data/utime.h-data: Likewise.
52453         * io/sys/stat.h: fchmod was always in POSIX.
52454         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52455         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52456         * rt/aio.h: Define __need_timespec before including <time.h>.
52457         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52458         struct.  Add forward declaration of pthread_attr_t and use it in
52459         sigevent.
52460         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52461         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52462         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52463         always remove CLK_TCK definition.
52465 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52467         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52469 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52471         * conform/run-conformtest.sh: New file.
52472         * conform/Makefile: Run run-conformtest for tests.
52473         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52474         support.
52476         * conform/data/uchar.h-data: New file.
52477         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52478         * conform/data/arpa/inet.h-data: Likewise.
52479         * conform/data/assert.h-data: Likewise.
52480         * conform/data/complex.h-data: Likewise.
52481         * conform/data/cpio.h-data: Likewise.
52482         * conform/data/ctype.h-data: Likewise.
52483         * conform/data/dirent.h-data: Likewise.
52484         * conform/data/dlfcn.h-data: Likewise.
52485         * conform/data/errno.h-data: Likewise.
52486         * conform/data/fcntl.h-data: Likewise.
52487         * conform/data/float.h-data: Likewise.
52488         * conform/data/fmtmsg.h-data: Likewise.
52489         * conform/data/fnmatch.h-data: Likewise.
52490         * conform/data/ftw.h-data: Likewise.
52491         * conform/data/glob.h-data: Likewise.
52492         * conform/data/grp.h-data: Likewise.
52493         * conform/data/iconv.h-data: Likewise.
52494         * conform/data/inttypes.h-data: Likewise.
52495         * conform/data/langinfo.h-data: Likewise.
52496         * conform/data/libgen.h-data: Likewise.
52497         * conform/data/limits.h-data: Likewise.
52498         * conform/data/locale.h-data: Likewise.
52499         * conform/data/math.h-data: Likewise.
52500         * conform/data/monetary.h-data: Likewise.
52501         * conform/data/mqueue.h-data: Likewise.
52502         * conform/data/ndbm.h-data: Likewise.
52503         * conform/data/net/if.h-data: Likewise.
52504         * conform/data/netdb.h-data: Likewise.
52505         * conform/data/netinet/in.h-data: Likewise.
52506         * conform/data/nl_types.h-data: Likewise.
52507         * conform/data/poll.h-data: Likewise.
52508         * conform/data/pthread.h-data: Likewise.
52509         * conform/data/pwd.h-data: Likewise.
52510         * conform/data/regex.h-data: Likewise.
52511         * conform/data/sched.h-data: Likewise.
52512         * conform/data/search.h-data: Likewise.
52513         * conform/data/semaphore.h-data: Likewise.
52514         * conform/data/setjmp.h-data: Likewise.
52515         * conform/data/signal.h-data: Likewise.
52516         * conform/data/spawn.h-data: Likewise.
52517         * conform/data/stdarg.h-data: Likewise.
52518         * conform/data/stdio.h-data: Likewise.
52519         * conform/data/stdlib.h-data: Likewise.
52520         * conform/data/string.h-data: Likewise.
52521         * conform/data/strings.h-data: Likewise.
52522         * conform/data/stropts.h-data: Likewise.
52523         * conform/data/sys/ipc.h-data: Likewise.
52524         * conform/data/sys/mman.h-data: Likewise.
52525         * conform/data/sys/msg.h-data: Likewise.
52526         * conform/data/sys/resource.h-data: Likewise.
52527         * conform/data/sys/select.h-data: Likewise.
52528         * conform/data/sys/sem.h-data: Likewise.
52529         * conform/data/sys/shm.h-data: Likewise.
52530         * conform/data/sys/socket.h-data: Likewise.
52531         * conform/data/sys/stat.h-data: Likewise.
52532         * conform/data/sys/statvfs.h-data: Likewise.
52533         * conform/data/sys/time.h-data: Likewise.
52534         * conform/data/sys/timeb.h-data: Likewise.
52535         * conform/data/sys/times.h-data: Likewise.
52536         * conform/data/sys/types.h-data: Likewise.
52537         * conform/data/sys/uio.h-data: Likewise.
52538         * conform/data/sys/un.h-data: Likewise.
52539         * conform/data/sys/utsname.h-data: Likewise.
52540         * conform/data/sys/wait.h-data: Likewise.
52541         * conform/data/syslog.h-data: Likewise.
52542         * conform/data/tar.h-data: Likewise.
52543         * conform/data/termios.h-data: Likewise.
52544         * conform/data/utime.h-data: Likewise.
52545         * conform/data/utmpx.h-data: Likewise.
52546         * conform/data/varargs.h-data: Likewise.
52547         * conform/data/wchar.h-data: Likewise.
52548         * conform/data/wctype.h-data: Likewise.
52549         * conform/data/wordexp.h-data: Likewise.
52551         * include/stropts.h: New file.
52552         * include/uchar.h: New file.
52553         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52554         * include/assert.h: Likewise.
52555         * include/ctype.h: Likewise.
52556         * include/dirent.h: Likewise.
52557         * include/dlfcn.h: Likewise.
52558         * include/fcntl.h: Likewise.
52559         * include/fnmatch.h: Likewise.
52560         * include/glob.h: Likewise.
52561         * include/grp.h: Likewise.
52562         * include/libio.h: Likewise.
52563         * include/locale.h: Likewise.
52564         * include/math.h: Likewise.
52565         * include/net/if.h: Likewise.
52566         * include/netdb.h: Likewise.
52567         * include/netinet/in.h: Likewise.
52568         * include/pthread.h: Likewise.
52569         * include/pwd.h: Likewise.
52570         * include/regex.h: Likewise.
52571         * include/sched.h: Likewise.
52572         * include/search.h: Likewise.
52573         * include/setjmp.h: Likewise.
52574         * include/signal.h: Likewise.
52575         * include/stdio.h: Likewise.
52576         * include/stdlib.h: Likewise.
52577         * include/string.h: Likewise.
52578         * include/sys/cdefs.h: Likewise.
52579         * include/sys/mman.h: Likewise.
52580         * include/sys/msg.h: Likewise.
52581         * include/sys/resource.h: Likewise.
52582         * include/sys/select.h: Likewise.
52583         * include/sys/socket.h: Likewise.
52584         * include/sys/stat.h: Likewise.
52585         * include/sys/statvfs.h: Likewise.
52586         * include/sys/time.h: Likewise.
52587         * include/sys/times.h: Likewise.
52588         * include/sys/uio.h: Likewise.
52589         * include/sys/utsname.h: Likewise.
52590         * include/sys/wait.h: Likewise.
52591         * include/termios.h: Likewise.
52592         * include/time.h: Likewise.
52593         * include/ulimit.h: Likewise.
52594         * include/unistd.h: Likewise.
52595         * include/utime.h: Likewise.
52596         * include/wchar.h: Likewise.
52597         * include/wctype.h: Likewise.
52598         * include/wordexp.h: Likewise.
52600         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52602         * time/time.h: TIME_UTC must be a macro.
52603         Make timespec_get available for ISO C11 only as well.
52605 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52607         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52608         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52610 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52612         * configure.in: Use -o not -a in test for unsupported multi-arch.
52614 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52616         * manual/texinfo.tex: Update to version 2012-01-19.16.
52618 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52620         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52622 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52624         [BZ #13738]
52625         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52626         * manual/fdl-1.3.texi: New file.
52627         * manual/fdl-1.1.texi: File removed.
52629         [BZ #13738]
52630         * manual/libc.texinfo (FDL_VERSION): New @set.
52631         Use it for mention of FDL in cover text.
52632         (Documentation License): Use it in @include file name.
52634 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52635             Roland McGrath  <roland@hack.frob.com>
52637         [BZ #5461]
52638         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52639         (not LONG_LONG_MAX and LONG_LONG_MIN.
52640         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52641         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52642         name.
52643         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52645 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52647         [BZ #2547]
52648         [BZ #11365]
52649         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52650         manipulate bits before adding and subtracting TWO23[sx].
52651         * math/libm-test.inc (nearbyint_test): Add more tests.
52653 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52655         [BZ #2548]
52656         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52657         bits before adding and subtracting TWO23[sx].
52658         * math/libm-test.inc (rint_test): Add more tests.
52659         (rint_test_tonearest): Likewise.
52660         (rint_test_towardzero): Likewise.
52661         (rint_test_downward): Likewise.
52662         (rint_test_upward: Likewise.
52664 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52666         [BZ #10110]
52667         * include/stdc-predef.h: New file.  Extracted from features.h.
52668         * include/features.h: Include stdc-predef.h.
52669         * Makefile (headers): Add stdc-predef.h.
52670         * CONFORMANCE (Compiler limitations): Update.
52672 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52674         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52676 2012-02-21  David S. Miller  <davem@davemloft.net>
52678         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52679         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52681 2012-02-20  David S. Miller  <davem@davemloft.net>
52683         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52684         using a normal save/restore sequence, rather than allocating a
52685         dummy stack frame just to store a frame pointer and restore.
52686         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52688 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52690         * manual/install.texi: Fix stray word in line-wrapped comment.
52692 2012-02-20  David S. Miller  <davem@davemloft.net>
52694         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52695         both binutils and gcc support GOTDATA.
52697         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52698         "rd %pc" in the PIC register setup sequences.
52700         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52701         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52702         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52703         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52704         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52705         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52706         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52707         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52709         (SYSCALL_ERROR_HANDLER): Likewise.
52710         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52711         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52712         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52713         (SYSCALL_ERROR_HANDLER): Likewise.
52715         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52716         (HAVE_GCC_GOTDATA): New.
52717         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52718         relocation support in both binutils and gcc.
52719         * sysdeps/sparc/elf/configure: Regenerate.
52721         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52722         * sysdeps/sparc/sparc32/elf/configure: Delete.
52723         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52724         * sysdeps/sparc/sparc64/elf/configure: Delete.
52725         * sysdeps/sparc/elf/configure.in: New file.
52726         * sysdeps/sparc/elf/configure: Generate.
52728         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52729         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52730         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52731         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52732         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52734 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52736         * manual/install.texi: Do not mention specific glibc version
52737         numbers.
52738         * manual/libc.texinfo (VERSION, UPDATED): Update.
52739         (@copying): Use @copyright{} and range of years.
52741 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52743         [BZ #13695]
52744         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52745         [crti.S not in sysdirs] (generated): Do not append.
52746         [crti.S not in sysdirs] (omit-deps): Likewise.
52747         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52748         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52749         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52750         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52751         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52752         Likewise.
52753         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52754         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52755         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52756         * csu/defs.awk: Remove file.
52757         * sysdeps/generic/initfini.c: Likewise.
52758         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52759         variable.
52760         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52761         Likewise.
52763 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52765         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52766         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52767         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52768         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52770         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52771         <bits/epoll.h>.
52772         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52773         (__EPOLL_PACKED): Define to empty if not defined by
52774         <bits/epoll.h>.
52775         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52777         bits/epoll.h.
52779 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52781         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52782         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52783         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52784         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52785         <bits/timerfd.h>.
52786         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52788         bits/timerfd.h.
52790 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52792         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52793         in C locale.
52794         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52795         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52796         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52799 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52801         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52802         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52804 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52806         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52807         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52808         defined.
52809         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52810         Likewise.
52811         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52812         entry for 2.16.
52814 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52816         * math/w_acos.c: Use non-signaling floating-point comparisons.
52817         * math/w_acosf.c: Likewise.
52818         * math/w_acosh.c: Likewise.
52819         * math/w_acoshf.c: Likewise.
52820         * math/w_acoshl.c: Likewise.
52821         * math/w_acosl.c: Likewise.
52822         * math/w_asin.c: Likewise.
52823         * math/w_asinf.c: Likewise.
52824         * math/w_asinl.c: Likewise.
52825         * math/w_atanh.c: Likewise.
52826         * math/w_atanhf.c: Likewise.
52827         * math/w_atanhl.c: Likewise.
52828         * math/w_exp2.c: Likewise.
52829         * math/w_exp2f.c: Likewise.
52830         * math/w_exp2l.c: Likewise.
52831         * math/w_j0.c: Likewise.
52832         * math/w_j0f.c: Likewise.
52833         * math/w_j0l.c: Likewise.
52834         * math/w_j1.c: Likewise.
52835         * math/w_j1f.c: Likewise.
52836         * math/w_j1l.c: Likewise.
52837         * math/w_jn.c: Likewise.
52838         * math/w_jnf.c: Likewise.
52839         * math/w_log.c: Likewise.
52840         * math/w_log10.c: Likewise.
52841         * math/w_log10f.c: Likewise.
52842         * math/w_log10l.c: Likewise.
52843         * math/w_log2.c: Likewise.
52844         * math/w_log2f.c: Likewise.
52845         * math/w_log2l.c: Likewise.
52846         * math/w_logf.c: Likewise.
52847         * math/w_logl.c: Likewise.
52848         * math/w_sqrt.c: Likewise.
52849         * math/w_sqrtf.c: Likewise.
52850         * math/w_sqrtl.c: Likewise.
52851         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52852         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52853         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52854         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52855         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52857 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52859         [BZ #9739]
52860         * manual/string.texi (strnlen): Use correct parameter name in
52861         equivalent expression.
52863 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52865         [BZ #11174]
52866         * manual/users.texi (seteuid): Consistently use neweuid for
52867         argument name.
52869 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52871         [BZ #13704]
52872         * manual/nss.texi (Services in the NSS configuration): Correct
52873         list of services in example configuration file.
52875 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52877         [BZ #11322]
52878         * manual/arith.texi: Remove statements about negative zero
52879         behaving identically to zero.
52881 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52883         [BZ #5993]
52884         * manual/install.texi: Do not document upgrading from libc5.
52886 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52888         [BZ #4596]
52889         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52891 2012-02-18  David S. Miller  <davem@davemloft.net>
52893         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52894         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52895         %o7 across the call.
52896         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52897         instead.
52898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52899         SETUP_PIC_REG_LEAF.
52900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52901         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52902         * sysdeps/sparc/crtn.S: Likewise.
52904 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52906         * aout/Makefile: Remove.
52908 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52910         [BZ #13058]
52911         * manual/examples/argp-ex1.c (main): Format definition in GNU
52912         style.
52913         * manual/examples/argp-ex2.c (main): Likewise.
52914         * manual/examples/argp-ex3.c (main): Likewise.
52915         * manual/examples/argp-ex4.c (main): Likewise.
52916         * manual/examples/longopt.c (main): Use new-style prototype
52917         definition.
52918         * manual/examples/strncat.c (main): Specify return type and use
52919         (void) for arguments.
52920         * manual/examples/subopt.c (main): Use char **argv argument.
52922 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52924         [BZ #5077]
52925         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52926         rounding modes.
52928 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52930         [BZ #6907]
52931         * manual/string.texi (strchr): Change when strchrnul is
52932         recommended.
52934 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52936         [BZ #174]
52937         * manual/locale.texi (setlocale): Document LOCPATH.
52939 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52941         [BZ #10210]
52942         * manual/process.texi (execle): Move @dots{} before last argument.
52944 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52946         [BZ #12047]
52947         * manual/charset.texi (Generic Charset Conversion): Fix typo
52948         (LC_TYPE -> LC_CTYPE).
52950 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52952         [BZ #5805]
52953         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52954         (scalbnf): Likewise.
52955         (scalbnl): Likewise.
52956         (scalbln): Likewise.
52957         (scalblnf): Likewise.
52958         (scalblnl): Likewise.
52959         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52960         (vwarnx): Likewise.
52961         (verr): Likewise.
52962         (verrx): Likewise.
52963         * manual/filesys.texi (telldir): Use braces around return type.
52964         * manual/llio.texi (mmap): Add space after comma.
52965         (mmap64): Likewise.
52966         * manual/math.texi (jn): Use @var{} on parameter names.
52967         (jnf): Likewise.
52968         (jnl): Likewise.
52969         (yn): Likewise.
52970         (ynf): Likewise.
52971         (ynl): Likewise.
52972         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52973         line.
52974         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52975         "...".
52976         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52977         (sched_get_priority_max): Likewise.
52978         * manual/signal.texi (sigvec): Add space after comma.
52979         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52980         names.
52981         (if_indextoname): Likewise.
52982         (if_freenameindex): Likewise.
52983         (sendto): Use ',' instead of '.' in prototype.
52984         * manual/startup.texi (syscall): Use @dots{} instead of literal
52985         "...".
52986         * manual/stdio.texi (__fpending): Separate initial words of
52987         paragraph from @deftypefun line.
52988         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52989         "...".
52990         (vsyslog): Use @var{} on parameter names.
52991         * manual/terminal.texi (stty): Use @var{} on parameter names.
52992         * manual/users.texi (getutmp): Use @var{} on parameter names.
52993         (getutmpx): Likewise.
52995 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52997         [BZ #6884]
52998         * manual/stdio.texi (fopen): Fix typos in description of
52999         ",ccs=STRING".
53001 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
53003         [BZ #4026]
53004         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
53005         get clock_id definition.
53007 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
53009         [BZ #4822]
53010         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
53011         (madvise): Cast every argument to void on its own.
53013 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53015         [BZ #9902]
53016         * manual/startup.texi (Exit Status): Fix typo.
53018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53020         [BZ #10140]
53021         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53022         * manual/examples/argp-ex2.c: Likewise.
53023         * manual/examples/argp-ex3.c: Likewise.
53025 2012-02-16  Richard Henderson  <rth@redhat.com>
53027         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53028         * sysdeps/s390/s390-32/initfini.c: Remove.
53029         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53030         * sysdeps/s390/s390-64/initfini.c: Remove.
53032 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53034         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53035         compiler output for sysdeps/generic/initfini.c.
53036         * sysdeps/sh/elf/initfini.c: Remove file.
53038 2012-02-16  David S. Miller  <davem@davemloft.net>
53040         [BZ #11494]
53041         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53043         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53044         * sysdeps/sparc/crti.S: New file.
53045         * sysdeps/sparc/crtn.S: New file.
53046         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53047         * sysdeps/sparc/sparc64/Makefile: Likewise.
53049 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53051         [BZ #3335]
53052         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53054 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53056         [BZ #4822]
53057         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53059         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53060         (write, read, close): Likewise.
53061         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53063 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53065         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53066         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53067         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53068         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53069         <bits/signalfd.h>.
53070         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53072         bits/signalfd.h.
53074 2012-02-14  Marek Polacek  <polacek@redhat.com>
53076         * sysdeps/x86_64/crti.S: New file.
53077         * sysdeps/x86_64/crtn.S: New file.
53078         * sysdeps/x86_64/elf/initfini.c: Remove file.
53080 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53082         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53083         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53084         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53085         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53086         <bits/inotify.h>.
53087         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53089         bits/inotify.h.
53091 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53093         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53094         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53095         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53096         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53097         <bits/eventfd.h>.
53098         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53100         bits/eventfd.h.
53102 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53104         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53105         __feraiseexcept instead of feraiseexcept.
53107         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53108         nanosleep invocations.
53109         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53110         strings, and add error checking for a nanosleep invocations.
53112 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53114         Replace FSF snail mail address with URLs, as per GNU coding standards.
53115         Most of the snail mail addresses were wrong anyway, and omitting
53116         them makes the source code easier to maintain.  Almost all of the
53117         changes are to license notices and to locale LC_IDENTIFICATION
53118         addresses, except for this one:
53119         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53120         not its snail mail address.
53122 2012-02-09  Richard Henderson  <rth@twiddle.net>
53124         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53125         of kernel-features.h.
53127         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53129 2012-02-08  Marek Polacek  <polacek@redhat.com>
53131         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53132         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53133         * sysdeps/gnu/_G_config.h: Likewise.
53134         * sysdeps/generic/_G_config.h: Likewise.
53136 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53138         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53139         tests.
53140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53142         * sysdeps/powerpc/powerpc32/crti.S: New file.
53143         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53144         * sysdeps/powerpc/powerpc64/crti.S: New file.
53145         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53147         * Makeconfig (have-initfini): Don't set.
53148         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53149         * configure.in (nopic_initfini): Don't substitute.
53150         * config.h.in (HAVE_INITFINI): Don't #undef.
53151         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53152         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53154 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53156         Support crti.S and crtn.S provided directly by architectures.
53157         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53158         [crti.S in sysdirs] (omit-deps): Likewise.
53159         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53160         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53161         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53162         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53163         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53164         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53165         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53166         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53167         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53168         compiler output for sysdeps/generic/initfini.c.
53169         * sysdeps/i386/elf/Makefile: Remove file.
53170         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53172 2012-02-07  Marek Polacek  <polacek@redhat.com>
53174         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53175         * sysdeps/gnu/_G_config.h: Likewise.
53176         * sysdeps/mach/hurd/_G_config.h: Likewise.
53178 2012-02-07  Marek Polacek  <polacek@redhat.com>
53180         * math/Makefile (tests): Add tst-CMPLX2.
53181         * math/tst-CMPLX2.c: New file.
53183 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53185         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53187         * math/libm-test.inc (jn_test): Add missing L suffix.
53189 2012-02-06  Marek Polacek  <polacek@redhat.com>
53191         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53192         * sysdeps/i386/fpu/e_powf.S: Likewise.
53193         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53194         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53195         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53196         * sysdeps/i386/fpu/e_pow.S: Likewise.
53197         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53198         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53199         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53200         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53201         * sysdeps/i386/fpu/e_log2.S: Likewise.
53202         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53203         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53204         * sysdeps/i386/fpu/e_powl.S: Likewise.
53205         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53206         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53207         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53208         * sysdeps/i386/fpu/e_logl.S: Likewise.
53209         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53210         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53211         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53212         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53213         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53214         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53215         * sysdeps/i386/fpu/e_log.S: Likewise.
53216         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53217         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53218         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53219         * sysdeps/i386/fpu/e_logf.S: Likewise.
53220         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53221         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53222         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53223         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53224         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53225         * sysdeps/i386/fpu/e_log10.S: Likewise.
53226         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53227         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53228         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53229         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53230         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53231         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53232         * sysdeps/i386/asm-syntax.h: Likewise.
53233         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53235         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53236         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53237         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53238         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53239         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53240         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53241         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53242         * sysdeps/powerpc/sysdep.h: Likewise.
53243         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53244         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53246 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53248         [BZ #411]
53249         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53251 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53253         * sysdeps/i386/sysdep.h: Include <features.h>.
53254         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53255         version.
53257 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53259         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53260         Define.
53261         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53262         LOAD_PIC_REG_STR.
53264 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53266         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53267         (SETUP_PIC_REG): Use GET_PC_THUNK.
53268         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53269         macro.
53271 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53273         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53274         for non-PIC compilation.
53275         (SETUP_PIC_REG): Add .p2align directive.
53276         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53277         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53278         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53279         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53280         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53281         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53282         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53283         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53284         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53285         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53286         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53287         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53288         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53289         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53290         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53291         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53292         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53293         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53294         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53295         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53296         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53297         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53298         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53299         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53300         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53301         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53302         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53303         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53304         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53305         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53306         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53308         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53309         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53310         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53311         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53312         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53313         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53314         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53315         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53316         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53318 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53320         * math/tst-CMPLX.c: Include <stdio.h>.
53322 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53324         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53325         float.
53326         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53327         * sysdeps/sparc/bits/mathdef.h: Likewise.
53329 2012-01-31  Marek Polacek  <polacek@redhat.com>
53331         * libio/libio.h: Don't define _PARAMS.
53332         * locale/programs/config.h: Don't define PARAMS.
53333         * stdlib/strtol_l.c: Likewise.
53334         (__strtol_l): Remove PARAMS from the prototype.
53336 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53338         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53339         names.  Just use the correct names.  Remove unnecessary wrapper
53340         functions.
53341         * malloc/arena.c: Likewise.
53342         * malloc/hooks.c: Likewise.
53344         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53345         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53346         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53348 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53350         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53351         into tail calls.
53352         (update_get_addr): New function.
53353         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53354         GET_ADDR_MODULE parameter.
53356 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53358         * crypt/cert.c: Remove __STDC__ conditionals.
53359         * crypt/crypt-entry.c: Likewise.
53360         * crypt/crypt_util.c: Likewise.
53361         * libio/filedoalloc.c: Likewise.
53362         * libio/fileops.c: Likewise.
53363         * libio/genops.c: Likewise.
53364         * libio/iofclose.c: Likewise.
53365         * libio/iofdopen.c: Likewise.
53366         * libio/iofopen.c: Likewise.
53367         * libio/iofopen64.c: Likewise.
53368         * libio/iogetdelim.c: Likewise.
53369         * libio/iopopen.c: Likewise.
53370         * libio/obprintf.c: Likewise.
53371         * libio/oldfileops.c: Likewise.
53372         * libio/oldiofclose.c: Likewise.
53373         * libio/oldiofdopen.c: Likewise.
53374         * libio/oldiofopen.c: Likewise.
53375         * libio/oldiopopen.c: Likewise.
53376         * libio/wfiledoalloc.c: Likewise.
53377         * libio/wgenops.c: Likewise.
53378         * locale/programs/xmalloc.c: Likewise.
53379         * misc/syslog.c: Likewise.
53380         * stdio-common/xbug.c: Likewise.
53381         * string/memchr.c: Likewise.
53382         * string/memcmp.c: Likewise.
53383         * string/memrchr.c: Likewise.
53384         * string/rawmemchr.c: Likewise.
53385         * sysdeps/posix/getcwd.c: Likewise.
53386         * time/strftime_l.c: Likewise.
53388 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53390         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53391         * config.make.in (config-cflags-sse2avx): Define.
53392         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53393         Fix typo.
53395 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53397         * scripts/config.guess: Update from upstream config git repository.
53398         * scripts/config.sub: Likewise.
53400 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53402         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53403         (EM_NUM): Update.
53404         (R_TILEPRO_*, R_TILEGX_*): New macros.
53406         * scripts/firstversions.awk: Fix bug in version range handling.
53408         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53410         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53412         * include/sys/epoll.h: New file.
53413         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53414         libc_hidden_def.
53416 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53418         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53419         Avoid unnecessary __WORDSIZE == 64 test.
53420         (fmaxf): Use VEX format if possible.
53421         (fmax): Likewise.
53422         (fminf): Likewise.
53423         (fmin): Likewise.
53425         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53426         * math/math_private.h: Remove libc_fegetround* and
53427         libc_fesetround*.
53428         * sysdeps/i386/configure.in: Check for -msse2avx.
53429         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53430         also if SSE2AVX is defined.
53431         Remove libc_fegetround* and libc_fesetround*.
53432         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53433         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53434         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53435         of HAS_YMM_USABLE.
53436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53437         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53439         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53440         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53442         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53444 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53446         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53447         size is not set.
53448         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53450 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53452         [BZ #13618]
53453         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53454         relocation.
53455         * Makeconfig (libm): Define.
53456         * elf/Makefile: Add rules to build and run tst-relsort1.
53457         * elf/tst-relsort1.c: New file.
53458         * elf/tst-relsort1mod1.c: New file.
53459         * elf/tst-relsort1mod2.c: New file.
53461 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53463         * math/s_ldexp.c: Remove __STDC__ conditionals.
53464         * math/s_ldexpf.c: Likewise.
53465         * math/s_ldexpl.c: Likewise.
53466         * math/s_nextafter.c: Likewise.
53467         * math/s_nexttowardf.c: Likewise.
53468         * math/s_significand.c: Likewise.
53469         * math/s_significandf.c: Likewise.
53470         * math/s_significandl.c: Likewise.
53471         * math/w_jnl.c: Likewise.
53472         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53473         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53474         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53475         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53476         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53478         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53479         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53480         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53481         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53482         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53483         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53484         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53485         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53486         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53487         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53488         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53489         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53491         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53492         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53493         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53494         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53495         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53496         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53497         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53498         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53499         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53500         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53501         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53502         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53503         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53504         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53505         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53506         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53507         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53508         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53509         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53510         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53511         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53512         * sysdeps/ieee754/k_standard.c: Likewise.
53513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53514         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53515         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53516         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53517         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53518         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53520         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53521         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53522         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53523         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53524         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53525         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53526         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53527         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53528         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53529         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53530         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53531         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53532         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53533         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53534         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53535         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53536         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53537         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53538         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53539         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53540         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53542         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53543         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53544         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53545         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53546         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53548         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53549         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53550         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53551         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53552         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53553         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53554         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53555         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53556         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53557         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53558         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53560         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53561         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53562         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53563         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53564         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53565         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53566         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53567         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53568         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53569         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53570         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53571         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53572         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53573         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53574         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53575         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53576         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53577         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53578         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53579         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53582         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53583         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53584         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53585         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53586         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53587         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53588         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53589         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53590         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53591         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53592         * sysdeps/ieee754/s_matherr.c: Likewise.
53593         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53594         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53595         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53596         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53598 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53600         * crypt/md5.h: Remove __STDC__ conditionals.
53601         * libio/libioP.h: Likewise.
53602         * locale/programs/config.h: Likewise.
53603         * sysdeps/generic/sysdep.h: Likewise.
53604         * sysdeps/i386/asm-syntax.h: Likewise.
53605         * sysdeps/s390/asm-syntax.h: Likewise.
53606         * sysdeps/unix/sysdep.h: Likewise.
53607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53610 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53612         * libio/libio.h: Remove __STDC__ conditionals.
53613         * malloc/obstack.h: Likewise.
53614         * math/complex.h: Likewise.
53615         * math/math.h: Likewise.
53616         * sysdeps/generic/_G_config.h: Likewise.
53617         * sysdeps/gnu/_G_config.h: Likewise.
53618         * sysdeps/mach/hurd/_G_config.h: Likewise.
53619         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53620         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53621         * sysdeps/sparc/bits/mathdef.h: Likewise.
53623 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53625         [BZ #13583]
53626         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53627         Clean up HAS_* macros.
53628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53629         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53630         possible.
53631         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53632         HAS_AVX.
53633         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53634         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53635         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53636         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53637         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53639 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53641         * elf/tst-unique3.cc (gets): Remove declaration.
53642         * elf/tst-unique3lib.cc (gets): Likewise.
53643         * elf/tst-unique3lib2.cc (gets): Likewise.
53644         * elf/tst-unique4.cc (gets): Likewise.
53646 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53648         * include/stdio.h: Add C++ protection.  Add gets declarations and
53649         definitions.
53650         * debug/tst-chk1.c: Don't declare gets here.
53651         * stdio-common/tst-gets.c: Likewise.
53653 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53655         * posix/glob: Remove directory.
53657 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53659         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53661 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53663         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53664         of the non-standard EPFNOSUPPORT.
53666 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53668         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53669         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53670         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53672 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53674         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53676 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53678         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53679         transient errors.
53680         * nscd/grpcache.c (cache_addgr): Likewise.
53681         * nscd/hstcache.c (cache_addhst): Likewise.
53682         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53683         * nscd/pwdcache.c (cache_addpw): Likewise.
53684         * nscd/servicescache.c (cache_addserv): Likewise.
53686 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53688         * malloc/malloc.c: Various cleanups.
53689         * malloc/hooks.c: Likewise.
53691         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53692         * stdlib/bug-fmtmsg1.c: New file.
53694         * stdlib/fmtmsg.c (init): Add missing unlock.
53695         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53697 2012-01-12  Marek Polacek  <polacek@redhat.com>
53699         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53700         and _GNU_SOURCE.
53702 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53704         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53705         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53706         macro to ensure uniqueness of label name.
53707         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53708         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53710 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53712         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53714         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53715         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53716         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53719 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53721         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53723         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53724         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53725         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53727         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53729         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53730         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53731         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53732         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53734         * math/bits/math-finite.h: Add ldexp support.
53736 2012-01-10  Marek Polacek  <polacek@redhat.com>
53738         * locale/programs/localedef.h (show_archive_content): Add noreturn
53739         attribute.
53741 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53743         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53745 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53747         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53749         * io/Makefile (headers): Add bits/poll2.h.
53751 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53754         typo #include statement.
53756 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53758         * include/sys/cdefs.h: Define __attribute_alloc_size.
53759         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53760         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53761         * elf/pldd.c: Likewise.
53762         * iconv/iconv_charmap.c: Likewise.
53763         * iconv/iconvconfig.c: Likewise.
53764         * iconv/strtab.c: Likewise.
53765         * locale/programs/locale.c: Likewise.
53766         * locale/programs/localedef.h: Likewise.
53767         * locale/programs/simple-hash.c: Likewise.
53768         * nscd/nscd.h: Likewise.
53769         * nss/makedb.c: Likewise.
53770         * sysdeps/generic/ldconfig.h: Likewise.
53771         * locale/programs/localedef.c: Remove xmalloc prototype.
53772         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53774 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53776         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53777         appropriate.
53779 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53781         * math/Makefile (tests): Add tst-CMPLX.
53782         * math/tst-CMPLX.c: New file.
53784         * math/complex.h (CMPLXL): Fix typo.
53786         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53787         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53788         GLIBC_2.16.
53789         * debug/tst-chk1.c: Add poll and ppoll tests.
53790         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53791         * include/sys/poll.h: Add hidden proto for ppoll.
53792         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53793         * sysdeps/mach/hurd/ppoll.c: Likewise.
53794         * io/ppoll.c: Likewise.
53795         * debug/poll_chk.c: New file.
53796         * debug/ppoll_chk.c: New file.
53797         * include/bits/poll2.h: New file.
53798         * io/bits/poll2.h: New file.
53800         [BZ #1350]
53801         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53803         * configure.in: static is always set to yes.  Remove.
53804         * config.make.in: Don't set build-static.
53805         * Makeconfig: Remove use of build-static.
53806         * dlfcn/Makefile: Likewise.
53807         * elf/Makefile: Likewise.
53808         * math/Makefile: Likewise.
53809         * misc/Makefile: Likewise.
53810         * nptl/Makefile: Likewise.
53811         * sysdeps/mach/hurd/Makefile: Likewise.
53813         * configure.in: PWD_P is not used anymore.
53814         * config.make.in: Remove PWD_P entry.
53816         * configure.in: Remove last remnants of RANLIB.
53817         No need to check for signed size_t anymore.
53818         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53819         and IA-64.
53820         Remove __builtin_expect test because we require at least gcc 3.4.
53821         * aclocal.m4: Likewise.
53823         * wcsmbs/mbrtoc16.c: Implement using towc function.
53824         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53825         * wcsmbs/wcsmbsload.c: Likewise.
53826         * iconv/gconv_simple.c: Likewise.
53827         * iconv/gconv_int.h: Likewise.
53828         * iconv/gconv_builtin.h: Likewise.
53829         * iconv/iconv_prog.c: Remove CHAR16 handling.
53831         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53833         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53835         * configure.in: Remove --with-elf and --enable-bounded options.
53836         Dont set base_machine for ia64.  More non-ELF conditions removed.
53837         Remove testing and setting of leading underscore information.
53838         * config.make.in (build-bounded): Set to no.
53839         * config.h.in: Remove NO_UNDERSCORES entry.
53840         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53841         them.
53842         * csu/start.c: Remove !NO_UNDERSCORE code.
53843         * locale/localeinfo.h: Likewise.
53844         * sysdeps/generic/machine-gmon.h: Likewise.
53845         * sysdeps/generic/sysdep.h: Likewise.
53846         * sysdeps/i386/sysdep.h: Likewise.
53847         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53848         * sysdeps/mach/sysdep.h: Likewise.
53849         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53851         * sysdeps/sh/sysdep.h: Likewise.
53852         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53853         * sysdeps/unix/i386/sysdep.S: Likewise.
53854         * sysdeps/unix/sparc/start.c: Likewise.
53855         * sysdeps/unix/sparc/sysdep.S: Likewise.
53856         * sysdeps/unix/sparc/sysdep.h: Likewise.
53857         * sysdeps/unix/start.c: Likewise.
53858         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53859         * sysdeps/x86_64/sysdep.h: Likewise.
53861 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53863         [BZ #13553]
53864         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53865         for non-gcc.
53866         * argp/argp-fmtstream.h: Use const instead __const.
53867         * argp/argp.h: Likewise.
53868         * assert/assert.h: Likewise.
53869         * bits/fenv.h: Likewise.
53870         * bits/sched.h: Likewise.
53871         * bits/sigset.h: Likewise.
53872         * bits/sigthread.h: Likewise.
53873         * catgets/nl_types.h: Likewise.
53874         * conform/data/pthread.h-data: Likewise.
53875         * crypt/crypt-private.h: Likewise.
53876         * crypt/crypt.h: Likewise.
53877         * crypt/crypt_util.c: Likewise.
53878         * ctype/ctype.h: Likewise.
53879         * debug/execinfo.h: Likewise.
53880         * debug/mbsnrtowcs_chk.c: Likewise.
53881         * debug/mbsrtowcs_chk.c: Likewise.
53882         * debug/wcsnrtombs_chk.c: Likewise.
53883         * debug/wcsrtombs_chk.c: Likewise.
53884         * debug/wcstombs_chk.c: Likewise.
53885         * dirent/dirent.h: Likewise.
53886         * dlfcn/dlfcn.h: Likewise.
53887         * elf/neededtest4.c: Likewise.
53888         * grp/grp.h: Likewise.
53889         * gshadow/gshadow.h: Likewise.
53890         * iconv/gconv.h: Likewise.
53891         * iconv/gconv_int.h: Likewise.
53892         * iconv/gconv_simple.c: Likewise.
53893         * iconv/iconv.h: Likewise.
53894         * iconv/loop.c: Likewise.
53895         * iconv/skeleton.c: Likewise.
53896         * include/aio.h: Likewise.
53897         * include/aliases.h: Likewise.
53898         * include/argz.h: Likewise.
53899         * include/arpa/inet.h: Likewise.
53900         * include/assert.h: Likewise.
53901         * include/dirent.h: Likewise.
53902         * include/dlfcn.h: Likewise.
53903         * include/execinfo.h: Likewise.
53904         * include/fcntl.h: Likewise.
53905         * include/fenv.h: Likewise.
53906         * include/glob.h: Likewise.
53907         * include/grp.h: Likewise.
53908         * include/libintl.h: Likewise.
53909         * include/mntent.h: Likewise.
53910         * include/netdb.h: Likewise.
53911         * include/pwd.h: Likewise.
53912         * include/rpc/netdb.h: Likewise.
53913         * include/sched.h: Likewise.
53914         * include/search.h: Likewise.
53915         * include/shadow.h: Likewise.
53916         * include/signal.h: Likewise.
53917         * include/stdio.h: Likewise.
53918         * include/stdlib.h: Likewise.
53919         * include/string.h: Likewise.
53920         * include/sys/socket.h: Likewise.
53921         * include/sys/stat.h: Likewise.
53922         * include/sys/statfs.h: Likewise.
53923         * include/sys/statvfs.h: Likewise.
53924         * include/sys/syslog.h: Likewise.
53925         * include/sys/time.h: Likewise.
53926         * include/sys/uio.h: Likewise.
53927         * include/time.h: Likewise.
53928         * include/unistd.h: Likewise.
53929         * include/utmp.h: Likewise.
53930         * include/wchar.h: Likewise.
53931         * include/wctype.h: Likewise.
53932         * inet/aliases.h: Likewise.
53933         * inet/arpa/inet.h: Likewise.
53934         * inet/netinet/ether.h: Likewise.
53935         * inet/netinet/in.h: Likewise.
53936         * intl/libintl.h: Likewise.
53937         * io/bits/fcntl2.h: Likewise.
53938         * io/fcntl.h: Likewise.
53939         * io/ftw.h: Likewise.
53940         * io/sys/poll.h: Likewise.
53941         * io/sys/stat.h: Likewise.
53942         * io/sys/statfs.h: Likewise.
53943         * io/sys/statvfs.h: Likewise.
53944         * io/utime.h: Likewise.
53945         * libio/bits/stdio.h: Likewise.
53946         * libio/bits/stdio2.h: Likewise.
53947         * libio/libio.h: Likewise.
53948         * libio/libioP.h: Likewise.
53949         * libio/stdio.h: Likewise.
53950         * locale/lc-ctype.c: Likewise.
53951         * locale/locale.h: Likewise.
53952         * login/utmp.h: Likewise.
53953         * malloc/arena.c: Likewise.
53954         * malloc/malloc.c: Likewise.
53955         * malloc/malloc.h: Likewise.
53956         * malloc/mcheck.c: Likewise.
53957         * malloc/mtrace.c: Likewise.
53958         * math/bits/mathcalls.h: Likewise.
53959         * math/fenv.h: Likewise.
53960         * math/math_private.h: Likewise.
53961         * misc/bits/error.h: Likewise.
53962         * misc/bits/syslog.h: Likewise.
53963         * misc/err.h: Likewise.
53964         * misc/error.h: Likewise.
53965         * misc/fstab.h: Likewise.
53966         * misc/mntent.h: Likewise.
53967         * misc/regexp.h: Likewise.
53968         * misc/search.h: Likewise.
53969         * misc/sgtty.h: Likewise.
53970         * misc/sys/mman.h: Likewise.
53971         * misc/sys/syslog.h: Likewise.
53972         * misc/sys/uio.h: Likewise.
53973         * misc/sys/xattr.h: Likewise.
53974         * misc/ttyent.h: Likewise.
53975         * nis/rpcsvc/ypclnt.h: Likewise.
53976         * nss/nss.h: Likewise.
53977         * posix/bits/unistd.h: Likewise.
53978         * posix/fnmatch.h: Likewise.
53979         * posix/glob.h: Likewise.
53980         * posix/sched.h: Likewise.
53981         * posix/spawn.h: Likewise.
53982         * posix/sys/wait.h: Likewise.
53983         * posix/unistd.h: Likewise.
53984         * posix/wordexp.h: Likewise.
53985         * pwd/pwd.h: Likewise.
53986         * resolv/netdb.h: Likewise.
53987         * resource/sys/resource.h: Likewise.
53988         * rt/aio.h: Likewise.
53989         * rt/bits/mqueue2.h: Likewise.
53990         * rt/mqueue.h: Likewise.
53991         * shadow/shadow.h: Likewise.
53992         * signal/signal.h: Likewise.
53993         * socket/send.c: Likewise.
53994         * socket/sendto.c: Likewise.
53995         * socket/sys/socket.h: Likewise.
53996         * stdio-common/printf.h: Likewise.
53997         * stdlib/bits/stdlib.h: Likewise.
53998         * stdlib/fmtmsg.h: Likewise.
53999         * stdlib/monetary.h: Likewise.
54000         * stdlib/stdlib.h: Likewise.
54001         * stdlib/ucontext.h: Likewise.
54002         * streams/stropts.h: Likewise.
54003         * string/argz.h: Likewise.
54004         * string/bits/string2.h: Likewise.
54005         * string/string.h: Likewise.
54006         * string/strings.h: Likewise.
54007         * sunrpc/rpc/auth.h: Likewise.
54008         * sunrpc/rpc/auth_des.h: Likewise.
54009         * sunrpc/rpc/clnt.h: Likewise.
54010         * sunrpc/rpc/netdb.h: Likewise.
54011         * sunrpc/rpc/pmap_clnt.h: Likewise.
54012         * sunrpc/rpc/xdr.h: Likewise.
54013         * sysdeps/generic/inttypes.h: Likewise.
54014         * sysdeps/generic/net/if.h: Likewise.
54015         * sysdeps/generic/sys/swap.h: Likewise.
54016         * sysdeps/gnu/net/if.h: Likewise.
54017         * sysdeps/gnu/utmpx.h: Likewise.
54018         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54019         * sysdeps/i386/i486/bits/string.h: Likewise.
54020         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54021         * sysdeps/s390/bits/string.h: Likewise.
54022         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54023         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54024         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54025         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54026         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54027         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54028         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54029         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54030         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54031         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54032         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54033         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54034         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54035         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54036         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54037         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54038         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54039         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54040         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54041         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54042         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54043         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54044         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54045         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54046         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54047         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54048         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54049         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54050         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54051         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54052         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54053         * sysvipc/sys/ipc.h: Likewise.
54054         * sysvipc/sys/msg.h: Likewise.
54055         * sysvipc/sys/sem.h: Likewise.
54056         * sysvipc/sys/shm.h: Likewise.
54057         * termios/termios.h: Likewise.
54058         * time/sys/time.h: Likewise.
54059         * time/time.h: Likewise.
54060         * wcsmbs/bits/wchar2.h: Likewise.
54061         * wcsmbs/uchar.h: Likewise.
54062         * wcsmbs/wchar.h: Likewise.
54063         * wctype/wctype.h: Likewise.
54065         [BZ #13551]
54066         * Makeconfig: Remove all but ELF support including AIX support.
54067         * Makerules: Likewise.
54068         * config.h.in: Likewise.
54069         * config.make.in: Likewise.
54070         * configure: Likewise.
54071         * configure.in: Likewise.
54072         * csu/Makefile: Likewise.
54073         * csu/version.c: Likewise.
54074         * debug/Makefile: Likewise.
54075         * dlfcn/Makefile: Likewise.
54076         * elf/Makefile: Likewise.
54077         * extra-lib.mk: Likewise.
54078         * iconv/Makefile: Likewise.
54079         * include/libc-symbols.h: Likewise.
54080         * include/shlib-compat.h: Likewise.
54081         * resolv/Makefile: Likewise.
54082         * resolv/res_libc.c: Likewise.
54083         * rt/Makefile: Likewise.
54084         * sysdeps/i386/asm-syntax.h: Likewise.
54085         * sysdeps/i386/sysdep.h: Likewise.
54086         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54087         * sysdeps/mach/sysdep.h: Likewise.
54088         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54089         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54090         * sysdeps/s390/asm-syntax.h: Likewise.
54091         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54092         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54093         * sysdeps/sh/sysdep.h: Likewise.
54094         * sysdeps/unix/sparc/sysdep.h: Likewise.
54095         * sysdeps/wordsize-32/divdi3.c: Likewise.
54096         * sysdeps/x86_64/sysdep.h: Likewise.
54098         * argp/Versions: Remove _argp_unlock_xxx.
54100         [BZ #13559]
54101         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54102         * abilist/libBrokenLocale.abilist: Likewise.
54103         * abilist/libanl.abilist: Likewise.
54104         * abilist/libc.abilist: Likewise.
54105         * abilist/libcrypt.abilist: Likewise.
54106         * abilist/libdl.abilist: Likewise.
54107         * abilist/libm.abilist: Likewise.
54108         * abilist/libnsl.abilist: Likewise.
54109         * abilist/libpthread.abilist: Likewise.
54110         * abilist/libresolv.abilist: Likewise.
54111         * abilist/librt.abilist: Likewise.
54112         * abilist/libthread_db.abilist: Likewise.
54113         * abilist/libutil.abilist: Likewise.
54114         * abilist/libnss_db.abilist: New file.
54116         * scripts/abilist.awk: Add support for indirect functions.
54118         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54120         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54122         * shlib-versions: Remove entries for ports architectures.
54124         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54125         files in ports.
54126         * elf/stackguard-macros.h: Remove support for IA-64.
54127         * elf/tst-auditmod1.c: Likewise.
54128         * sysdeps/generic/ldsodefs.h: Likewise.
54130         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54131         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54132         configure files.
54134         [BZ #13552]
54135         * configure.in: Remove --enable-omitfp support.
54136         * FAQ.in: Adjust.
54137         * config.make.in: Likewise.
54138         * Makeconfig: Likewise.
54139         * manual/install.texi: Likewise.
54141         In case anyone cares, the IA-64 architecture could move to ports.
54142         * sysdeps/ia64/*: Removed.
54143         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54144         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54146         [BZ #13555]
54147         * configure.in: Remove entries for unsupported architectures.
54149         [BZ #13533]
54150         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54151         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54152         routines.
54153         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54154         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54155         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54156         fall back to using wcrtomb.
54157         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54158         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54159         renaming.
54160         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54161         * wcsmbs/tst-c16c32-1.c: New file.
54163         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54164         local variable.
54166         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54168         * elf/tst-unique3.cc: Add explicit declaration of gets.
54169         * elf/tst-unique3lib.cc: Likewise.
54170         * elf/tst-unique3lib2.cc: Likewise.
54171         * elf/tst-unique4.cc: Likewise.
54173         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54175 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54177         [BZ #13566]
54178         * assert/assert.h (static_assert): Don't define for C++.
54179         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54180         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54182 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54184         * iconv/loop.c (single loop): Fix assertion in storing of
54185         remaining bytes.
54187         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54189 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54191         * posix/getconf.c: Update copyright year.
54192         * nss/getent.c: Likewise.
54193         * nss/makedb.c: Likewise.
54194         * iconv/iconvconfig.c: Likewise.
54195         * iconv/iconv_prog.c: Likewise.
54196         * elf/ldconfig.c: Likewise.
54197         * elf/pldd.c: Likewise.
54198         * elf/sotruss.ksh: Likewise.
54199         * catgets/gencat.c: Likewise.
54200         * csu/version.c: Likewise.
54201         * elf/ldd.bash.in: Likewise.
54202         * elf/sprof.c (print_version): Likewise.
54203         * locale/programs/locale.c: Likewise.
54204         * locale/programs/localedef.c: Likewise.
54205         * login/programs/pt_chown.c: Likewise.
54206         * nscd/nscd.c (print_version): Likewise.
54207         * debug/xtrace.sh: Likewise.
54208         * malloc/memusage.sh: Likewise.
54209         * malloc/mtrace.pl: Likewise.
54210         * debug/catchsegv.sh: Likewise.
54212 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54214         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54215         pure attribute.
54217 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54219         [BZ #13533]
54220         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54221         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54222         transformations.
54223         * iconv/gconv_int.h: Likewise.
54224         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54225         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54226         from libc for GLIBC_2.16.
54227         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54228         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54229         * wcsmbs/uchar.h: Really define mbstate_t.
54230         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54231         * wcsmbs/c16rtomb.c: New file.
54232         * wcsmbs/mbrtoc16.c: New file.
54233         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54234         for C/POSIX locale.
54235         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54236         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54238         * wcsmbs/wchar.h: Add missing __restrict.
54240 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54242         [BZ #13532]
54243         * time/Makefile (routines): Add timespec_get.
54244         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54245         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54246         timespec for ISO C11.
54247         * time/timespec_get.c: New file.
54248         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54249         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54251         [BZ #13531]
54252         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54253         * stdlib/stdlib.h: Declare aligned_alloc.
54254         * Versions.def: Add GLIBC_2.16 for libc.
54255         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54257         [BZ 13527]
54258         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54259         ISO C11.
54261         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54262         code.
54264         [BZ #13528]
54265         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54267         [BZ #13529]
54268         * assert/assert.h (static_assert): Define.
54270         * version.h: Update for 2.16 development version.
54272         [BZ #13526]
54273         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54274         _ISOC11_SOURCE.
54276         * version.h (RELEASE): Bump for 2.15 release.
54277         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54279         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54280         Patch by Marek Polacek <mpolacek@redhat.com>.
54282         * bits/byteswap.h: Protect long long constants with __extension__.
54283         * sysdeps/i386/bits/byteswap.h: Likewise.
54284         * sysdeps/ia64/bits/byteswap.h: Likewise.
54285         * sysdeps/s390/bits/byteswap.h: Likewise.
54286         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54288 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54290         [BZ #13540]
54291         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54292         destination buffer.
54293         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54295 2011-12-23  Marek Polacek  <polacek@redhat.com>
54297         * elf/dl-addr.c (determine_info): Add inline keyword.
54298         * elf/tst-auditmod4b.c (check_avx): Likewise.
54299         * elf/tst-auditmod6b.c (check_avx): Likewise.
54300         * elf/tst-auditmod6c.c (check_avx): Likewise.
54301         * elf/tst-auditmod7b.c (check_avx): Likewise.
54303 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54305         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54306         !__SSE_MATH__.
54308 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54310         [BZ #13540]
54311         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54312         processing for last bytes.
54314 2011-08-06  Bruno Haible  <bruno@clisp.org>
54316         [BZ #13061]
54317         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54318         U+0385, not to U+1FEE.
54320         [BZ #13062]
54321         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54322         entry for U+00A5 U+0301.
54324 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54326         [BZ #13166]
54327         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54328         buffer for the output is too small.
54330         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54331         optimization.
54333         [BZ #13185]
54334         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54335         SSE flags if possible.
54337 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54339         [BZ #13540]
54340         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54341         processing for last bytes.
54343 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54345         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54346         (syscall-list-default-options, syscall-list-default-condition)
54347         (syscall-list-includes): Define.
54348         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54349         list of ABIs and options and #if conditions for each ABI.  Do not
54350         handle common syscalls between ABIs specially.
54351         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54352         Remove.
54353         (syscall-list-variants, syscall-list-32bit-options)
54354         (syscall-list-32bit-condition, syscall-list-64bit-options)
54355         (syscall-list-64bit-condition): Define.
54356         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54357         (syscall-list-variants, syscall-list-32bit-options)
54358         (syscall-list-32bit-condition, syscall-list-64bit-options)
54359         (syscall-list-64bit-condition): Define.
54360         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54361         Remove.
54362         (syscall-list-variants, syscall-list-32bit-options)
54363         (syscall-list-32bit-condition, syscall-list-64bit-options)
54364         (syscall-list-64bit-condition): Define.
54365         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54366         Remove.
54367         (syscall-list-variants, syscall-list-32bit-options)
54368         (syscall-list-32bit-condition, syscall-list-64bit-options)
54369         (syscall-list-64bit-condition): Define.
54371 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54373         * locale/iso-639.def: Add brx entry.
54375         [BZ #13328]
54376         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54377         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54379         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54380         __feraiseexcept_renamed.
54382 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54384         [BZ #13538]
54385         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54386         EPOLLET with unsigned values.
54387         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54388         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54390         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54391         to large cancellation.
54392         * math/s_cacoshf.c: Likewise.
54393         * math/s_cacoshl.c: Likewise.
54395 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54397         [BZ #13305]
54398         [BZ #12786]
54399         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54400         * math/s_cacoshf.c: Likewise.
54401         * math/s_cacoshl.c: Likewise.
54403 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54405         [BZ #13439]
54406         * iconv/gconv.h: Define __GCONV_SWAP.
54407         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54408         * iconvdata/utf-16.c: Likewise.
54409         * iconvdata/utf-32.c: Likewise.
54411 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54413         [BZ #13524]
54414         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54415         numerator after shifting it by one limb.
54417 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54419         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54420         under [__USE_EXTERN_INLINES].
54422 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54424         [BZ #13446]
54425         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54427 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54429         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54430         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54431         optimized code.
54432         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54433         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54434         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54435         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54436         for strncasecmp/strncasecmp_l compilation.
54437         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54438         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54440 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54442         [BZ #13484]
54443         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54444         of __asm__.
54446 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54448         [BZ #13506]
54449         * time/tzfile.c (__tzfile_read): Check values from file header.
54451 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54453         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54454         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54455         * powerpc/powerpc32/dl-start.S: Likewise.
54456         * powerpc/powerpc32/elf/start.S: Likewise.
54457         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54458         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54459         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54460         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54461         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54462         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54463         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54464         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54465         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54466         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54467         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54468         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54469         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54470         * powerpc/powerpc32/memset.S: Likewise.
54471         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54472         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54473         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54474         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54475         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54476         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54477         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54478         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54479         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54480         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54481         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54482         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54483         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54485 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54487         * math/libm-test.inc: Added more nearbyint tests.
54488         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54490         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54491         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54493 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54495         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54496         FD_CLOEXEC.
54498 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54500         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54501         Add wcscpy-ssse3 wcscpy-c.
54502         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54503         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54504         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54505         * sysdeps/x86_64/wcschr.S: New file.
54506         * sysdeps/x86_64/wcsrchr.S: New file.
54507         * string/test-strcmp.c: Remove checking of wcscmp function for
54508         wrong alignments.
54509         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54510         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54511         wcsrchr-sse2 wcsrchr-c.
54512         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54513         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54514         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54515         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54516         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54517         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54518         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54519         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54520         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54521         * wcsmbc/wcschr.c (WCSCHR): New macro.
54523 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54525         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54526         * wcsmbs/test-wcsrchr.c: New file.
54527         * string/test-strrchr.c: Add wcsrchr support.
54528         (WIDE): New macro.
54529         * wcsmbs/test-wcscpy.c: New file.
54530         * string/test-strcpy.c: Add wcscpy support.
54531         (WIDE): New macro.
54533 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54536         the inner loop.
54538 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54540         [BZ #13472]
54541         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54543 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54545         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54546         Minor optimizations.
54548         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54549         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54550         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54552 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54554         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54555         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54556         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54557         for gcc to avoid warnings.
54558         * inet/Makefile (tests): Add tst-checks.
54559         * inet/tst-checks.c: New file.
54561         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54562         warning.
54564         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54565         __wmemcmp_sse2.
54567         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54568         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54570         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54572 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54574         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54575         problem.
54577         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54579 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54581         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54582         conditional on GCC version.
54583         (__arch_compare_and_exchange_val_8_acq)
54584         (__arch_compare_and_exchange_val_16_acq)
54585         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54586         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54587         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54589 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54591         * sysdeps/sh/backtrace.c: New file.
54593 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54595         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54596         parenthesis.
54598 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54600         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54601         falling back to utime.
54603 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54605         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54606         expectations for float.
54608 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54610         * locale/weight.h (findidx): Add parameter len.
54611         * locale/weightwc.h (findidx): Likewise.
54612         * posix/fnmatch_loop.c (FCT): Adjust caller.
54613         * posix/regcomp.c (build_equiv_class): Likewise.
54614         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54615         * posix/regexec.c (check_node_accept_bytes): Likewise.
54616         * string/strcoll_l.c (STRCOLL): Likewise.
54617         * string/strxfrm_l.c (STRXFRM): Likewise.
54619 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54621         * Makefile.in: Remove CVSOPT handling.
54622         * configure.in: Remove use of AC_REVISION.
54623         * iconvdata/Makefile (distribute): No need to filter out CVS.
54624         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54625         handling.
54627 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54629         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54630         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54631         [USE_AS_STRNCASECMP_L]: Likewise.
54632         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54633         NO_TLS_DIRECT_SEG_REFS.
54634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54635         Fix argument offsets for non-PIC.
54636         [USE_AS_STRNCASECMP_L]: Likewise.
54637         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54638         NO_TLS_DIRECT_SEG_REFS.
54640 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54642         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54643         O_CLOEXEC.
54644         * locale/loadlocale.c (_nl_load_locale): Likewise.
54646 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54648         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54649         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54650         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54651         (SYSCALL_GETTIME): Set errno on error.
54653         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54654         count references to noai6ai_cached.
54656 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54658         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54660         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54661         FD_CLOEXEC for /proc/self/maps.
54663         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54664         FD_CLOEXEC for /proc/meminfo.
54666         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54667         gai.conf.
54669         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54670         FD_CLOEXEC for given file.
54672         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54674         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54675         FD_CLOEXEC for /etc/hosts.
54676         (_gethtent): Likewise.
54678         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54680         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54681         cancellation and set FD_CLOEXEC for /etc/netgroup.
54683         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54684         reading /etc/publickey.
54686         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54687         allow cancellation when reading /etc/group.
54689         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54690         cancellation.
54691         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54693         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54694         when using data file.
54696         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54698         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54699         (write_nis_obj): Use "c" and "e" in fopen.
54701         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54703         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54705         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54707         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54709         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54710         locale.alias.
54712         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54714         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54716         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54718         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54719         file parsing and set FD_CLOEXEC.
54721 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54723         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54725 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54727         * malloc/arena.c (arena_get2): Don't call reused_arena when
54728         _int_new_arena failed.
54730 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54732         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54733         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54734         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54735         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54736         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54737         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54738         to compile strcasecmp and strncasecmp.
54739         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54740         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54744 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54746         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54747         locale-defines.sym to gen-as-const-headers.
54748         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54749         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54751         to compile strcasecmp and strncasecmp.
54752         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54753         strcasecmp_l and strncasecmp_l.
54754         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54755         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54756         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54757         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54758         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54759         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54760         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54761         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54762         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54763         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54764         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54766 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54768         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54769         result of SYSDEP_GETTIME_CPU to retval.
54770         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54771         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54773         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54774         variable.
54776         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54777         mantissa words.
54778         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54780         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54781         from unused variable.
54783         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54784         DWARF definitions.
54785         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54786         for assembling.
54788         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54789         over namespaces.
54791         * sunrpc/rpc_prot.c (rejected): Fix case value.
54793         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54794         unsigned long long int to avoid warnings in shift.
54796         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54797         of use of trans.
54798         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54799         variable tmp.
54801         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54802         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54803         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54805         * nis/nis_table.c (nis_list): Use variable of correct type for
54806         result of __follow_path call.
54808 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54810         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54811         of math functions ceil, trunc, floor, round, and sqrt, when
54812         avaliable on the platform.
54813         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54814         name clash.
54815         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54816         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54817         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54819 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54821         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54822         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54824 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54826         * include/unistd.h: Fix __readlink return type.
54827         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54829 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54831         * stdlib/ucontext.h: Undo last change for makecontext.
54833 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54835         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54837         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54838         * setjmp/setjmp.h: Mark functions as non-leaf.
54839         * setjmp/bits/setjmp2.h: Likewise.
54840         * stdlib/ucontext.h: Likewise.
54842 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54844         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54845         (reused_arena): Don't check arena limit.
54846         (arena_get2): Atomically check arena limit.
54848 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54850         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54851         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54854         instructions.
54856 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54858         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54859         handler when locking.
54861         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54862         Fix size of allocated buffer.
54864 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54866         [BZ #10103]
54867         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54868         declarations for long double functions.
54869         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54871         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54873 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54875         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54876         installed.
54878         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54879         is disabled.
54881 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54883         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54885 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54887         * include/alloca.h (stackinfo_alloca_round): Define.
54888         (extend_alloca): Use it.
54889         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54890         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54891         here.
54893         * scripts/check-local-headers.sh: Ignore libaudit.h.
54895         * nscd/Makefile (extra-objs): Make recursively expanded.
54897 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54899         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54900         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54902         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54903         * posix/tst-rfc3484-2.c: Likewise.
54904         * posix/tst-rfc3484-3.c: Likewise.
54906         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54907         process_vm_writev.
54908         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54909         process_vm_writev.
54910         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54911         process_vm_writev from libc using GLIBC_2.15 version.
54913         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54915 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54917         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54918         stack usage.
54920 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54922         [BZ #13367]
54923         * nss/getent.c (initgroups_keys): Show error message in case no group
54924         names are given.
54926         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54927         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54928         __bump_nl_timestamp.
54929         * nscd/connections (nscd_init): When host database is served open
54930         netlink socket and request notification about configuration changes.
54931         (main_loop_poll): Track netlink file descriptor and bump timestamp
54932         in case data becomes available.
54933         (main_loop_epoll): Likewise.
54934         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54935         (database_pers_head): Add extra_data fileds.
54936         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54937         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54938         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54939         Adjust caller.
54940         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54941         in6ai data, call __free_in6ai.
54942         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54943         Add -DHAVE_NETLINK.
54944         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54945         interface information.  Reuse previous data if netlink timestamp
54946         is not changed.
54947         (__bump_nl_timestamp): New function.
54948         (__free_in6ai): New function.
54950 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54952         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54953         close_not_cancel_no_status here.
54954         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54956 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54958         [BZ #13276]
54959         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54960         return value.
54962         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54963         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54964         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54966 2011-07-03  Andreas Jaeger  <aj@suse.de>
54968         [BZ #10709]
54969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54970         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54971         * math/libm-test.inc (sin_test): Add test case.
54973 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54975         [BZ #13337]
54976         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54977         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54979         * elf/chroot_canon.c (chroot_canon): Cleanups.
54981         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54983         [BZ #13335]
54984         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54985         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54987         * string/test-strchr.c: Make usable for strchrnul testing.
54988         * string/test-strchrnul.c: New file.
54989         * string/Makefile (strop-tests): Add strchrnul.
54991         * po/it.po: Update from translation team.
54992         * po/es.po: Likewise.
54994 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54996         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54997         the three constants needed as parameters.  Drop the others.
54998         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54999         __m128i_strloadu_tolower.
55000         Create and initialize variable zero and use it in all the places
55001         where _mm_setzero_si128 was used.
55003         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
55004         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
55005         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
55006         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
55007         anymore.
55008         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
55009         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
55010         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
55011         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
55012         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55013         __mpranred, __mptan.
55014         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55015         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55016         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55017         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55018         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55019         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55020         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55021         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55022         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55024 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55026         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55027         redefine if SHARED.
55028         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55031         wide char related routines to wcsmbs subdir.
55033 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55035         [BZ #13344]
55036         * misc/sys/cdefs.h (__THROWNL): Define.
55037         * posix/unistd.h: Use __THREADNL instead of __THREAD
55038         for memory synchronization functions.
55040 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55042         [BZ #13349]
55043         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55044         doesn't exist.
55045         * manual/stdio.texi (Obstack Streams): Node removed.
55047 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55049         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55050         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55051         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55053         * math/math_private.h (math_force_eval): Allow non-addressable
55054         arguments.
55055         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55057 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55059         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55060         file is not needed.
55062         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55063         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55064         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55065         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55066         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55067         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55068         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55069         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55070         Add AVX variants.
55071         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55072         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55073         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55074         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55075         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55076         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55077         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55078         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55079         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55080         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55081         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55082         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55083         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55084         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55085         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55086         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55087         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55088         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55089         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55091         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55092         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55094         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55095         place.  Use VEX encoding when compiling for AVX.
55097 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55099         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55100         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55102         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55104 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55106         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55107         useless if() expression.
55108         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55109         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55110         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55111         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55112         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55113         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55114         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55115         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55116         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55117         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55118         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55119         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55120         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55121         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55122         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55123         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55124         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55125         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55126         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55128         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55130 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55132         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55133         condition.
55134         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55136 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55138         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55139         .text section.  Avoid duplicate constants.
55140         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55141         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55142         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55144         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55146         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55148         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55149         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55150         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55151         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55152         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55153         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55154         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55155         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55156         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55157         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55158         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55159         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55160         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55161         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55162         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55163         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55164         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55165         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55166         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55167         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55168         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55169         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55170         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55171         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55172         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55173         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55174         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55175         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55176         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55177         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55178         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55179         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55180         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55181         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55182         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55183         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55184         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55186 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55188         * sysdeps/x86_64/dla.h: Move to ...
55189         * sysdeps/x86_64/fpu/dla.h: ...here.
55190         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55191         situations.  Use __builtin_fma only for gcc 4.6 and up.
55193         * config.make.in: Add have-mfma4 entry.
55194         * configure.in: Substitute libc_cv_cc_fma4.
55195         * math/Makefile (dbl-only-routines): Add sincostab.
55196         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55197         Use __sincostab not sincos.
55198         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55199         name is a macro.
55200         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55202         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55204         using __copysign.
55205         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55206         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55207         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55208         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55209         and __inv.
55210         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55211         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55212         __copysign.
55213         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55214         define aliases when function name is a macro.
55215         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55216         sysdeps/ieee754/dbl-64/sincos.tbl.
55217         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55218         fma4-enabled routines.
55219         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55220         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55221         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55222         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55223         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55224         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55225         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55226         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55227         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55228         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55229         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55230         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55231         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55232         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55233         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55234         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55235         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55236         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55237         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55238         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55239         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55240         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55241         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55242         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55243         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55244         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55245         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55246         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55247         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55248         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55250         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55251         rename.
55252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55253         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55255         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55256         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55257         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55258         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55259         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55261 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55263         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55265 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55267         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55269         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55270         prediction.
55271         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55273         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55274         Remove unused variable magic_bits.
55275         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55277         * string/strnlen.c: Define and use STRNLEN macro.
55278         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55279         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55280         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55281         * wcsmbs/wcslen.c: Define and use WCSLEN.
55282         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55283         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55284         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55285         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55286         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55287         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55288         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55290 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55292         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55293         strnlen-sse2-no-bsf.
55294         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55296         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55297         Add strnlen support.
55298         (USE_AS_STRNLEN): New macro.
55299         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55300         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55301         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55302         * sysdeps/x86_64/wcslen.S: New file.
55304 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55307         XMM-moves are used for copying on small sizes.
55309 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55311         * wcsmbs/Makefile (strop-tests): Add wcschr.
55312         * wcsmbs/test-wcschr.c: New file.
55313         * string/test-strchr.c: Update.
55314         Add wcschr support.
55315         (WIDE): New macro.
55317 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55319         * wcsmbs/Makefile (strop-tests): Add wcslen.
55320         * wcsmbs/test-wcslen.c: New file.
55321         * string/test-strlen.c: Update.
55322         Add wcslen support.
55323         (WIDE): New macro.
55325 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55327         * po/it.po: Update from translation team.
55329 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55331         * sysdeps/x86_64/wcscmp.S: Update.
55332         Fix wrong comparison semantics.
55333         wcscmp shall use signed comparison not unsigned.
55334         Don't use substraction to avoid overflow bug.
55335         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55336         * wcsmbc/wcscmp.c: Likewise.
55337         * string/test-strcmp.c: Likewise.
55338         Add new tests to check cases with negative values.
55340 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55342         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55343         * sysdeps/x86_64/dla.h: ...here.  New file.
55344         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55345         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55346         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55347         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55348         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55349         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55352         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55354 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55356         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55357         __ynl_finite aliases.
55359 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55363         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55364         define DLA_FMA.
55365         [DLA_FMA] (EMULV): Use DLA_FMA.
55366         [DLA_FMA] (MUL12): Use EMULV.
55367         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55368         that are not needed.
55369         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55370         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55371         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55372         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55374         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55375         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55377 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55379         * math/s_nan.c: Undef __nan.
55380         * math/s_nanf.c: Undef __nanf.
55381         * math/s_nanl.c: Undef __nanl.
55382         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55383         "math_private.h".
55385 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55387         * math/s_catan.c: Add branch predictions.
55388         * math/s_catanf.c: Likewise.
55389         * math/s_catanh.c: Likewise.
55390         * math/s_catanhf.c: Likewise.
55391         * math/s_catanhl.c: Likewise.
55392         * math/s_catanl.c: Likewise.
55393         * math/s_cexp.c: Likewise.
55394         * math/s_cexpf.c: Likewise.
55395         * math/s_cexpl.c: Likewise.
55396         * math/s_clog.c: Likewise.
55397         * math/s_clog10.c: Likewise.
55398         * math/s_clog10f.c: Likewise.
55399         * math/s_clog10l.c: Likewise.
55400         * math/s_clogf.c: Likewise.
55401         * math/s_clogl.c: Likewise.
55402         * math/s_csqrt.c: Likewise.
55403         * math/s_csqrtf.c: Likewise.
55404         * math/s_csqrtl.c: Likewise.
55405         * math/s_ctanf.c: Likewise.
55406         * math/s_ctanh.c: Likewise.
55407         * math/s_ctanhf.c: Likewise.
55408         * math/s_ctanhl.c: Likewise.
55409         * math/s_ctanl.c: Likewise.
55411         * math/math_private.h: Define __nan, __nanf, __nanl.
55412         * math/s_cacosh.c: Include <math_private.h>.
55413         * math/s_cacoshl.c: Likewise.
55414         * math/s_casinh.c: Likewise.
55415         * math/s_casinhf.c: Likewise.
55416         * math/s_casinhl.c: Likewise.
55417         * math/s_ccos.c: Rely entire on ccosh.
55418         * math/s_ccosf.c: Rely entire on ccoshf.
55419         * math/s_ccosl.c: Rely entirely on ccoshl.
55420         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55421         Remove tests for FE_INVALID.
55422         * math/s_ccoshf.c: Likewise.
55423         * math/s_ccoshl.c: Likewise.
55424         * math/s_csin.c: Likewise.
55425         * math/s_csinf.c: Likewise.
55426         * math/s_csinh.c Likewise.
55427         * math/s_csinhf.c: Likewise.
55428         * math/s_csinhl.c: Likewise.
55429         * math/s_csinl.c: Likewise.
55430         * math/s_ctan.c: Likewise.
55431         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55432         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55433         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55435 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55438         compilation problems.
55440         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55441         __builtin_expect.
55443 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55445         * sysdeps/i386/configure.in: Test for -mfma4 option.
55446         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55447         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55448         COMMON_CPUID_INDEX_80000001.
55449         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55450         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55451         use it if FMA3 is not supported.
55452         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55454         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55455         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55457 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55459         [BZ #12892]
55460         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55461         it would create a cycle with a link time dependency.
55463 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55465         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55466         instruction.
55467         * string/Makefile (strop-tests): Add rawmemchr.
55468         * string/test-rawmemchr.c: New file.
55470         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55471         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55472         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55473         when compiling str{,n}casecmp and when AVX is available.  Hook up
55474         new optimized code in initializers.
55476 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55478         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55479         __feraiseexcept instead of feraiseexcept.
55481 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55483         * math/math_private.h: Define defaults for libc_fetestexcept and
55484         libc_feupdateenv.
55485         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55486         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55487         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55488         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55489         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55490         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55491         libc_fetestexcept and libc_feupdateenv.
55493         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55494         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55495         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55496         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55497         libc_feholdexcept_setround.
55499         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55500         Add s_nearbyint-c and s_nearbyintf-c.
55501         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55502         nearbyintf inlines.
55503         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55504         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55505         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55506         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55508         * math/math_private.h: Define defaults for libc_fegetround,
55509         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55510         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55511         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55512         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55513         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55514         standard functions.
55515         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55516         Remove comments and hacks for old compiler versions.
55517         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55518         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55519         libc_feholdexceptl.
55521 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55523         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55524         (__feraiseexcept_renamed): Add __NTH.
55525         (feraiseexcept): Add __NTH.  Rename local variables to fix
55526         namespace violations.
55528 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55530         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55532         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55534         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55535         recently added interfaces.
55536         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55538         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55539         about macro parameter expansion.
55541         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55542         __NO_MATH_INLINES is defined.  Cleanups.
55544         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55545         and __floorf is target has SSE4.1.
55546         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55547         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55548         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55549         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55551         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55552         name.
55553         (floorf): Likewise.
55555         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55557 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55559         * misc/sys/cdefs.h: Fix last change.
55561         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55562         database lookup.
55564 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55566         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55568         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55569         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55570         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55571         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55572         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55573         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55574         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55575         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55576         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55577         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55578         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55579         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55580         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55581         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55582         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55583         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55584         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55585         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55586         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55587         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55588         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55589         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55591         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55592         ceil, ceilf, floor, floorf.
55594         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55595         Perform IRELATIVE relocations last.
55597         * elf/do-rel.h: Add another parameter nrelative, replacing the
55598         local variable with the same name.  Change name of the function
55599         to end in Rel or Rela (uppercase).
55600         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55601         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55602         elf_dynamic_do_##reloc function.
55604 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55606         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55607         is sufficient, at least on modern CPUs.
55609         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55611         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55612         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55614         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55615         __expl_finite.
55616         * math/bits/math-finite.h: Add entries for exp.
55617         * math/e_expl.c: Add __*_finite alias.
55618         * sysdeps/i386/fpu/e_exp.S: Likewise.
55619         * sysdeps/i386/fpu/e_expf.S: Likewise.
55620         * sysdeps/i386/fpu/e_expl.c: Likewise.
55621         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55622         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55623         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55625         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55626         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55627         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55629         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55630         is sufficient, at least on modern CPUs.
55632         * ctype/ctype-info.c (__ctype_init): Define.
55633         * include/ctype.h (__ctype_init): Declare.
55634         (__ctype_b_loc): The variable is always initialized.
55635         (__ctype_toupper_loc): Likewise.
55636         (__ctype_tolower_loc): Likewise.
55637         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55638         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55640 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55642         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55644         * configure.in: Also look in $cxxmachine/include for C++ system
55645         headers.
55647 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55649         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55650         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55651         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55652         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55653         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55654         (USE_AS_WMEMCMP): New macro.
55655         Fixing indents.
55656         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55657         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55658         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55659         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55660         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55661         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55662         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55663         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55664         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55665         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55666         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55667         (USE_AS_WMEMCMP): New macro.
55668         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55669         * sysdeps/string/test-memcmp.c: Update.
55670         Fix simple_wmemcmp.
55671         Add new tests.
55672         * wcsmbs/wmemcmp.c: Update.
55673         (WMEMCMP): New macro.
55674         Fix overflow bug.
55676 2011-10-12  Andreas Jaeger  <aj@suse.de>
55678         [BZ #13268]
55679         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55681 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55683         * libio/iofwide.c (do_length): Avoid warning.
55685         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55687 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55689         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55691         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55692         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55693         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55694         * sysdeps/i386/i686/fpu/e_log.S: New file.
55695         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55696         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55698         * ctype/ctype.h: Add support for inlined isXXX functions when
55699         compiling C++ code.
55701 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55703         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55705         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55707 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55709         [BZ #13291]
55710         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55712 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55714         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55715         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55716         feraiseexcept.
55718         * sysdeps/x86_64/memrchr.S: Check for zero size.
55720         * string/stratcliff.c: Add memrchr tests.
55722 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55724         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55725         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55726         rawmemchr-sse2 rawmemchr-sse2-bsf.
55727         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55728         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55729         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55730         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55731         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55732         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55733         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55734         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55735         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55736         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55737         * string/memrchr.c (MEMRCHR): New macro.
55739 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55741         Add integration with gcc's -ffinite-math-only and optimize wrapper
55742         functions in libm.
55743         * Versions.def: Define GLIBC_2.15 version for libm.
55744         * math/Makefile (headers): Add bits/math-finite.h.
55745         * math/bits/math-finite.h: New file.
55746         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55747         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55748         * math/e_acoshl.c: Add __*_finite alias.
55749         * math/e_acosl.c: Likewise.
55750         * math/e_asinl.c: Likewise.
55751         * math/e_atan2l.c: Likewise.
55752         * math/e_atanhl.c: Likewise.
55753         * math/e_coshl.c: Likewise.
55754         * math/e_exp10.c: Likewise.
55755         * math/e_exp10f.c: Likewise.
55756         * math/e_exp10l.c: Likewise.
55757         * math/e_exp2l.c: Likewise.
55758         * math/e_fmodl.c: Likewise.
55759         * math/e_gammal_r.c: Likewise.
55760         * math/e_hypotl.c: Likewise.
55761         * math/e_j0l.c: Likewise.
55762         * math/e_j1l.c: Likewise.
55763         * math/e_jnl.c: Likewise.
55764         * math/e_lgammal_r.c: Likewise.
55765         * math/e_log10l.c: Likewise.
55766         * math/e_log2l.c: Likewise.
55767         * math/e_logl.c: Likewise.
55768         * math/e_powl.c: Likewise.
55769         * math/e_sinhl.c: Likewise.
55770         * math/e_sqrtl.c: Likewise.
55771         * math/e_scalb.c: Completely rewritten and optimized.
55772         * math/e_scalbf.c: Likewise.
55773         * math/e_scalbl.c: Likewise.
55774         * math/w_acos.c: Likewise.
55775         * math/w_acosf.c: Likewise.
55776         * math/w_acosl.c: Likewise.
55777         * math/w_acosh.c: Likewise.
55778         * math/w_acoshf.c: Likewise.
55779         * math/w_acoshl.c: Likewise.
55780         * math/w_asin.c: Likewise.
55781         * math/w_asinf.c: Likewise.
55782         * math/w_asinl.c: Likewise.
55783         * math/w_atan2.c: Likewise.
55784         * math/w_atan2f.c: Likewise.
55785         * math/w_atan2l.c: Likewise.
55786         * math/w_atanh.c: Likewise.
55787         * math/w_atanhf.c: Likewise.
55788         * math/w_atanhl.c: Likewise.
55789         * math/w_exp10.c: Likewise.
55790         * math/w_exp10f.c: Likewise.
55791         * math/w_exp10l.c: Likewise.
55792         * math/w_fmod.c: Likewise.
55793         * math/w_fmodf.c: Likewise.
55794         * math/w_fmodl.c: Likewise.
55795         * math/w_j0.c: Likewise.
55796         * math/w_j0f.c: Likewise.
55797         * math/w_j0l.c: Likewise.
55798         * math/w_j1.c: Likewise.
55799         * math/w_j1f.c: Likewise.
55800         * math/w_j1l.c: Likewise.
55801         * math/w_jn.c: Likewise.
55802         * math/w_jnf.c: Likewise.
55803         * math/w_log.c: Likewise.
55804         * math/w_logf.c: Likewise.
55805         * math/w_logl.c: Likewise.
55806         * math/w_log10.c: Likewise.
55807         * math/w_log10f.c: Likewise.
55808         * math/w_log10l.c: Likewise.
55809         * math/w_log2.c: Likewise.
55810         * math/w_log2f.c: Likewise.
55811         * math/w_log2l.c: Likewise.
55812         * math/w_pow.c: Likewise.
55813         * math/w_powf.c: Likewise.
55814         * math/w_powl.c: Likewise.
55815         * math/w_remainder.c: Likewise.
55816         * math/w_remainderf.c: Likewise.
55817         * math/w_remainderl.c: Likewise.
55818         * math/w_scalb.c: Likewise.
55819         * math/w_scalbf.c: Likewise.
55820         * math/w_scalbl.c: Likewise.
55821         * math/w_sqrt.c: Likewise.
55822         * math/w_sqrtf.c: Likewise.
55823         * math/w_sqrtl.c: Likewise.
55824         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55825         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55826         used.
55827         * math/math_private.h: Declare __kernel_standard_f.
55828         * math/w_cosh.c: Remove cruft and optimize a bit.
55829         * math/w_coshf.c: Likewise.
55830         * math/w_coshl.c: Likewise.
55831         * math/w_exp2.c: Likewise.
55832         * math/w_exp2f.c: Likewise.
55833         * math/w_exp2l.c: Likewise.
55834         * math/w_hypot.c: Likewise.
55835         * math/w_hypotf.c: Likewise.
55836         * math/w_hypotl.c: Likewise.
55837         * math/w_lgamma.c: Likewise.
55838         * math/w_lgamma_r.c: Likewise.
55839         * math/w_lgammaf.c: Likewise.
55840         * math/w_lgammaf_r.c: Likewise.
55841         * math/w_lgammal.c: Likewise.
55842         * math/w_lgammal_r.c: Likewise.
55843         * math/w_sinh.c: Likewise.
55844         * math/w_sinhf.c: Likewise.
55845         * math/w_sinhl.c: Likewise.
55846         * math/w_tgamma.c: Likewise.
55847         * math/w_tgammaf.c: Likewise.
55848         * math/w_tgammal.c: Likewise.
55849         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55850         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55851         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55852         Minor optimizations.  Pretty printing.  Remove cruft.
55853         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55854         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55855         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55856         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55857         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55858         * sysdeps/i386/fpu/e_asin.S: Likewise.
55859         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55860         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55861         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55862         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55863         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55864         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55865         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55866         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55867         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55868         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55869         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55870         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55871         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55872         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55873         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55874         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55875         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55876         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55877         * sysdeps/i386/fpu/e_log.S: Likewise.
55878         * sysdeps/i386/fpu/e_log10.S: Likewise.
55879         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55880         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55881         * sysdeps/i386/fpu/e_log2.S: Likewise.
55882         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55883         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55884         * sysdeps/i386/fpu/e_logf.S: Likewise.
55885         * sysdeps/i386/fpu/e_logl.S: Likewise.
55886         * sysdeps/i386/fpu/e_pow.S: Likewise.
55887         * sysdeps/i386/fpu/e_powf.S: Likewise.
55888         * sysdeps/i386/fpu/e_powl.S: Likewise.
55889         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55890         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55891         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55892         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55893         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55894         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55895         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55896         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55897         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55899         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55904         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55905         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55906         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55907         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55908         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55918         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55919         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55920         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55921         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55922         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55923         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55924         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55925         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55926         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55927         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55928         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55929         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55930         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55931         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55932         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55933         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55934         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55935         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55936         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55937         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55938         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55939         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55940         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55941         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55942         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55943         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55944         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55945         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55946         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55947         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55948         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55949         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55950         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55951         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55952         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55953         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55954         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55955         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55956         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55957         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55958         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55959         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55962         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55963         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55964         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55965         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55966         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55967         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55968         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55969         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55970         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55971         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55972         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55974         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55975         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55976         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55978         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55979         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55980         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55981         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55982         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55983         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55984         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55986         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55987         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55988         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55989         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55991         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55992         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55993         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55994         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55995         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55996         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55997         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55998         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55999         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
56000         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
56001         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
56002         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56003         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56004         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56005         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56006         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
56007         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56008         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
56009         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
56010         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
56011         (__isnanf): Likewise.
56012         (__isinf_ns): Likewise.
56013         (__isinf_nsf): Likewise.
56014         (__finite): Likewise.
56015         (__finitef): Likewise.
56016         (__ieee754_sqrt): Define as macro.
56017         (__ieee754_sqrtf): Define as macro.
56018         (__ieee754_sqrtl): Define as macro.
56019         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56020         inlined copy.
56021         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56022         __FINITE_MATH_ONLY__ consistent.
56023         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56025 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56027         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56028         of rawmemchr.
56030         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56032 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56034         * po/ja.po: Update from translation team.
56036 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56038         * locale/programs/locarchive.c (prepare_address_space): New function.
56039         (create_archive, enlarge_archive, open_archive): Use it.
56041         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56042         inside [SHARED], where it is used.
56044         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56046         * nss/getent.c (netgroup_keys): Remove unused variable.
56047         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56049 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56051         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56052         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56053         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56054         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56055         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56056         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56057         * math/Makefile (libm-calls): Add s_isinf_ns.
56058         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56059         * math/multc3.c: Likewise.
56060         * math/s_casin.c: Likewise.
56061         * math/s_casinf.c: Likewise.
56062         * math/s_casinl.c: Likewise.
56063         * math/s_ccos.c: Likewise.
56064         * math/s_ccosf.c: Likewise.
56065         * math/s_ccosl.c: Likewise.
56066         * math/s_ctan.c: Likewise.
56067         * math/s_ctanf.c: Likewise.
56068         * math/s_ctanh.c: Likewise.
56069         * math/s_ctanhf.c: Likewise.
56070         * math/s_ctanhl.c: Likewise.
56071         * math/s_ctanl.c: Likewise.
56072         * math/w_fmod.c: Likewise.
56073         * math/w_fmodf.c: Likewise.
56074         * math/w_fmodl.c: Likewise.
56075         * math/w_remainder.c: Likewise.
56076         * math/w_remainderf.c: Likewise.
56077         * math/w_remainderl.c: Likewise.
56078         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56079         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56080         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56081         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56082         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56083         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56084         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56085         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56087         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56088         of the number.
56089         * stdio-common/printf_fphex.c: Likewise.
56090         * stdio-common/printf_size.c: Likewise.
56092         * math/e_exp10.c: Include math_private.h using <...> not "...".
56093         * math/e_exp10f.c: Likewise.
56094         * math/e_exp10l.c: Likewise.
56095         * math/e_exp2l.c: Likewise.
56096         * math/e_j0l.c: Likewise.
56097         * math/e_j1l.c: Likewise.
56098         * math/e_jnl.c: Likewise.
56099         * math/e_lgammal_r.c: Likewise.
56100         * math/e_rem_pio2l.c: Likewise.
56101         * math/e_scalb.c: Likewise.
56102         * math/e_scalbf.c: Likewise.
56103         * math/e_scalbl.c: Likewise.
56104         * math/k_cosl.c: Likewise.
56105         * math/k_sinl.c: Likewise.
56106         * math/k_tanl.c: Likewise.
56107         * math/s_cacoshf.c: Likewise.
56108         * math/s_catan.c: Likewise.
56109         * math/s_catanf.c: Likewise.
56110         * math/s_catanh.c: Likewise.
56111         * math/s_catanhf.c: Likewise.
56112         * math/s_catanhl.c: Likewise.
56113         * math/s_catanl.c: Likewise.
56114         * math/s_ccosh.c: Likewise.
56115         * math/s_ccoshf.c: Likewise.
56116         * math/s_ccoshl.c: Likewise.
56117         * math/s_cexp.c: Likewise.
56118         * math/s_cexpf.c: Likewise.
56119         * math/s_cexpl.c: Likewise.
56120         * math/s_clog.c: Likewise.
56121         * math/s_clog10.c: Likewise.
56122         * math/s_clog10f.c: Likewise.
56123         * math/s_clog10l.c: Likewise.
56124         * math/s_clogf.c: Likewise.
56125         * math/s_clogl.c: Likewise.
56126         * math/s_csin.c: Likewise.
56127         * math/s_csinf.c: Likewise.
56128         * math/s_csinh.c: Likewise.
56129         * math/s_csinhf.c: Likewise.
56130         * math/s_csinhl.c: Likewise.
56131         * math/s_csinl.c: Likewise.
56132         * math/s_csqrt.c: Likewise.
56133         * math/s_csqrtf.c: Likewise.
56134         * math/s_csqrtl.c: Likewise.
56135         * math/s_ctan.c: Likewise.
56136         * math/s_ctanf.c: Likewise.
56137         * math/s_ctanh.c: Likewise.
56138         * math/s_ctanhf.c: Likewise.
56139         * math/s_ctanhl.c: Likewise.
56140         * math/s_ctanl.c: Likewise.
56141         * math/s_ldexp.c: Likewise.
56142         * math/s_ldexpf.c: Likewise.
56143         * math/s_ldexpl.c: Likewise.
56144         * math/s_significand.c: Likewise.
56145         * math/s_significandf.c: Likewise.
56146         * math/s_significandl.c: Likewise.
56147         * math/w_acos.c: Likewise.
56148         * math/w_acosf.c: Likewise.
56149         * math/w_acosh.c: Likewise.
56150         * math/w_acoshf.c: Likewise.
56151         * math/w_acoshl.c: Likewise.
56152         * math/w_acosl.c: Likewise.
56153         * math/w_asin.c: Likewise.
56154         * math/w_asinf.c: Likewise.
56155         * math/w_asinl.c: Likewise.
56156         * math/w_atan2.c: Likewise.
56157         * math/w_atan2f.c: Likewise.
56158         * math/w_atan2l.c: Likewise.
56159         * math/w_atanh.c: Likewise.
56160         * math/w_atanhf.c: Likewise.
56161         * math/w_atanhl.c: Likewise.
56162         * math/w_cosh.c: Likewise.
56163         * math/w_coshf.c: Likewise.
56164         * math/w_coshl.c: Likewise.
56165         * math/w_dremf.c: Likewise.
56166         * math/w_exp10.c: Likewise.
56167         * math/w_exp10f.c: Likewise.
56168         * math/w_exp10l.c: Likewise.
56169         * math/w_exp2.c: Likewise.
56170         * math/w_exp2f.c: Likewise.
56171         * math/w_fmod.c: Likewise.
56172         * math/w_fmodf.c: Likewise.
56173         * math/w_fmodl.c: Likewise.
56174         * math/w_hypot.c: Likewise.
56175         * math/w_hypotf.c: Likewise.
56176         * math/w_hypotl.c: Likewise.
56177         * math/w_j0.c: Likewise.
56178         * math/w_j0f.c: Likewise.
56179         * math/w_j0l.c: Likewise.
56180         * math/w_j1.c: Likewise.
56181         * math/w_j1f.c: Likewise.
56182         * math/w_j1l.c: Likewise.
56183         * math/w_jn.c: Likewise.
56184         * math/w_jnf.c: Likewise.
56185         * math/w_jnl.c: Likewise.
56186         * math/w_lgamma.c: Likewise.
56187         * math/w_lgamma_r.c: Likewise.
56188         * math/w_lgammaf.c: Likewise.
56189         * math/w_lgammaf_r.c: Likewise.
56190         * math/w_lgammal.c: Likewise.
56191         * math/w_lgammal_r.c: Likewise.
56192         * math/w_log.c: Likewise.
56193         * math/w_log10.c: Likewise.
56194         * math/w_log10f.c: Likewise.
56195         * math/w_log10l.c: Likewise.
56196         * math/w_log2.c: Likewise.
56197         * math/w_log2f.c: Likewise.
56198         * math/w_log2l.c: Likewise.
56199         * math/w_logf.c: Likewise.
56200         * math/w_logl.c: Likewise.
56201         * math/w_pow.c: Likewise.
56202         * math/w_powf.c: Likewise.
56203         * math/w_powl.c: Likewise.
56204         * math/w_remainder.c: Likewise.
56205         * math/w_remainderf.c: Likewise.
56206         * math/w_remainderl.c: Likewise.
56207         * math/w_scalb.c: Likewise.
56208         * math/w_scalbf.c: Likewise.
56209         * math/w_scalbl.c: Likewise.
56210         * math/w_sinh.c: Likewise.
56211         * math/w_sinhf.c: Likewise.
56212         * math/w_sinhl.c: Likewise.
56213         * math/w_sqrt.c: Likewise.
56214         * math/w_sqrtf.c: Likewise.
56215         * math/w_sqrtl.c: Likewise.
56216         * math/w_tgamma.c: Likewise.
56217         * math/w_tgammaf.c: Likewise.
56218         * math/w_tgammal.c: Likewise.
56220         * po/ja.po: Update from translation team.
56222 2011-09-29  Andreas Jaeger  <aj@suse.de>
56224         [BZ #13179]
56225         * sunrpc/netname.c (netname2host): Fix logic.
56227         [BZ #6779]
56228         [BZ #6783]
56229         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56230         correctly.
56231         * math/w_remainder.c (__remainder): Likewise.
56232         * math/w_remainderf.c (__remainderf): Likewise.
56233         * math/libm-test.inc (remainder_test): Add test cases.
56235 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56237         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56238         sdiv_qrnnd.
56240 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56242         * string/test-memcmp.c: Avoid unncessary #defines.
56243         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56245 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56247         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56248         Use new sse2 version for core i3 - i7 as it's faster
56249         than sse42 version.
56250         (bit_Prefer_PMINUB_for_stringop): New.
56251         * sysdeps/x86_64/rawmemchr.S: Update.
56252         Replace with faster SSE2 version.
56253         * sysdeps/x86_64/memrchr.S: New file.
56254         * sysdeps/x86_64/memchr.S: Update.
56255         Replace with faster SSE2 version.
56257 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56259         * elf/dl-load.c (lose): Add cast to avoid warning.
56261 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56263         * po/ca.po: Update from translation team.
56265         * inet/getnetgrent_r.c: Hook up nscd.
56266         * nscd/Makefile (routines): Add nscd_netgroup.
56267         (nscd-modules): Add netgroupcache.
56268         (CFLAGS-netgroupcache.c): Define.
56269         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56270         (cache_search): Add const to second parameter.
56271         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56272         INNETGR.
56273         (dbs): Add netgrdb entry.
56274         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56275         (verify_persistent_db): Handle netgrdb.
56276         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56277         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56278         GETFDNETGR.
56279         (netgroup_response_header): Define.
56280         (innetgroup_response_header): Define.
56281         (datahead): Add netgroup_response_header and innetgroup_response_header
56282         elements.
56283         * nscd/nscd.conf: Add entries for netgroup cache.
56284         * nscd/nscd.h (dbtype): Add netgrdb.
56285         (_PATH_NSCD_NETGROUP_DB): Define.
56286         (netgroup_iov_disabled): Declare.
56287         (xmalloc, xcalloc, xrealloc): Move declarations here.
56288         (cache_search): Adjust prototype.
56289         Add netgroup-related prototypes.
56290         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56291         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56292         (__nscd_innetgr): Declare.
56293         * nscd/selinux.c (perms): Use access_vector_t as element type and
56294         add netgroup-related initializers.
56295         * nscd/netgroupcache.c: New file.
56296         * nscd/nscd_netgroup.c: New file.
56297         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56298         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56299         For four parameters use innetgr.
56300         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56301         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56302         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56303         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56305         * nscd/connections.c (register_traced_file): Don't register file
56306         for disabled databases.
56308 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56310         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56312         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56313         from tree and freeing node.
56315 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56317         * nss/nsswitch.c (__nss_database_lookup): Handle
56318         nss_parse_service_list out of memory case.
56320 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56322         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56323         out of memory case.
56325 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56327         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56328         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56329         pass it down.
56330         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56331         elf_machine_rela, elf_machine_lazy_rel.
56332         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56333         (ELF_DYNAMIC_DO_REL): Likewise.
56334         (ELF_DYNAMIC_DO_RELA): Likewise.
56335         (ELF_DYNAMIC_RELOCATE): Likewise.
56336         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56337         to ELF_DYNAMIC_DO_REL.
56338         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56339         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56340         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56341         elf_machine_rela.
56342         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56343         skip_ifunc, don't call ifunc function if non-zero.
56344         (elf_machine_rela): Likewise.
56345         (elf_machine_lazy_rel): Likewise.
56346         (elf_machine_lazy_rela): Likewise.
56347         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56348         (elf_machine_lazy_rel): Likewise.
56349         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56350         Likewise.
56351         (elf_machine_lazy_rel): Likewise.
56352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56353         Likewise.
56354         (elf_machine_lazy_rel): Likewise.
56355         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56356         (elf_machine_lazy_rel): Likewise.
56357         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56358         (elf_machine_lazy_rel): Likewise.
56359         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56360         (elf_machine_lazy_rel): Likewise.
56361         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56362         (elf_machine_lazy_rel): Likewise.
56363         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56364         (elf_machine_lazy_rel): Likewise.
56365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56366         (elf_machine_lazy_rel): Likewise.
56368 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56370         * nss/nss_files/files-init.c (_nss_files_init): Use static
56371         initialization for all the *_traced_file variables.
56373 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56375         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56377 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56379         [BZ #13226]
56380         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56382 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56384         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56385         Reread the line before reparsing it.
56387 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56389         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56391 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56392             Maxim Kuvyrkov  <maxim@codesourcery.com>
56393             Joseph Myers  <joseph@codesourcery.com>
56395         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56396         if needed for __stack_chk_guard.
56398 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56400         * sysdeps/posix/spawni.c (script_execute): Always define it.
56401         It will be optimized away if unused.
56402         (maybe_script_execute): New function.
56403         (__spawni): Call it.
56405         * Makerules: Don't include tls.make.
56406         (config-tls): Always set to thread.
56407         * tls.make.c: File removed.
56409 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56411         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56412         * config.make.in (CPPFLAGS-config): New substituted variable.
56414 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56416         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56418         [BZ #13192]
56419         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56420         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56422 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56424         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56425         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56426         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56427         (CALL_FAIL): Likewise.
56428         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56429         (CALL_FAIL): Macro removed.
56430         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56432 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56434         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56435         for __FINITE_MATH_ONLY__ == 1.
56437 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56439         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56440         __ieee754_sqrt instead of sqrt.
56441         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56442         __ieee754_sqrtf instead of sqrtf.
56443         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56444         __floorf instead of floorf.
56445         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56446         __floorf, __truncf instead of floorf, truncf.
56448 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56450         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56452         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56453         __extern_always_inline.
56454         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56455         32-bit.
56457 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56459         * elf/rtld.c (dl_main): Also relocate in dependency order when
56460         doing symbol dependency testing.
56462 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56464         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56465         Always define `refsym'.
56467 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56469         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56470         (__FD_ELT): Renamed from __FDELT.
56471         * misc/bits/select2.h (__FD_ELT): Likewise.
56472         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56473         __FD_MASK instead of __FDELT, __FDMASK.
56474         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56475         Likewise.
56476         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56477         Likewise.
56479         * elf/Makefile (gen-ldd): Fix pattern.
56481         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56482         (init_tls): Likewise.
56484 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56488 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56490         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56491         `struct cmsghdr *' instead of `void *'.
56492         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56493         Likewise.
56495 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56497         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56498         if non-absolute.
56499         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56500         ldd_rewrite_script.
56502 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56504         * configure.in: Remove --with-tls option.
56505         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56506         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56507         out in case it is missing.
56508         * sysdeps/ia64/elf/configure.in: Likewise.
56509         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56510         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56511         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56512         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56513         * sysdeps/sh/elf/configure.in: Likewise.
56514         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56515         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56516         * sysdeps/x86_64/elf/configure.in: Likewise.
56517         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56518         * sysdeps/mach/hurd/tls.h: Likewise.
56520         [BZ #13067]
56521         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56523         [BZ #13090]
56524         * configure.in: Fix use of AC_INIT.
56526         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56528 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56530         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56531         __set_errno.
56532         * malloc/hooks.c: Likewise.
56534         [BZ #11929]
56535         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56536         variables statically.
56537         (narenas): Initialize.
56538         (list_lock): Initialize.
56539         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56540         initializtion of main_arena and list_lock.  Small cleanups.
56541         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56542         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56543         Add initializers to main_arena and mp_.
56544         (malloc_state): Remove pagesize member.  Change all users to use
56545         GLRO(dl_pagesize).
56547         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56548         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56549         is always initialized.
56551         * malloc/malloc.c: Removed unused configurations and dead code.
56552         * malloc/arena.c: Likewise.
56553         * malloc/hooks.c: Likewise.
56554         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56556         * include/tls.h: Removed.  USE___THREAD must always be defined.
56557         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56558         * elf/dl-libc.c: Likewise.
56559         * elf/dl-tsd.c: Likewise.
56560         * include/errno.h: Likewise.
56561         * include/netdb.h: Likewise.
56562         * include/resolv.h: Likewise.
56563         * inet/herrno-loc.c: Likewise.
56564         * inet/herrno.c: Likewise.
56565         * malloc/arena.c: Likewise.
56566         * malloc/hooks.c: Likewise.
56567         * malloc/malloc.c: Likewise.
56568         * resolv/res-state.c: Likewise.
56569         * resolv/res_libc.c: Likewise.
56570         * sysdeps/i386/dl-machine.h: Likewise.
56571         * sysdeps/ia64/dl-machine.h: Likewise.
56572         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56573         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56574         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56575         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56576         * sysdeps/sh/dl-machine.h: Likewise.
56577         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56578         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56579         * sysdeps/unix/i386/sysdep.S: Likewise.
56580         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56581         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56583         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56586         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56590         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56591         * sysdeps/x86_64/dl-machine.h: Likewise.
56592         * tls.make.c: Likewise.
56594         * configure.in: Remove --with-__thread option.  Make tests for
56595         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56596         tls_model attribute fail if no support is available.  Remove
56597         USE_IN_LIBIO.
56598         * Makeconfig: Adjust for dropped configure option.  All features are
56599         now mandatory.
56600         * Makerules: Likewise.
56601         * Versions.def: Likewise.
56602         * argp/argp-fmtstream.c: Likewise.
56603         * argp/argp-fmtstream.h: Likewise.
56604         * argp/argp-help.c: Likewise.
56605         * assert/assert.c: Likewise.
56606         * config.h.in: Likewise.
56607         * config.make.in: Likewise.
56608         * configure: Likewise.
56609         * configure.in: Likewise.
56610         * csu/Versions: Likewise.
56611         * csu/init.c: Likewise.
56612         * elf/tst-audit2.c: Likewise.
56613         * elf/tst-tls10.c: Likewise.
56614         * elf/tst-tls10.h: Likewise.
56615         * elf/tst-tls11.c: Likewise.
56616         * elf/tst-tls12.c: Likewise.
56617         * elf/tst-tls14.c: Likewise.
56618         * elf/tst-tlsmod11.c: Likewise.
56619         * elf/tst-tlsmod12.c: Likewise.
56620         * elf/tst-tlsmod13.c: Likewise.
56621         * elf/tst-tlsmod13a.c: Likewise.
56622         * elf/tst-tlsmod14a.c: Likewise.
56623         * elf/tst-tlsmod15b.c: Likewise.
56624         * elf/tst-tlsmod16a.c: Likewise.
56625         * elf/tst-tlsmod16b.c: Likewise.
56626         * elf/tst-tlsmod7.c: Likewise.
56627         * elf/tst-tlsmod8.c: Likewise.
56628         * elf/tst-tlsmod9.c: Likewise.
56629         * gmon/gmon.c: Likewise.
56630         * grp/fgetgrent_r.c: Likewise.
56631         * grp/putgrent.c: Likewise.
56632         * hurd/fopenport.c: Likewise.
56633         * include/libc-symbols.h: Likewise.
56634         * include/tls.h: Likewise.
56635         * intl/gettextP.h: Likewise.
56636         * intl/loadinfo.h: Likewise.
56637         * locale/global-locale.c: Likewise.
56638         * locale/localeinfo.h: Likewise.
56639         * mach/devstream.c: Likewise.
56640         * malloc/arena.c: Likewise.
56641         * malloc/set-freeres.c: Likewise.
56642         * misc/err.c: Likewise.
56643         * misc/getttyent.c: Likewise.
56644         * misc/mntent_r.c: Likewise.
56645         * posix/getopt.c: Likewise.
56646         * posix/wordexp.c: Likewise.
56647         * pwd/fgetpwent_r.c: Likewise.
56648         * resolv/Versions: Likewise.
56649         * resolv/res_hconf.c: Likewise.
56650         * shadow/fgetspent_r.c: Likewise.
56651         * shadow/putspent.c: Likewise.
56652         * stdio-common/printf_fphex.c: Likewise.
56653         * stdio-common/tmpfile.c: Likewise.
56654         * stdlib/abort.c: Likewise.
56655         * stdlib/fmtmsg.c: Likewise.
56656         * sunrpc/auth_unix.c: Likewise.
56657         * sunrpc/clnt_perr.c: Likewise.
56658         * sunrpc/clnt_tcp.c: Likewise.
56659         * sunrpc/clnt_udp.c: Likewise.
56660         * sunrpc/clnt_unix.c: Likewise.
56661         * sunrpc/openchild.c: Likewise.
56662         * sunrpc/svc_simple.c: Likewise.
56663         * sunrpc/svc_tcp.c: Likewise.
56664         * sunrpc/svc_udp.c: Likewise.
56665         * sunrpc/svc_unix.c: Likewise.
56666         * sunrpc/xdr.c: Likewise.
56667         * sunrpc/xdr_array.c: Likewise.
56668         * sunrpc/xdr_rec.c: Likewise.
56669         * sunrpc/xdr_ref.c: Likewise.
56670         * sunrpc/xdr_stdio.c: Likewise.
56672 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56674         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56676 2011-07-03  Andreas Jaeger  <aj@suse.de>
56678         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56679         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56680         regenerate with gen-libm-tests.pl.
56682 2010-05-12  Petr Baudis  <pasky@suse.cz>
56684         [BZ #11589]
56685         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56686         around j0() zero points by switching to j1().
56687         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56689         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56690         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56692 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56694         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56695         instead of 0.
56696         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56697         instead of 0.
56698         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56699         Patch in part by Pavel Roskin <proski@gnu.org>.
56701         [BZ #13138]
56702         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56703         realloc.
56704         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56705         Free memory block if necessary.
56707         [BZ #12847]
56708         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56709         be NULL.  Don't lock in this case.
56711 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56713         * elf/elf.h (ELFOSABI_GNU): New macro.
56714         (ELFOSABI_LINUX): Define to that.
56716 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56718         * string/strncat.c (strncat): Undef the symbol in case it has been
56719         defined in bits/string.h.
56721 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56723         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56725         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56726         link map.
56728 2011-08-17  Andreas Jaeger  <aj@suse.de>
56730         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56732 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56733             Ian Lance Taylor  <iant@google.com>
56735         * math/libm-test.inc (lround_test): New testcase.
56736         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56738 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56740         * Makefile: Remove support for automatic cvs check-ins.
56741         * Makerules: Likewise.
56742         * config.make.in: Likewise.
56743         * configure.in: Likewise.
56744         * intl/Makefile: Likewise.
56745         * locale/Makefile: Likewise.
56746         * po/Makefile: Likewise.
56747         * posix/Makefile: Likewise.
56748         * sysdeps/gnu/Makefile: Likewise.
56749         * sysdeps/mach/hurd/Makefile: Likewise.
56750         * sysdeps/sparc/sparc32/Makefile: Likewise.
56752         [BZ #13118]
56753         * posix/Makefile (bug-regex32-ENV): Define.
56754         Patch by John Stanley <jpsinthemix@verizon.net>.
56756         * misc/Makefile (headers): Add bits/select2.h.
56757         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56758         * misc/bits/select2.h: New file.
56759         * include/bits/select2.h: New file.
56760         * debug/Makefile (routines): Add fdelt_chk.
56761         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56762         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56763         FD_ISSET.
56764         * debug/fdelt_chk.c: New file.
56766         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56767         * wcsmbs/test-wmemcmp.c: Likewise.
56768         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56769         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56771 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56773         * string/Makefile (strop-tests): Add memcmp.
56774         * string/test-wmemcmp.c: New file.
56775         * string/test-memcmp.c: Add wmemcmp support.
56777 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56779         [BZ #13153]
56780         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56781         2011-07-19 change.
56783         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56784         garbage value in a __mach_port_mod_refs call in the cases of the
56785         task-self and thread-self ports.
56787 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56789         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56791 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56793         * elf/dl-load.c (lose): Check for non-null L.
56795 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56797         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56799         * elf/dl-libc.c (dlerror_run): Pass back error code from
56800         dl_catch_error.
56802         [BZ #13123]
56803         * elf/dl-load.c (lose): Free l_origin if it is valid.
56805         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56806         names.
56807         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56808         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56809         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56810         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56811         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56812         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56814 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56816         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56817         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56818         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56819         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56820         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56821         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56822         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56823         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56824         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56825         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56827 2011-08-15  Alan Modra  <amodra@gmail.com>
56829         [BZ #13092]
56830         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56831         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56832         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56833         ppc_mcount to static-only-routines.
56834         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56835         __mcount_internal.
56836         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56837         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56839 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56842         for finite and infinity parameters.
56844 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56846         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56847         and add nop instructions for throughput optimization.
56848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56850 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56852         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56853         aligned copy for power7 with vector-scalar instructions.
56854         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56856 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56858         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56859         AVX check.
56861 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56863         [BZ #13144]
56864         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56865         last change.
56867 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56869         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56870         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56871         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56872         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56873         clock_gettime.
56875 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56877         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56878         Forgot to demangle the pointer.
56880         * sysdeps/i386/sysdep.h: Define atom_text_section.
56881         * sysdeps/x86_64/sysdep.h: Likewise.
56882         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56883         section with atom_text_section.
56884         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56885         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56886         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56887         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56888         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56890         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56891         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56892         already be defined.  Change to take two parameters and don't assign
56893         result to variable.  Adjust all users.
56894         Define INTERNAL_GETTIME if not already defined.
56895         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56896         call.
56897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56898         HAVE_CLOCK_GETTIME_VSYSCALL.
56899         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56901         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56902         gettimeofday vsyscall, just use time.
56904 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56906         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56907         <errno.h>.
56909 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56911         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56912         syscall on x86-64.
56913         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56914         syscall.
56915         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56917         syscall if possible.
56919 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56921         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56922         e_ident.  Don't pass to find_mapsXX.
56923         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56925 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56928         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56929         * sysdeps/x86_64/multiarch/strchr.S: Update.
56930         Check bit_slow_BSF bit.
56931         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56932         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56933         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56935 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56937         [BZ #13134]
56938         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56939         before glibc 2.15.
56940         (tryshell): Define.
56941         (__spawni): Change last parameter to be flag.  Test
56942         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56943         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56944         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56945         * posix/spawni.c: Likewise.
56946         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56947         * posix/spawnp.c: Likewise.  Change normal version to use
56948         SPAWN_XFLAGS_USE_PATH.
56949         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56950         SPAWN_XFLAGS_TRY_SHELL.
56952         [BZ #13150]
56953         * posix/glob.h: Remove gcc 1.x support.
56955         [BZ #13068]
56956         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56958 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56961         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56962         strrchr-sse2-bsf
56963         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56964         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56965         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56966         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56967         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56968         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56970 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56972         * sysdeps/x86_64/wcscmp.S: New file.
56974         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56975         wcscmp-c wcscmp-sse2
56976         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56977         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56978         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56979         * wcsmbs/wcscmp.c: Allow renaming.
56981 2011-09-05  David S. Miller  <davem@davemloft.net>
56983         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56984         stack slot, rather than the struct return pointer slot.
56985         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56986         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56988         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56990 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56992         * po/ja.po: Update from translation team.
56994         [BZ #13144]
56995         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56996         kernel in 64-bit binaries.
56998 2011-09-01  David S. Miller  <davem@davemloft.net>
57000         * elf/elf.h (HWCAP_SPARC_*): Move to..
57001         * sysdeps/sparc/sysdep.h: this new file and add new values.
57002         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
57003         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
57004         _DL_HWCAP_COUNT to 24.
57005         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57006         entries.
57007         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
57008         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
57009         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
57010         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
57011         instead of magic constants.
57012         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57014 2011-08-31  David S. Miller  <davem@davemloft.net>
57016         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57018         Reimplement to do errno handling inline.
57019         (SYSCALL_ERROR_HANDLER): New macro.
57020         (__SYSCALL_STRING): Do not do errno handling in asm.
57021         (__CLONE_SYSCALL_STRING): Delete.
57022         (__INTERNAL_SYSCALL_STRING): Delete.
57023         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57024         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57025         (PSEUDO): Reimplement to do errno handling inline.
57026         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57027         (SYSCALL_ERROR_HANDLER): New macro.
57028         (__SYSCALL_STRING): Do not do errno handling in asm.
57029         (__CLONE_SYSCALL_STRING): Delete.
57030         (__INTERNAL_SYSCALL_STRING): Delete.
57031         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57032         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57033         i386.
57034         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57035         (inline_syscall*): Add 'err' argument.
57036         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57037         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57038         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57039         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57041         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57042         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57044 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57046         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57048 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57050         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57051         directive.
57053 2011-08-24  David S. Miller  <davem@davemloft.net>
57055         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57057 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57059         * elf/Makefile: Add rules to build and run unload8 test.
57060         * elf/unload8.c: New file.
57061         * elf/unload8mod1.c: New file.
57062         * elf/unload8mod1x.c: New file.
57063         * elf/unload8mod2.c: New file.
57064         * elf/unload8mod3.c: New file.
57066         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57067         it wasn't used.
57069 2011-08-23  David S. Miller  <davem@davemloft.net>
57071         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57072         subtract stack bias.
57073         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57074         %sp not %fp in calculations.
57075         (_JMPBUF_UNWINDS_ADJ): Likewise.
57077         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57078         (aio_suspend): Call it to force an exception region around the
57079         AIO_MISC_WAIT() invocation.
57081 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57083         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57084         backslash.
57086 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57088         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57089         protection macro.
57090         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57091         and <dl-machine.h>.
57092         (Elf64_FuncDesc): Remove.
57094 2011-08-22  David S. Miller  <davem@davemloft.net>
57096         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57097         sigaltstack check, add missing cfi directives.
57098         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57099         missing cfi directives, and sigaltstack handling.
57101 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57103         [BZ #11724]
57104         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57105         object is seen twice.
57106         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57108         * elf/Makefile (distribute): Add tst-initorder2.c.
57109         (tests): Add tst-initorder2.
57110         (modules-names): Add tst-initorder2a tst-initorder2b
57111         tst-initorder2c tst-initorder2d.  Add rules to build them.
57112         ($(objpfx)tst-initorder2.out): New rule.
57113         * elf/tst-initorder2.c: New file.
57114         * elf/tst-initorder2.exp: New file.
57116 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57118         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57120         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57121         dependencies back to end of function.
57123         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57124         $(elfobjdir)/ld.so.
57126 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57129         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57131         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57132         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57133         of __vdso_gettimeofday.
57134         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57135         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57136         attribute_hidden.
57137         (_libc_vdso_platform_setup): Remove initialization of
57138         __vdso_gettimeofday and __vdso_time.
57140 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57142         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57143         and fgetc_unlocked.
57144         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57145         getc_unlocked.
57147         * elf/dl-open.c (add_to_global): Report additions to the global scope
57148         for LD_DEBUG=scopes.
57149         (dl_open_worker): Also print scope of newly loaded dependencies.
57150         (_dl_show_scope): Indicate if there is no scope.
57152         [BZ #13114]
57153         * stdio-common/Makefile (tests): Add bug24.
57154         * stdio-common/bug24.c: New file.
57156 2011-08-19  Andreas Jaeger  <aj@suse.de>
57158         [BZ #13114]
57159         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57160         non-existant file when using close-on-exec mode.
57162 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57165         the very first instruction.
57167         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57168         the CFI state in the end.
57169         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57170         inclusion of dl-trampoline.h.
57171         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57173 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57175         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57176         expectations for long double.
57178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57179         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57181 2011-08-14  David S. Miller  <davem@davemloft.net>
57183         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57184         artificual limit depends upon the system page size.
57186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57188         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57189         * resolv/Makefile: Define CFLAGS-libresolv.
57191 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57193         * nss/makedb.c (compute_tables): Make variables used in nested
57194         function static.
57196 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57198         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57199         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57200         if buffer was too small.
57202         * elf/pldd.c (main): Attach to all threads in the process.
57203         Rewrite /proc handling to use *at functions.
57205 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57207         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57208         specifies first scope to show.
57209         (dl_open_worker): Update callers.  Move printing scope of new
57210         object to before the relocation.
57211         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57212         * sysdeps/generic/ldsodefs.h: Update declaration.
57214         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57215         string for the scope number.
57217 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57219         * nscd/servicescache.c (cache_addserv): Make sure written is always
57220         initialized.
57222 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57224         * sysdeps/i386/i486/bits/atomic.h
57225         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57226         statement expression, so as to suppress "set but not used" warning.
57227         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57229         * string/strncat.c (STRNCAT): Use prototype definition.
57231         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57232         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57233         -Iprograms here.
57234         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57235         (localedef-modules): Add localedef.
57236         (locale-modules): Add locale.
57238         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57239         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57240         to avoid a warning.
57242 2011-08-14  David S. Miller  <davem@davemloft.net>
57244         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57245         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57247 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57249         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57250         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57251         * elf/rtld.c (dl_main): Set l_name of vDSO.
57252         Call _dl_show_scope when DL_DEBUG_SCOPES.
57253         (process_dl_debug): Recognize scopes flag and also set it for all.
57254         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57255         Declare _dl_show_scope.
57257         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57258         (do_dlopen): Pass caller_dlopen to dl_open.
57259         (__libc_dlopen_mode): Initialize caller_dlopen.
57261         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57262         of libc.  Make tolower call locale-independent.  Optimize a bit by
57263         using isdigit instead of isalnum.
57264         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57266 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57268         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57269         was a dependency or dynamically loaded.
57271 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57273         * intl/l10nflist.c: Allow architecture-specific pop function.
57274         * sysdeps/x86_64/l10nflist.c: New file.
57276         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57277         classification.
57279 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57281         * include/dirent.h: Add libc_hidden_proto for scandirat and
57282         scandirat64.  Don't declare __scandirat64.
57283         * dirent/scandirat.c: Add libc_hidden_def.
57284         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57285         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57287 2011-08-10  David S. Miller  <davem@davemloft.net>
57289         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57290         enum.
57291         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57292         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57293         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57295 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57297         * Versions.def [libc]: Add GLIBC_2.15.
57298         * dirent/Makefile (routines): Add scandirat and scandirat64.
57299         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57300         GLIBC_2.15.
57301         * dirent/dirent.h: Declare scandirat and scandirat64.
57302         * dirent/scandirat.c: New file.
57303         * dirent/scandirat64.c: New file.
57304         * sysdeps/wordsize-64/scandirat.c: New file.
57305         * sysdeps/wordsize-64/scandirat64.c: New file.
57306         * dirent/opendir.c: Define opendirat.
57307         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57308         using scandirat.
57309         * dirent/scandir64.c: Adjust for scandir.c change.
57310         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57311         __scandirat64, and __scandir_cancel_handler.
57312         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57313         additional parameter and use openat instead of open (outside of ld.so).
57314         Add new __opendir as wrapper around __opendirat.
57315         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57316         here without requiring old scandirat implementation.
57318 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57320         * dirent/scandir.c (cancel_handler): Renamed to
57321         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57322         defined.  Adjust users.
57323         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57324         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57326 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57328         * string/test-string.h (IMPL): Use __STRING to expand name and then
57329         stringify it.
57331         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57332         of cleanups.
57334 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57336         * string/Makefile: Update.
57337         (strop-tests): Append strncat.
57338         * string/test-wcscmp.c: New file.
57339         New comprehensive test for wcscmp.
57340         * string/test-strcmp.c: Update.
57341         (WIDE): New define.
57343 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57345         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57346         line.
57348 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57351         encoding to ACE if AI_IDN.
57353 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57356         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57358 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57360         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57361         Fix overflow bug in strncat.
57362         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57364         * string/test-strncat.c: Update.
57365         Add new tests for checking overflow bugs.
57367 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57369         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57370         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57371         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57372         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57373         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57374         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57375         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57376         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57377         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57379         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57380         (USE_AS_STRCAT): Define.
57381         Add strcat and strncat support.
57382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57384 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57386         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57387         __n bigger than INT_MAX+1.
57388         (__strncmp_g): Likewise.
57390 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57392         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57393         * libio/stido.h: Likewise.
57395         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57396         (AF_NFC): Define.
57397         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57398         (AF_NFC): Define.
57400         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57401         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57402         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57403         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57404         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57406         [BZ #13021]
57407         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57408         installed.
57410         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57411         typo.
57412         (_dl_x86_64_save_sse): Likewise.
57414 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57417         OSXSAVE.
57418         (_dl_x86_64_save_sse): Likewise.
57420         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57422         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57424 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57427         change.
57428         (_dl_x86_64_save_sse): Use correct AVX check.
57430 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57432         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57433         bug in strncpy/strncat.
57434         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57436 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57438         * string/tester.c (test_strcat): Add tests for different alignments
57439         of source and destination.
57440         (test_strncat): Likewise.
57442 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57444         [BZ #12852]
57445         * posix/glob.c (glob): Check passed in values before using them in
57446         expressions to avoid some overflows.
57447         (glob_in_dir): Likewise.
57449         [BZ #13007]
57450         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57451         check for AVX enablement so that we don't crash with old kernels and
57452         new hardware.
57453         * elf/tst-audit4.c: Add same checks here.
57454         * elf/tst-audit6.c: Likewise.
57456         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57458 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57460         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57462 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57464         * po/cs.po: Update from translation team.
57465         * po/bg.po: Likewise.
57467 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57469         * misc/sys/cdefs.h: Add support for const attribute.
57470         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57471         to gnu_dev_{major,minor,makedev} functions.
57473 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57475         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57477 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57479         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57480         strlen results.
57482 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57484         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57485         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57486         register in order to avoid conflicts with the soft frame pointer
57487         being held in r11 when necessary.
57488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57489         (INTERNAL_VSYSCALL_NCS): Likewise.
57491 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57493         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57494         * elf/dl-fini.c (_dl_fini): Adjust caller.
57495         * elf/dl-close.c (_dl_close_worker): Likewise.
57496         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57498 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57500         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57501         "aux_cache->nlibs < 0".
57503         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57504         in the reload-count case.
57506 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57509         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57510         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57511         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57512         * sysdeps/x86_64/multiarch/strcat.S: New file.
57513         * sysdeps/x86_64/multiarch/strncat.S: New file.
57514         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57515         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57516         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57517         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57518         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57519         (USE_AS_STRCAT): Define.
57520         Add strcat and strncat support.
57521         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57523         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57524         * string/strncat.c: Update.
57525         (USE_AS_STRNCAT): Define.
57526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57527         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57528         and i7.
57529         * sysdeps/x86_64/multiarch/init-arch.h
57530         (bit_Prefer_PMINUB_for_stringop): New.
57531         (index_Prefer_PMINUB_for_stringop): Likewise.
57532         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57533         bit_Prefer_PMINUB_for_stringop.
57535 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57537         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57538         buffer64.
57539         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57540         of casting of buffer.
57541         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57542         buffer32 and buffer64.
57543         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57544         writes instead of casting of buffer.
57545         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57546         buffer32.
57547         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57548         casting of buffer.
57550 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57552         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57554 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57556         * nscd/nscd.c (termination_handler): Don't do anything for a database
57557         if it has not yet been initialized.
57559 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57561         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57563 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57565         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57567 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57569         * po/nl.po: Update from translation team.
57570         * po/sv.po: Likewise.
57572 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57574         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57575         now disallowed by GCC.
57577         * configure.in (use-default-link): Default to yes if a test -shared
57578         link meets our qualifications.
57579         * configure: Regenerated.
57581         * config.make.in (output-format): New variable.
57582         * configure.in: Check for ld --print-output-format support.
57583         * configure: Regenerated.
57584         * Makerules ($(common-objpfx)format.lds)
57585         [$(output-format) != unknown]: Just use $(output-format),
57586         instead of the linker-script munging.
57588 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57590         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57591         of $(common-objpfx)shlib.lds.
57592         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57594         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57595         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57597         * configure.in (-z relro check): Adjust test code to add a large
57598         writable data section after it.
57599         * configure: Regenerated.
57601 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57603         * configure.in (-z relro check): Fix test code to make the variable
57604         truly const.
57605         * configure: Regenerated.
57607 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57609         * nscd/nscd.h (struct traced_file): Define.
57610         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57611         elements.  Add traced_files.
57612         (inotify_fd): Declare.
57613         (register_traced_file): Declare.
57614         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57615         (inotify_fd): Export.
57616         (resolv_conf_descr): Remove.
57617         (nscd_init): Move inotify descriptor creation to main.
57618         Don't register files for notification here.
57619         (register_traced_file): New function.
57620         (invalidate_cache): Don't use reset_res to determine whether to call
57621         res_init, go through the list of registered files.
57622         (main_loop_poll): The inotify descriptors are now stored in the
57623         structures for the traced files.
57624         (main_loop_epoll): Likewise
57625         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57626         to __nss_disable_nscd.
57627         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57628         for a database anymore.  Check the records for all the registered
57629         files instead.
57630         * nss/Makefile (libnss_files-routines): Add files-init.
57631         (libnss_db-routines): Add db-init.
57632         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57633         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57634         * nss/nss_db/db-init.c: New file.
57635         * nss/nss_files/files-init.c: New file.
57636         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57637         __nss_lookup_function.
57638         (__nss_lookup_function): Call nss_load_library.
57639         (nss_load_all_libraries): New function.
57640         (__nss_disable_nscd): Take parameter with callback function for files
57641         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57642         used for the cached services.
57643         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57644         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57645         options for features to all the files in nscd.
57647         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57649 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57651         * csu/elf-init.c (__libc_csu_init): Comment typo.
57653 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57655         * po/pl.po: Update from translation team.
57656         * po/ja.po: Likewise.
57657         * po/ru.po: Likewise.
57658         * po/ko.po: Likewise.
57659         * po/fr.po: Likewise.
57661 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57663         * configure.in (.ctors/.dtors header and trailer check):
57664         Use an empirical test on a built program.
57665         * configure: Regenerated.
57667         * configure.in (-z relro check): Use an empirical test on a built DSO.
57668         Detect, but do not require, on ia64.
57669         * configure: Regenerated.
57671         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57672         Update tests that use readelf to use $READELF instead.
57673         * configure: Regenerated.
57675 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57677         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57678         if the result is not used.
57680 2011-07-05  Andreas Jaeger  <aj@suse.de>
57682         [BZ#9696]
57683         * stdlib/tst-strtod.c: Add testcase.
57685 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57687         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57688         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57689         The latter has a higher limit.  Take additional parameter to pass to
57690         the new function.
57691         (__pathconf): Pass file to __statfs_link_max.
57692         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57693         __statfs_link_max.
57694         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57695         __statfs_link_max.
57697         [BZ #12868]
57698         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57699         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57700         Handle Lustre.
57701         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57702         (__statfs_filesize_max): Likewise.
57703         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57705 2011-07-05  Andreas Jaeger  <aj@suse.de>
57707         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57709 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57711         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57712         `status' variable.
57713         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57714         Likewise.
57716 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57718         * Makefile (strop-tests): Add strncat.
57719         * string/test-strncat.c: New file.
57721 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57723         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57725 2011-06-21  Andreas Jaeger  <aj@suse.de>
57727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57728         Copy rule from iconvdata/Makefile.
57730 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57732         [BZ #12922]
57733         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57734         but no long options are defined, just return 'W'.
57736 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57738         [BZ #9696]
57739         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57741 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57743         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57744         netgroups to read.
57745         (innetgr): Likewise.
57747 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57749         * config.make.in (install_root): Default to $(DESTDIR).
57751 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57753         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57755 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57757         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57759         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57760         containing directory rather than embedding absolute directory names.
57762         * scripts/check-local-headers.sh: Rewritten using awk.
57763         Match by word, not by line.  Print error messages for matches.
57764         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57766         * Makerules [shlib-lds-flags empty]:
57767         ($(common-objpfx)libc_pic.opts): New target.
57768         ($(common-objpfx)libc_pic.os.clean): New target.
57769         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57771         * config.make.in (OBJCOPY): New variable.
57772         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57773         * configure: Regenerated.
57775         * config.make.in (use-default-link): New variable.
57776         * configure.in (use_default_link): Grok --with-default-link to set it.
57777         * configure: Regenerated.
57778         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57779         (shlib-lds, shlib-lds-flags): Define to empty.
57781         * Makerules (shlib-lds): New variable.
57782         (shlib-lds-flags): New variable.
57783         (build-shlib, build-moduile, build-module-asneeded): Use it.
57784         ($(common-objpfx)libc.so): Use $(shlib-lds).
57785         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57786         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57788         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57789         DT_FLAGS/DT_FLAGS_1 with zero flags.
57791         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57792         linker script munging.
57794 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57796         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57797         as 128-bit value.
57798         * crypt/sha512.c (sha512_process_block): Perform total addition using
57799         128-bit if possible.
57800         (__sha512_finish_ctx): Likewise.
57801         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57802         as 64-bit value.
57803         * crypt/sha256.c (SWAP64): Define.
57804         (sha256_process_block): Perform total addition using 64-bit if
57805         possible.
57806         (__sha256_finish_ctx): Likewise.
57808 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57810         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57812         * nscd/hstcache.c (cache_addhst): Likewise.
57813         * nscd/grpcache.c (cache_addgr): Likewise.
57814         * nscd/aicache.c (addhstaiX): Likewise
57815         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57817 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57819         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57821         * nscd/hstcache.c (cache_addhst): Likewise.
57822         * nscd/grpcache.c (cache_addgr): Likewise.
57823         * nscd/aicache.c (addhstaiX): Likewise
57825 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57827         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57828         domain only when needed.
57830 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57833         is always restored.
57835 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57837         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57838         are re-adding the entry.
57839         * nscd/servicescache.c (cache_addserv): Likewise.
57841 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57843         * sysdeps/generic/dl-irel.h: fix protection against multiple
57844         inclusions.
57845         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57847 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57849         [BZ #12935]
57850         * malloc/memusage.sh: Fix quoting in message.
57851         * debug/xtrace.sh: Likewise.
57853         * configure.in: Remove support for --experimental-malloc option, make
57854         it the default.
57855         * config.make.in: Likewise.
57856         * malloc/Makefile: Likewise.
57858 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57860         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57861         two-byte characters.
57863 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57865         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57866         AC_CACHE_CHECK invocation.
57867         * configure: Regenerated.
57869         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57871 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57873         [BZ #12350]
57874         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57875         bit from old_res_options.
57877         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57879         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57880         value type for setfct.
57882 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57885         __gettimeofday instead of gettimeofday.
57887 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57889         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57891 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57893         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57895         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57896         info.
57898 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57901         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57902         strcpy-sse2-unaligned strncpy-sse2-unaligned
57903         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57904         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57905         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57906         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57907         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57909         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57910         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57911         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57912         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57913         (STRCPY): Support SSE2 and SSSE3 versions.
57915 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57917         [BZ #12874]
57918         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57919         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57920         kernels which artificially limit size of requests.
57922 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57925         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57926         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57927         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57928         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57929         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57930         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57931         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57933         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57934         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57935         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57936         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57937         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57938         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57940         Enable unaligned load optimization for Intel Core i3, i5 and i7
57941         processors.
57942         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57943         Define.
57944         (index_Fast_Unaligned_Load): Define.
57945         (HAS_FAST_UNALIGNED_LOAD): Define.
57947 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57949         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57951 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57953         [BZ #12907]
57954         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57955         until it is clear that the information is realy needed.
57956         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57958 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57962 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57964         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57965         /sys/devices/system/cpu/online if it is usable.
57967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57968         reading the information from the /proc filesystem to once a second.
57970 2011-06-21  Andreas Jaeger  <aj@suse.de>
57972         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57973         NULL after inclusion of kernel headers.
57975 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57977         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57978         calls to internal_setent.
57980         [BZ #12885]
57981         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57982         addresses using gethostbyname4_r ignore IPv4 addresses.
57984         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57985         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57987         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57989 2011-06-20  David S. Miller  <davem@davemloft.net>
57991         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57992         inclusions.
57993         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57995         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57996         (elf_irel): Use it.
57997         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57998         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57999         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
58000         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
58001         * sysdeps/x86_64/dl-irel.h: Likewise.
58003         * elf/dl-runtime.c: Use elf_ifunc_invoke.
58004         * elf/dl-sym.c: Likewise.
58006 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58008         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
58009         need to dereference resplen2.
58011 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58013         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58015 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58017         * Makeconfig: Define vardbdir and inst_vardbdir.
58018         * nss/Makefile: Add rules to install db-Makefile.
58020         * nss/nss_db/db-XXX.c: Cleanup.
58022         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58023         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58024         GLIBC_PRIVATE.
58025         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58026         * nss/makedb.c: Implement -g option to specify that value strings
58027         are generated and should not be added to table iterated over for
58028         get*ent calls.
58029         * nss/nss_db/db-initgroups.c: New file.
58031         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58032         interface.
58034         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58035         (internal_getgrouplist): Adjust to name change.
58036         Update use_initgroups_entry if this is not the first call.
58037         * nss/databases.def: Add initgroups entry.
58039         * nss/makedb.c (compute_tables): Check result of multiple hash table
58040         sizes to minimize maximum chain length.
58042 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58044         * Versions.def: Add entry for libnss_db.
58045         * shlib-versions: Likewise.
58046         * nss/Makefile: Add rules to build libnss_db.
58047         * nss/Versions: Add libnss_db information.  Organize libnss_files
58048         entries better.
58049         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58050         makedb progra.  Some minor improvements to generate smaller files.
58051         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58052         here from...
58053         * nss/makedb.c: ...here.
58054         Improve database format to be smaller and require less memory at
58055         runtime.
58056         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58057         db anymore.
58058         * nss/nss_db/db-netgrp.c: Likewise.
58059         * nss/nss_db/db-open.c: Likewise.
58060         * nss/nss_files/flies-XXX.x: Adjust comments.
58061         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58062         * nss/nss_files/files-grp.c: Likewise.
58063         * nss/nss_files/files-hosts.c: Likewise.
58064         * nss/nss_files/files-network.c: Likewise.
58065         * nss/nss_files/files-proto.c: Likewise.
58066         * nss/nss_files/files-pwd.c: Likewise.
58067         * nss/nss_files/files-rpc.c: Likewise.
58068         * nss/nss_files/files-service.c: Likewise.
58069         * nss/nss_files/files-sgrp.c: Likewise.
58070         * nss/nss_files/files-spwd.c: Likewise.
58071         * nss/nss_db/db-alias.c: Removed.
58072         * nss/nss_db/dummy-db.h: Removed.
58074 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58076         * nss/makedb.c: Rewritten to not use database library.
58077         * nss/Makefile: Update to build new makedb program.
58079 2011-06-14  Andreas Jaeger  <aj@suse.de>
58081         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58082         memset declaration.
58084 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58086         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58087         tmpbuf.
58089 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58091         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58092         * elf/Makefile ($(objpfx)ld.so): Likewise.
58094         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58095         Don't list ld.so twice in dependencies.
58097         * posix/bug-regex31.c: Include <stdlib.h>.
58099         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58101         * nis/nss_compat/compat-spwd.c
58102         (getspent_next_nss_netgr): Remove unused variable.
58103         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58105         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58106         nonmembers" output to use the right array.
58108         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58110         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58112         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58113         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58114         * catgets/gencat.c (read_input_file): Likewise.
58115         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58117         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58118         variable definition inside #if's controlling its use.
58120         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58122         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58124         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58126         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58127         unreachable code.
58129         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58131         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58132         * configure: Regenerated.
58134         * Makerules: Revert last change.
58135         * elf/Makefile: Likewise.
58137 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58139         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58140         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58141         (reloc-link): Likewise.
58143 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58145         * elf/Makefile: Add rules to build pldd.
58146         * elf/pldd.c: New file.
58147         * elf/pldd-xx.c: New file.
58149 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58151         * version.h: Update for 2.15 development version.
58153 2011-06-07  David S. Miller  <davem@davemloft.net>
58155         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58156         ifuncs.
58157         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58158         elf_machine_lazy_rel): Likewise.
58159         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58161         elf_machine_lazy_rel): Likewise.
58162         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58163         dl_hwcap via passed in argument.
58164         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58165         Likewise.
58167 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58169         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58171 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58173         [BZ #12849]
58174         * manual/fdl-1.1.texi: New file, verbatim from:
58175         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58176         * manual/lgpl-2.1.texi: New file, verbatim from:
58177         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58178         * manual/Makefile (licenses): New variable, list those new file names.
58179         (texis): Use it.
58180         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58182         * manual/fdl.texi: File removed.
58183         * manual/lesser.texi: File removed.
58184         * manual/libc.texinfo (Copying, Documentation License):
58185         Use new @include file names, put @appendix directive before @include.
58187 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58189         [BZ #12841]
58190         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58191         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58192         (mq_open): Add __NTH.
58194 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58197         Assume Intel Core i3/i5/i7 processor if AVX is available.
58199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58201         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58202         typo.
58204 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58206         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58207         memory.  Use alloca_account.  Fix memory leak when retrying.
58209 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58211         * version.h (RELEASE): Bump for 2.14 release.
58212         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58214         * config.make.in (RANLIB): Remove entry.
58216 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58218         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58219         (libc.pot): Work around missing support for .ksh extension in xgettext.
58221         [BZ #12684]
58222         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58223         if both request failed.
58224         (send_dg): In case of server errors clear resplen or *resplen2.
58226         [BZ #12454]
58227         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58228         when there are multiple maps.
58229         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58230         (_dl_fini): Remove test here.
58232         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58234 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58236         [BZ #12350]
58237         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58238         bit from old_res_options.
58239         (gaih_inet): Likewise.
58241         [BZ #11099]
58242         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58243         as signed.
58245         * resolv/res_init.c (res_setoptions): Make the code more compact.
58247         [BZ #11558]
58248         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58249         set RES_USEVC.
58251         [BZ #11634]
58252         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58254         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58256         [BZ #11781]
58257         * malloc/malloc.h: Declare malloc hook variables as volatile.
58259         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58260         in last patch.
58262         [BZ #11799]
58263         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58264         raise in the comment.
58265         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58267         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58269 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58271         [BZ #12811]
58272         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58273         grow the buffers more if it already has to be sufficient.
58274         (build_wcs_upper_buffer): Likewise.
58275         * posix/regexec.c (check_matching): Likewise.
58276         (clean_state_log_if_needed): Likewise.
58277         (extend_buffers): Don't enlarge buffers beyond size of the input
58278         buffer.
58279         Patches mostly by Emil Wojak <emil@wojak.eu>.
58280         * posix/bug-regex32.c: New file.
58281         * posix/Makefile (tests): Add bug-regex32.
58283         * locale/findlocale.c (_nl_find_locale): Return right away if
58284         _nl_explode_name failed.
58285         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58287         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58289         * debug/xtrace.sh: Unify messages.
58290         * malloc/memusage.sh: Likewise.
58292         [BZ #12813]
58293         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58294         time symbol from vDSO.  Substitute with vsyscall if not available.
58295         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58296         __vdso_time.
58298         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58299         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58300         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58301         Add sendmmsg and internal_sendmmsg.
58302         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58303         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58304         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58306         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58307         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58308         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58310 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58312         [BZ #12813]
58313         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58314         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58315         available.
58316         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58317         __vdso_getcpu.
58319         [BZ #12814]
58320         * iconvdata/Makefile (tests): Add bug-iconv9.
58321         * iconvdata/bug-iconv9.c: New file.
58323 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58325         [BZ #12814]
58326         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58328 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58330         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58331         (struct user_regs_struct): Change intcs field back to cs.
58333 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58335         * po/ja.po: Update from translation team.
58337 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58339         [BZ #12795]
58340         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58341         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58343 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58345         * stdlib/longlong.h: Update from GCC.
58347 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58349         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58350         parameter name.
58351         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58352         Add parameter name.
58353         (__sysconf): Pass it down.
58355 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58357         [BZ #12671]
58358         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58359         some situations.
58360         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58361         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58362         add in in __libc_use_alloca calls.  Adjust callers.
58363         (glob): Use malloc in some situations.
58365         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58366         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58367         pltexit.
58369 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58371         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58372         and CLOCK_BOOTTIME_ALARM.
58374         [BZ #12782]
58375         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58376         is returned.
58378         * string/_strerror.c (__strerror_r): Print negative errors as signed
58379         numbers.
58381         [BZ #12777]
58382         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58383         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58384         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58386         * configure.in: Fix typo in redirection and correct removal of test
58387         files in two cases.
58389         [BZ #12788]
58390         * locale/setlocale.c (new_composite_name): Fix test to check for
58391         identical name of all categories.
58393         [BZ #12792]
58394         * libio/filedoalloc.c (local_isatty): New function.
58395         (_IO_file_doallocate): Use local_isatty.
58396         * stdio-common/perror.c (perror): In case a new stream is used
58397         forward the stream error.
58398         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58399         error flag.
58401 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58403         [BZ #11869]
58404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58405         alloca.
58406         * include/alloca.h (extend_alloca_account): Define.
58408         [BZ #11857]
58409         * posix/regex.h: Fix comments with documentation of user-accessible
58410         fields after compilation and describe correct free'ing of pattern
58411         after re_compile_pattern.
58412         Patch by Reuben Thomas <rrt@sc3d.org>.
58414 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58416         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58417         and -mno-altivec to prevent the compiler from using Altivec and/or
58418         VSX instructions when the corresponding registers are not available.
58420 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58422         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58424 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58426         * libio/freopen.c (freopen): Use __dup2, not dup2.
58427         * libio/freopen64.c (freopen64): Likewise.
58429 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58431         [BZ #12775]
58432         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58433         * math/Makefile (tests): Add test-powl.
58434         (CFLAGS-test-powl.c): Define.
58435         * math/test-powl.c: New file.
58437 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58439         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58441 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58443         [BZ #11837]
58444         * iconvdata/gb18030.c: Update to GB18020-2005.
58446 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58448         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58449         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58450         Patch by Aharon Robbins <arnold@skeeve.com>.
58452         [BZ #11892]
58453         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58454         on the stack.
58456         [BZ #11895]
58457         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58458         through underflows.
58460         [BZ #12766]
58461         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58462         point to strings before performing equality test for error_one_per_line
58463         mode.
58465         [BZ #11697]
58466         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58468         [BZ #11820]
58469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58470         (struct user_fpregs_struct): Avoid __uint*_t types.
58472         [BZ #6420]
58473         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58474         symbol info.  Use it instead of calling _dl_addr locally.
58475         (lock_and_info): New function.
58476         (tr_freehook): Call lock_and_info and pass symbol info as additional
58477         parameter to tr_where.
58478         (tr_mallochook): Likewise.
58479         (tr_reallochook): Likewise.
58480         (tr_memalignhook): Likewise.
58482         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58483         used and couldn't be at all thread-safe.
58485 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58487         * libio/freopen.c (freopen): Don't close old file descriptor
58488         before the new one is opened.  Instead dup the new file descriptor
58489         to the old one after the new stream is created.
58490         * libio/freopen64.c (freopen64): Likewise.
58491         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58492         * libio/fileops.c (_IO_new_file_close_it): Handle new
58493         _IO_FLAGS2_NOCLOSE flag.
58494         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58495         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58496         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58497         _IO_FLAGS2_NOCLOSE flag.
58498         * include/unistd.h: Add hidden_proto for dup3.
58499         Define __have_dup3.
58500         * io/dup3.c: Define hidden symbol.
58501         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58503         [BZ #7101]
58504         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58505         when an incomplete long option is used.
58506         * posix/tst-getopt_long1.c: New file.
58507         * posix/Makefile (tests): Add tst-getopt_long1.
58509         [BZ #10138]
58510         * scripts/config.guess: Update from autoconf-2.68.
58511         * scripts/config.sub: Likewise.
58513         [BZ #10157]
58514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58515         tests into ...
58516         (has_cpuclock): ...this.  New function.
58517         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58518         macro here based on has_cpuclock code.
58520         [BZ #10149]
58521         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58522         First byte (not low byte) is now always NUL.
58523         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58525         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58526         Use non-cancelable interfaces.
58528         [BZ #9809]
58529         * locale/iso-639.def: Add entry for Sorani.
58531         [BZ #11901]
58532         * include/stdlib.h: Move include protection to the right place.
58533         Define abort_msg_s.  Declare __abort_msg with it.
58534         * stdlib/abort.c (__abort_msg): Adjust type.
58535         * assert/assert.c (__assert_fail_base): New function.  Majority
58536         of code from __assert_fail.  Allocate memory for __abort_msg with
58537         mmap.
58538         (__assert_fail): Now call __assert_fail_base.
58539         * assert/assert-perr.c: Remove bulk of implementation.  Use
58540         __assert_fail_base.
58541         * include/assert.hL Declare __assert_fail_base.
58542         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58543         mmap.
58544         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58546 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58548         [BZ #11952]
58549         [BZ #12453]
58550         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58551         until all modules are registered in the DTV.
58552         * elf/Makefile: Add rules to build and run tst-tls19.
58553         * elf/tst-tls19.c: New file.
58554         * elf/tst-tls19mod1.c: New file.
58555         * elf/tst-tls19mod2.c: New file.
58556         * elf/tst-tls19mod3.c: New file.
58557         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58559         [BZ #12083]
58560         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58561         correctly.
58563         [BZ #12601]
58564         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58565         two-byte sequence errors.
58566         * iconvdata/Makefile (tests): Add bug-iconv8.
58567         * iconvdata/bug-iconv8.c: New file.
58569         [BZ #12626]
58570         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58571         buf2 definition.
58573         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58575         [BZ #12432]
58576         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58577         (dummy_getcfa): New function.
58578         (init): Get _Unwind_GetCFA address, use dummy if not found.
58579         (backtrace_helper): In recursion check, also check whether CFA changes.
58580         (__backtrace): Completely initialize arg.
58582         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58583         storing incomplete byte sequence in state object.  Avoid testing for
58584         guaranteed too small input if we know there is enough data available.
58586 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58588         * Makeconfig (+link-pie): Indent.
58589         * Rules (binaries-pie): Define if $(have-fpie) and
58590         $(build-shared).
58591         (binaries-shared): Also filter out $(binaries-pie).
58592         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58593         * nscd/Makefile (others-pie): Add nscd.
58594         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58595         ($(objpfx)nscd): Remove command override.
58596         * login/Makefile (others-pie): Add pt_chown.
58597         ($(objpfx)pt_chown): Remove command override.
58598         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58599         remove command overrides.
58601 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58603         * libio/tst_putwc.c: Fix error messages.
58605         [BZ #12724]
58606         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58607         currently writing and seek to current position when not.
58608         * libio/Makefile (tests): Add bug-fclose1.
58609         * libio/bug-fclose1.c: New file.
58611 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58613         [BZ #12511]
58614         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58615         don't set DF_1_NODELETE here.
58616         (do_lookup_x): When entering new entry test for copy relocation
58617         and if necessary set DF_1_NODELETE flag.
58618         * elf/tst-unique4.cc: New file.
58619         * elf/tst-unique4.h: New file.
58620         * elf/tst-unique4lib.cc: New file.
58621         * elf/Makefile: Add rules to build and run tst-unique4.
58622         Patch by Piotr Bury <pbury@goahead.com>.
58624 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58626         [BZ #12052]
58627         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58629         [BZ #12625]
58630         * misc/mntent_r.c (addmntent): Flush the stream after the output
58632         [BZ #12393]
58633         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58634         (is_trusted_path_normalize): Skip initial colon.  Append slash
58635         to empty buffer.  Duplicate is_trusted_path code but allow
58636         constructed patch to be prefix.
58637         (is_dst): Allow $ORIGIN followed by /.
58638         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58639         Correct testing of result of is_trusted_path_normalize
58640         (decompose_rpath): Fix warning.
58642 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58644         [BZ #11257]
58645         * grp/initgroups.c (internal_getgrouplist): When we found the service
58646         list through the initgroups entry in nsswitch.conf do not always
58647         continue on a successful lookup.  Don't always use the
58648         __nss_group_database value if it is set.
58649         * nss/nsswitch.conf (initgroups): Change action for successful db
58650         lookup to continue for compatibility.
58652 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58654         [BZ #11532]
58655         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58656         and CP774 modules.
58657         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58658         and CP774 modules.
58659         * iconvdata/tst-tables.sh: Likewise.
58660         * iconvdata/cp770.c: New file.
58661         * iconvdata/cp771.c: New file.
58662         * iconvdata/cp772.c: New file.
58663         * iconvdata/cp773.c: New file.
58664         * iconvdata/cp774.c: New file.
58665         * iconvdata/testdata/CP770: New file.
58666         * iconvdata/testdata/CP770..UTF8: New file.
58667         * iconvdata/testdata/CP771: New file.
58668         * iconvdata/testdata/CP771..UTF8: New file.
58669         * iconvdata/testdata/CP772: New file.
58670         * iconvdata/testdata/CP772..UTF8: New file.
58671         * iconvdata/testdata/CP773: New file.
58672         * iconvdata/testdata/CP773..UTF8: New file.
58673         * iconvdata/testdata/CP774: New file.
58674         * iconvdata/testdata/CP774..UTF8: New file.
58676         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58677         END CHARMAP line.
58678         * iconvdata/gen-8bit-gap.sh: Likewise.
58679         * iconvdata/gen-8bit.sh: Likewise.
58681         * locale/iso-639.def: Add ary entry.
58683         [BZ #11258]
58684         * locale/C-translit.h.in: Add U20A1 transliteration.
58686         [BZ #12178]
58687         * locale/iso-639.def: Add wae entry.
58688         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58690         [BZ #12545]
58691         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58692         for n.
58694         [BZ #12711]
58695         * locale/C-translit.h.in: Add entry for U20B9.
58696         Patch by pravin.d.s@gmail.com.
58698 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58700         [BZ #12713]
58701         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58702         ENAMETOOLONG use generic getcwd.
58703         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58704         in rtld.  Use *stat64.
58705         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58706         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58707         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58708         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58709         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58710         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58711         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58712         __fstatat64 macros.
58713         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58714         * dirent/rewinddir.c: Add libc_hidden_def.
58715         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58716         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58718         * include/dirent.h (__alloc_dir): Add flags parameter.
58719         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58720         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58721         __alloc_dir.
58722         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58723         from fdopendir if O_CLOEXEC is already set.
58725 2011-03-15  Alan Modra  <amodra@gmail.com>
58727         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58728         l_tls_firstbyte_offset non-zero.  Save padding offset in
58729         l_tls_firstbyte_offset for later use.
58730         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58731         freeing static tls block.
58733 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58735         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58736         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58737         being defined by the kernel headers.
58739 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58741         [BZ #12734]
58742         * resolv/resolv.h: Define RES_NOTLDQUERY.
58743         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58744         no-tld-query and set RES_NOTLDQUERY.
58745         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58746         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58747         modern BIND to search name as TLD unless forbidden.
58749 2011-05-07  Petr Baudis  <pasky@suse.cz>
58750             Ulrich Drepper  <drepper@gmail.com>
58752         [BZ #12393]
58753         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58754         (is_trusted_path): ...to here.
58755         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58756         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58757         using is_trusted_path_normalize() in setuid scripts.
58759 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58761         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58762         __BEGIN/__END_DECLS.
58764 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58767         NSS_STATUS_NOTFOUND if no record was found.
58769 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58771         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58772         (headers-not-in-tirpc): Remove rpc/netdb.h
58773         * resolv/netdb.h: Revert last change.
58775 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58777         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58778         circular dependency between libgcc.a and libc.a.
58780 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58782         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58783         * nis/Makefile: Don't install rpcsvc/*.
58784         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58785         instead of <rpc/types.h>.
58786         (MAXHOSTNAMELEN): Define.
58788 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58790         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58792 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58794         [BZ #12714]
58795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58796         gethostbyname4_r when IPv6 results are possible.
58798 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58800         [BZ #12723]
58801         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58802         _PC_PIPE_BUF handling.
58804 2011-04-30  Bruno Haible  <bruno@clisp.org>
58806         [BZ #12717]
58807         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58808         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58809         to 'int'.
58810         * inet/getnameinfo.c (getnameinfo): Likewise.
58812 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58814         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58815         to groups setting in database lookup.
58816         * nss/nsswitch.conf: Add initgroups entry.
58818 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58820         [BZ #12685]
58821         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58822         mode string.
58823         Patch by Eric Blake <eblake@redhat.com>.
58825 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58827         * sunrpc/Makefile (need-export-routines): Add svc_run.
58828         (routines): Remove svc_run.
58829         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58830         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58831         * sunrpc/svc_run.c (svc_run): Likewise.
58832         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58834 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58836         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58837         problem in reallocation in last patch.
58839 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58841         * sunrpc/Makefile: Move inclusion of Rules.
58843 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58845         * nss/nss_files/files-initgroups.c: New file.
58846         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58847         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58848         _nss_files_initgroups_dyn.
58850 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58852         * elf/elf.h (R_ARM_IRELATIVE): Define.
58854 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58856         * po/ru.po: Update from translation team.
58858 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58860         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58861         dependencies.
58863 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58865         [BZ #12653]
58866         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58867         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58868         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58869         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58870         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58872 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58874         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58875         differing bytes.
58876         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58877         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58878         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58880 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58882         [BZ #12420]
58883         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58884         storing it.
58885         * stdlib/bug-getcontext.c: New file.
58886         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58888 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58890         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58891         instructions into .machine "z9-109".
58892         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58893         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58895 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58897         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58898         between environment variables and auxiliary vector.
58900 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58902         * Makefile: Add rules to build linkobj/libc.so.
58903         * include/libc-symbols.h: Define libc_hidden_nolink.
58904         * include/rpc/auth.h: Mark functions which are to be hidden.
58905         * include/rpc/auth_des.h: Likewise.
58906         * include/rpc/auth_unix.h: Likewise.
58907         * include/rpc/clnt.h: Likewise.
58908         * include/rpc/des_crypt.h: Likewise.
58909         * include/rpc/key_prot.h: Likewise.
58910         * include/rpc/pmap_clnt.h: Likewise.
58911         * include/rpc/pmap_prot.h: Likewise.
58912         * include/rpc/pmap_rmt.h: Likewise.
58913         * include/rpc/rpc_msg.h: Likewise.
58914         * include/rpc/svc.h: Likewise.
58915         * include/rpc/svc_auth.h: Likewise.
58916         * include/rpc/xdr.h: Likewise.
58917         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58918         * nss/Makefile: Likewise.
58919         * sunrpc/Makefile: Don't install headers.  Build library with normal
58920         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58921         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58922         for the compat linking library.  Remove use of INTDEF/INTUSE.
58923         * sunrpc/auth_none.c: Likewise.
58924         * sunrpc/auth_unix.c: Likewise.
58925         * sunrpc/authdes_prot.c: Likewise.
58926         * sunrpc/authuxprot.c: Likewise.
58927         * sunrpc/clnt_gen.c: Likewise.
58928         * sunrpc/clnt_perr.c: Likewise.
58929         * sunrpc/clnt_raw.c: Likewise.
58930         * sunrpc/clnt_simp.c: Likewise.
58931         * sunrpc/clnt_tcp.c: Likewise.
58932         * sunrpc/clnt_udp.c: Likewise.
58933         * sunrpc/clnt_unix.c: Likewise.
58934         * sunrpc/des_crypt.c: Likewise.
58935         * sunrpc/des_soft.c: Likewise.
58936         * sunrpc/get_myaddr.c: Likewise.
58937         * sunrpc/key_call.c: Likewise.
58938         * sunrpc/key_prot.c: Likewise.
58939         * sunrpc/netname.c: Likewise.
58940         * sunrpc/pm_getmaps.c: Likewise.
58941         * sunrpc/pm_getport.c: Likewise.
58942         * sunrpc/pmap_clnt.c: Likewise.
58943         * sunrpc/pmap_prot.c: Likewise.
58944         * sunrpc/pmap_prot2.c: Likewise.
58945         * sunrpc/pmap_rmt.c: Likewise.
58946         * sunrpc/publickey.c: Likewise.
58947         * sunrpc/rpc_cmsg.c: Likewise.
58948         * sunrpc/rpc_common.c: Likewise.
58949         * sunrpc/rpc_dtable.c: Likewise.
58950         * sunrpc/rpc_prot.c: Likewise.
58951         * sunrpc/rpc_thread.c: Likewise.
58952         * sunrpc/rtime.c: Likewise.
58953         * sunrpc/svc.c: Likewise.
58954         * sunrpc/svc_auth.c: Likewise.
58955         * sunrpc/svc_authux.c: Likewise.
58956         * sunrpc/svc_raw.c: Likewise.
58957         * sunrpc/svc_run.c: Likewise.
58958         * sunrpc/svc_simple.c: Likewise.
58959         * sunrpc/svc_tcp.c: Likewise.
58960         * sunrpc/svc_udp.c: Likewise.
58961         * sunrpc/svc_unix.c: Likewise.
58962         * sunrpc/svcauth_des.c: Likewise.
58963         * sunrpc/xcrypt.c: Likewise.
58964         * sunrpc/xdr.c: Likewise.
58965         * sunrpc/xdr_array.c: Likewise.
58966         * sunrpc/xdr_float.c: Likewise.
58967         * sunrpc/xdr_intXX_t.c: Likewise.
58968         * sunrpc/xdr_mem.c: Likewise.
58969         * sunrpc/xdr_rec.c: Likewise.
58970         * sunrpc/xdr_ref.c: Likewise.
58971         * sunrpc/xdr_sizeof.c: Likewise.
58972         * sunrpc/xdr_stdio.c: Likewise.
58974 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58976         [BZ #12650]
58977         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58978         * sysdeps/ia64/dl-tls.h: Likewise.
58979         * sysdeps/powerpc/dl-tls.h: Likewise.
58980         * sysdeps/s390/dl-tls.h: Likewise.
58981         * sysdeps/sh/dl-tls.h: Likewise.
58982         * sysdeps/sparc/dl-tls.h: Likewise.
58983         * sysdeps/x86_64/dl-tls.h: Likewise.
58984         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58986 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58988         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58989         rpath element also skip the following colon.
58990         (expand_dynamic_string_token): Add is_path parameter and pass
58991         down to DL_DST_REQUIRED and _dl_dst_substitute.
58992         (decompose_rpath): Call expand_dynamic_string_token with
58993         non-zero is_path.  Ignore empty rpaths.
58994         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58995         with zero is_path.
58997 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59000         Make cancelable.
59002 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
59004         [BZ #12655]
59005         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
59006         Patch by Filipe David Manana <fdmanana@apache.org>.
59008 2011-04-07  Andreas Schwab  <schwab@redhat.com>
59010         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
59011         Maintain aligned stack.
59012         (CHECK_RSP): Remove unused macro.
59014 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59016         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59017         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59019 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59021         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59023         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59025 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59027         [BZ #12518]
59028         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59029         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59030         * sysdeps/x86_64/memmove.c: New file.
59031         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59032         (memcpy): Renamed to ...
59033         (__new_memcpy): This.
59034         (memcpy): Provide GLIBC_2_14 memcpy.
59035         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59036         (memcpy): Provide GLIBC_2_2_5 memcpy.
59038 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59040         [BZ #12631]
59041         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59043 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59045         * misc/syncfs.c: New file.
59046         * misc/Makefile (routines): Add syncfs.
59047         * posix/unistd.h: Declare syncfs.
59048         * sysdeps/unix/syscalls.list: Add syncfs.
59050 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59052         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59053         open_by_handle_at.
59054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59057         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59058         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59059         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59062 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59064         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59065         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59066         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59068         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59069         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59070         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59072         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59073         sync_file_range.c with -fexceptions.
59074         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59075         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59076         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59077         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59078         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59079         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59080         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59081         sync_file_range as cancellation point
59082         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59083         now a wrapper around __call_sync_file_range with cancellation handling.
59084         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59085         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59086         function name to __call_sync_file_range.
59087         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59088         Add call_sync_file_range.
59090 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59093         bits/timex.h.
59095 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59097         * iconv/iconv.h: Fix typo in comment.
59098         * io/fcntl.h: Likewise.
59099         * libio/stdio.h: Likewise.
59100         * posix/spawn.h: Likewise.
59101         * posix/unistd.h: Likewise.
59102         * stdlib/stdlib.h: Likewise.
59103         * time/time.h: Likewise.
59104         * wcsmbs/wchar.h: Likewise.
59106         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59107         open_by_handle): Add.
59108         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59109         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59110         Augment a few comments.
59111         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59112         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59113         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59114         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59115         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59116         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59117         open_by_handle.
59119         * io/fcntl.h (AT_EMPTY_PATH): Define.
59121 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59123         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59124         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59125         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59126         to...
59127         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59128         * Versions.def: Add GLIBC_2.14.
59129         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59130         Export.
59132 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59134         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59135         round counter.
59136         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59138 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59140         [BZ #12597]
59141         * string/test-strncmp.c (do_page_test): New function.
59142         (check2): Likewise.
59143         (test_main): Call check2.
59144         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59146 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59148         [BZ #12587]
59149         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59150         Handle cache information in CPU leaf 4.
59151         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59153 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59155         [BZ #12583]
59156         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59157         character representation.
59158         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59160 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59162         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59163         END(__isnan) to END(__isnanf) to match function entry point/label
59164         EALIGN(__isnanf,...).
59166 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59168         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59170 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59172         [BZ #12510]
59173         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59174         copy from the symbol referenced in the relocation to initialize the
59175         used variable.
59176         Patch by Piotr Bury <pbury@goahead.com>.
59177         * elf/Makefile: Add rules to build and tst-unique3.
59178         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59179         * elf/tst-unique3.cc: New file.
59180         * elf/tst-unique3.h: New file.
59181         * elf/tst-unique3lib.cc: New file.
59182         * elf/tst-unique3lib2.cc: New file.
59184         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59186 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59188         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59189         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59190         to _start.
59192 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59194         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59195         to-be-loaded object along a path to loader is ld.so.
59197 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59198             Ulrich Drepper  <drepper@gmail.com>
59200         * sysdeps/x86_64/memset.S: After aligning destination, code
59201         branches to different locations depending on the value of
59202         misalignment, when multiarch is enabled. Fix this.
59204 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59206         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59207         Set _x86_64_preferred_memory_instruction for AMD processsors.
59208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59209         Set bit_Prefer_SSE_for_memop for AMD processors.
59211 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59213         * libio/fmemopen.c (fmemopen): Optimize a bit.
59215 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59217         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59219 2011-03-03  Roland McGrath  <roland@redhat.com>
59221         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59223 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59225         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59226         __bzero_ultra1 instead of __memset_ultra1.
59228 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59229             Ulrich Drepper  <drepper@gmail.com>
59231         [BZ #12509]
59232         * include/link.h (struct link_map): Add l_orig_initfini.
59233         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59234         returning unsuccessfully.
59235         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59236         close of a file loaded at startup, restore the original l_initfini
59237         list.
59238         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59239         list, store the pointer.
59240         * elf/Makefile ($(objpfx)noload-mem): New rule.
59241         (noload-ENV): Define.
59242         (tests): Add $(objpfx)noload-mem.
59243         * elf/noload.c: Include <memcheck.h>.
59244         (main): Call mtrace.  Close all opened handles.
59246 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59248         [BZ #12454]
59249         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59250         dependencies are missing.
59252 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59254         Fix __if_freereq crash: Unlike the generic version which uses free,
59255         Hurd needs munmap.
59256         * sysdeps/mach/hurd/ifreq.h: New file.
59258 2011-01-27  Petr Baudis  <pasky@suse.cz>
59259             Ulrich Drepper  <drepper@gmail.com>
59261         [BZ 12445]#
59262         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59263         to extend_alloca().
59264         * stdio-common/bug23.c: New file.
59265         * stdio-common/Makefile (tests): Add bug23.
59267 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59268             Ulrich Drepper  <drepper@gmail.com>
59270         [BZ #12489]
59271         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59272         before performing relro protection.  At old place add assertion
59273         to make sure nothing changed.
59275 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59276             Glauber de Oliveira Costa  <glommer@gmail.com>
59278         * elf/elf.h: Add new ARM TLS relocs.
59280 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59283         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59284         cast from r3.
59285         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59286         'tests' variable.
59287         * sysdeps/wordsize-64/tst-writev.c: New file.
59289 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59291         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59292         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59293         insns in _dl_start to prevent a TOC reference before relocs are
59294         resolved.
59296 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59298         [BZ #12469]
59299         * Makeconfig: Remove RANLIB definition.
59300         * Makerules: Don't use RANLIB.
59301         * aclocal.m4: Remove ranlib test.
59302         * configure.in: No need to check for ranlib.
59303         * elf/rtld-Rules: Don't use RANLIB.
59305 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59307         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59308         protection macro.
59309         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59310         inclusion protection macro.
59312         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59313         SIGRTMIN and SIGRTMAX and print information in that case only when
59314         SIGRTMIN is defined.
59316 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59318         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59319         arginfo fn returning -1.
59321         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59322         and thousands string is zero terminated.
59324 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59326         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59327         sysdeps/unix/sysv/linux/bits/socket.h.
59329 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59331         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59332         (__CPU_COUNT): Remove old macros.
59333         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59334         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59335         (__CPU_ALLOC, __CPU_FREE): Add macros.
59336         (__sched_cpualloc, __sched_cpufree): Add declarations.
59338 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59340         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59341         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59342         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59343         (readdhstai): Return value of addhstaiX call.
59344         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59345         (addgrbyX): Return value returned by cache_addgr.
59346         (readdgrbyname): Return value returned by addgrbyX.
59347         (readdgrbygid): Likewise.
59348         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59349         (addpwbyX): Return value returned by cache_addpw.
59350         (readdpwbyname): Return value returned by addhstbyX.
59351         (readdpwbyuid): Likewise.
59352         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59353         (addservbyX): Return value returned by cache_addserv.
59354         (readdservbyname): Return value returned by addservbyX:
59355         (readdservbyport): Likewise.
59356         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59357         (addhstbyX): Return value returned by cache_addhst.
59358         (readdhstbyname): Return value returned by addhstbyX.
59359         (readdhstbyaddr): Likewise.
59360         (readdhstbynamev6): Likewise.
59361         (readdhstbyaddrv6): Likewise.
59362         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59363         (readdinitgroups): Return value returned by addinitgroupsX.
59364         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59365         (prune_cache): Keep track of timeout value of re-added entries.
59366         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59367         * nscd/nscd.h: Adjust prototypes of readd* functions.
59369 2011-02-04  Roland McGrath  <roland@redhat.com>
59371         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59372         (nis_stats): Likewise.
59373         * nis/nis_modify.c (nis_modify): Likewise.
59374         * nis/nis_remove.c (nis_remove): Likewise.
59375         * nis/nis_add.c (nis_add): Likewise.
59377         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59379         * posix/fnmatch_loop.c: Add some consts.
59381         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59383 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59385         [BZ #12460]
59386         * config.make.in (config-cflags-novzeroupper): Define.
59387         * configure.in: Substitute libc_cv_cc_novzeroupper.
59388         * elf/Makefile (AVX-CFLAGS): Define.
59389         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59390         (CFLAGS-tst-auditmod4a.c): Likewise.
59391         (CFLAGS-tst-auditmod4b.c): Likewise.
59392         (CFLAGS-tst-auditmod6b.c): Likewise.
59393         (CFLAGS-tst-auditmod6c.c): Likewise.
59394         (CFLAGS-tst-auditmod7b.c): Likewise.
59395         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59397 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59399         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59400         function to the callback.
59401         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59403 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59405         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59406         of errno.
59408 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59410         [BZ #11724]
59411         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59412         of constructors.
59413         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59414         of destructors.
59415         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59417         [BZ #11724]
59418         * elf/Makefile: Add rules to build and run new test.
59419         * elf/tst-initorder.c: New file.
59420         * elf/tst-initorder.exp: New file.
59421         * elf/tst-initordera1.c: New file.
59422         * elf/tst-initordera2.c: New file.
59423         * elf/tst-initordera3.c: New file.
59424         * elf/tst-initordera4.c: New file.
59425         * elf/tst-initorderb1.c: New file.
59426         * elf/tst-initorderb2.c: New file.
59427         * elf/tst-order-a1.c: New file.
59428         * elf/tst-order-a2.c: New file.
59429         * elf/tst-order-a3.c: New file.
59430         * elf/tst-order-a4.c: New file.
59431         * elf/tst-order-b1.c: New file.
59432         * elf/tst-order-b2.c: New file.
59433         * elf/tst-order-main.c: New file.
59434         New test case by George Gensure <werkt0@gmail.com>.
59436 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59439         decoding ACE if AI_CANONIDN.
59441 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59443         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59445 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59447         * version.h (RELEASE): Bump for 2.13 release.
59448         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59450         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59452         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59453         MADV_NOHUGEPAGE.
59454         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59455         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59456         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59457         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59458         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59459         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59461         * posix/getconf.c: Update copyright year.
59462         * catgets/gencat.c: Likewise.
59463         * csu/version.c: Likewise.
59464         * debug/catchsegv.sh: Likewise.
59465         * debug/xtrace.sh: Likewise.
59466         * elf/ldconfig.c: Likewise.
59467         * elf/ldd.bash.in: Likewise.
59468         * elf/sprof.c (print_version): Likewise.
59469         * iconv/iconv_prog.c: Likewise.
59470         * iconv/iconvconfig.c: Likewise.
59471         * locale/programs/locale.c: Likewise.
59472         * locale/programs/localedef.c: Likewise.
59473         * malloc/memusage.sh: Likewise.
59474         * malloc/mtrace.pl: Likewise.
59475         * nscd/nscd.c (print_version): Likewise.
59476         * nss/getent.c: Likewise.
59478         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59479         PF_CAIF, and PF_ALG.
59480         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59482 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59484         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59485         (modules-names): Use them.
59486         (ifunc-test-modules, ifunc-pie-tests): Define.
59487         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59488         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59489         (test-extras): Likewise.
59490         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59491         $(compile-command.c).
59492         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59493         (all-built-dso): Define.
59494         (check-textrel.out, check-execstack.out): Depend on it.
59496         * configure.in: Don't override --enable-multi-arch.
59498 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59500         [BZ #6812]
59501         * nscd/hstcache.c (tryagain): Define.
59502         (cache_addhst): Return tryagain not notfound for temporary errors.
59503         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59504         failed.
59506 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59508         [BZ #10563]
59509         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59510         to make the syscall.
59511         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59513         [BZ #12378]
59514         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59515         and fall back to matching as normal character if the string ends before
59516         the matching ']' is found.  This is what POSIX requires.
59517         * posix/testfnm.c: Adjust test result.
59518         * posix/globtest.sh: Adjust test result.  Add new test.
59519         * posix/tst-fnmatch.input: Likewise.
59520         * posix/tst-fnmatch2.c: Add new test.
59522 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59524         * elf/Makefile (check-execstack): Revert last change.  Depend on
59525         check-execstack.h.
59526         (check-execstack.h): New target.
59527         (generated): Add check-execstack.h.
59528         * elf/check-execstack.c: Include "check-execstack.h".
59529         (main): Revert last change.
59530         (handle_file): Return zero if GNU_STACK is absent and
59531         DEFAULT_STACK_PERMS doesn't include PF_X.
59533 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59535         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59536         in child fails because the descriptor is already closed.
59537         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59538         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59539         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59541         [BZ #12397]
59542         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59543         syscall.
59545         [BZ #10484]
59546         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59547         temporary buffer used to handle multi lookups locally.
59548         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59552         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59553         loader is ld.so.
59555 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59557         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59558         alignment for SSE2.
59560 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59562         [BZ #12394]
59563         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59564         characters.  When rounding increased number of integer digits recompute
59565         number of groups.
59566         * stdio-common/tst-grouping.c: New file.
59567         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59569 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59571         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59572         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59574         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59575         void.
59576         * bits/select.h: Likewise.
59578 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59580         * po/ja.po: Update from translation team.
59582 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59584         [BZ #11155]
59585         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59586         implementation just like for lxstat, fxstatat, et al.
59588 2010-12-27  Jim Meyering  <meyering@redhat.com>
59590         [BZ #12348]
59591         * posix/regexec.c (build_trtable): Return failure indication upon
59592         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59594 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59596         [BZ #12201]
59597         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59598         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59599         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59600         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59602         [BZ #12207]
59603         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59605         [BZ #12204]
59606         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59607         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59609 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59611         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59612         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59613         script has SORT_BY_INIT_PRIORITY.
59614         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59615         NO_CTORS_DTORS_SECTIONS is defined.
59616         * elf/soinit.c: Likewise.
59617         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59618         NO_CTORS_DTORS_SECTIONS is defined.
59619         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59620         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59621         * sysdeps/sh/init-first.c: Likewise.
59622         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59624 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59626         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59627         always use the slow path.
59629 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59631         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59632         similar rule which adds the sysdep directories to the header search in
59633         order to pick up the correct platform stackinfo.h.
59634         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59635         perform test if it is, otherwise return successfully without testing.
59636         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59637         DEFAULT_STACK_PERMS define in stackinfo.h.
59638         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59639         defined in stackinfo.h.
59640         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59641         DEFAULT_STACK_PERMS defined in stackinfo.h.
59642         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59643         * sysdeps/ia64/stackinfo.h: Likewise.
59644         * sysdeps/s390/stackinfo.h: Likewise.
59645         * sysdeps/sh/stackinfo.h: Likewise.
59646         * sysdeps/sparc/stackinfo.h: Likewise.
59647         * sysdeps/x86_64/stackinfo.h: Likewise.
59648         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59649         PF_X for powerpc64.  Retain PF_X for powerpc32.
59651 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59653         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59654         accurately.
59655         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59656         GETDENTS_64BIT_ALIGNED.
59658 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59660         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59662 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59664         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59665         _GNU_SOURCE.
59667         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59668         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59669         Remove __restrict.
59670         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59671         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59673 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59675         [BZ #11655]
59676         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59677         are initialized.
59679 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59681         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59683 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59685         * po/it.po: Update from translation team.
59687 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59690         unused codes.
59692 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59694         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59696 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59698         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59699         specially.
59700         (gaih_getanswer_slice): Likewise.
59702 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59706 2010-05-31  Petr Baudis  <pasky@suse.cz>
59708         [BZ #11149]
59709         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59710         silently even in the chroot mode.
59712 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59714         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59715         last patch a bit.  Pretty printing
59717 2010-05-31  Petr Baudis <pasky@suse.cz>
59719         [BZ #10085]
59720         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59721         initialization of skip_initgroups_dyn.
59723 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59725         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59726         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59728 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59730         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59732 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59734         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59735         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59736         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59737         ($(objpfx)tst-fnmatch-mem): New rule.
59738         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59739         * posix/tst-fnmatch.c (main): Call mtrace.
59741 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59744         Support Intel processor model 6 and model 0x2c.
59746 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59748         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59749           signed comparison.
59751 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59753         [BZ #12205]
59754         * string/test-strncasecmp.c (check_result): New function.
59755         (do_one_test): Use it.
59756         (check1): New function.
59757         (test_main): Use it.
59758         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59759         Support strcasecmp and strncasecmp.
59761 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59763         [BZ #12194]
59764         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59765         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59767 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59769         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59770         IFUNC support.
59771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59772         memset-x86-64.
59773         * sysdeps/x86_64/multiarch/bzero.S: New file.
59774         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59775         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59776         * sysdeps/x86_64/multiarch/memset.S: New file.
59777         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59779         Set bit_Prefer_SSE_for_memop for Intel processors.
59780         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59781         Define.
59782         (index_Prefer_SSE_for_memop): Define.
59783         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59785 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59787         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59788         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59790 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59792         [BZ #12191]
59793         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59794         (__x86_64_raw_data_cache_size_half): Likewise.
59795         (__x86_64_raw_shared_cache_size): Likewise.
59796         (__x86_64_raw_shared_cache_size_half): Likewise.
59798         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59799         (__x86_64_raw_data_cache_size_half): Likewise.
59800         (__x86_64_raw_shared_cache_size): Likewise.
59801         (__x86_64_raw_shared_cache_size_half): Likewise.
59802         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59803         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59804         and __x86_64_raw_shared_cache_size_half.  Round
59805         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59806         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59807         to multiple of 256 bytes.
59809 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59811         [BZ #12167]
59812         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59813         of inacessible symlinks.  Verify result of symlink before returning it.
59814         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59815         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59817 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59819         * math/math.h (isinf): Fix typo in comment.
59821 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59823         * po/da.po: Update from translation team.
59825 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59827         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59828         is added to the list.
59830 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59831             Ulrich Drepper  <drepper@gmail.com>
59833         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59834         the global list here.  Move code to...
59835         (_dl_add_to_namespace_list): ...here.  New function.
59836         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59837         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59838         * elf/dl-load.c (lose): Don't remove the element from the list.
59839         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59840         (_dl_map_object): Likewise.
59842 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59844         [BZ #12159]
59845         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59846         into all bytes of SSE register.
59847         Patch by Richard Li <richardpku@gmail.com>.
59849 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59851         [BZ #12140]
59852         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59853         perturbing.
59855 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59857         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59858         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59859         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59860         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59862         submachine.
59863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59865 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59867         * include/dlfcn.h (__RTLD_SECURE): Define.
59868         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59869         mode & __RTLD_SECURE instead.
59870         (open_path): Rename preloaded parameter to secure.
59871         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59872         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59873         * elf/dl-deps.c (openaux): Likewise.
59874         * elf/rtld.c (struct map_args): Remove is_preloaded.
59875         (map_doit): Don't use it.
59876         (dl_main): Likewise.
59877         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59878         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59880 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59882         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59883         (sysd-rules-targets): Remove duplicates.
59884         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59885         rtld-%.$o dependency.
59887 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59889         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59890         _dl_map_object do it.
59892 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59894         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59895         fast fma builtins, define the macros in the C99 standard.
59896         (FP_FAST_FMAF): Likewise.
59897         (FP_FAST_FMAL): Likewise.
59898         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59900         * bits/mathdef.h: Update copyright year.
59901         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59903 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59905         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59906         builtins, define the macros in the C99 standard.
59907         (FP_FAST_FMAF): Likewise.
59908         (FP_FAST_FMAL): Likewise.
59909         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59910         multiply/add.
59911         (FP_FAST_FMAF): Likewise.
59913 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59915         [BZ #3268]
59916         * math/libm-test.inc (fma_test): Some new testcases.
59917         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59918         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59919         y and infinite z.  Do multiplication by C already in long double.
59920         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59922         y and infinite z.  Do bitwise or of inexact bit into u.d.
59923         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59924         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59925         * sysdeps/i386/fpu/s_fma.S: Removed.
59926         * sysdeps/i386/fpu/s_fmal.S: Removed.
59928 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59930         [BZ #3268]
59931         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59933         computation is not scheduled after fetestexcept.  Fix value
59934         of minimum denormal long double.
59936 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59938         [BZ #3268]
59939         * math/libm-test.inc (fma_test): Add some more tests.
59940         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59941         correctly.
59943 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59945         * scripts/data/localplt-s390-linux-gnu.data: New file.
59946         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59948 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59950         [BZ #3268]
59951         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59952         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59953         instead of dbl-64.
59954         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59955         inlines.
59956         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59958         if one of x and y is very large and the other is subnormal.
59959         * sysdeps/s390/fpu/s_fmaf.c: New file.
59960         * sysdeps/s390/fpu/s_fma.c: New file.
59961         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59962         * sysdeps/powerpc/fpu/s_fma.S: New file.
59963         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59964         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59965         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59967 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59969         [BZ #3268]
59970         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59971         fma tests.
59972         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59973         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59974         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59975         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59976         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59977         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59978         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59980 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59982         [BZ #12078]
59983         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59984         * posix/bug-regex31.input: Add test case.
59986 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59988         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59989         * posix/bug-regex31.input: New file.
59991         [BZ #12078]
59992         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59993         (parse_sub_exp): Fix last change, use postorder.
59995         * posix/bug-regex31.c: New file.
59996         * posix/Makefile: Add rules to build and run bug-regex31.
59998         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
60000         [BZ #12078]
60001         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
60003         [BZ #12108]
60004         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
60005         to have entries in sys_siglist.
60007         [BZ #12093]
60008         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
60009         be NULL.
60011 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60013         [BZ #3268]
60014         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60015         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60016         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60017         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60018         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60019         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60020         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60021         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60022         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60023         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60024         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60025         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60026         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60027         * math/ftestexcept.c (fetestexcept): Likewise.
60028         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60029         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60030         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60031         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60032         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60033         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60034         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60036 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60038         [BZ #12107]
60039         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60040         newline.
60042 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60044         * string/bug-strstr1.c: New file.
60045         * string/Makefile: Add rules to build and run bug-strstr1.
60047 2010-10-05  Eric Blake  <eblake@redhat.com>
60049         [BZ #12092]
60050         * string/str-two-way.h (two_way_long_needle): Always clear memory
60051         when skipping input due to the shift table.
60053 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60055         [BZ #12005]
60056         * malloc/mcheck.c: Handle large requests.
60058         [BZ #12077]
60059         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60060         for strncmp and strncasecmp.
60061         * string/stratcliff.c: Add tests for strcmp and strncmp.
60062         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60064 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60066         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60067         __set_fpscr.
60069 2010-09-30  Andreas Jaeger  <aj@suse.de>
60071         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60072         (CGROUP_SUPER_MAGIC): Define.
60073         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60074         Handle btrfs and cgroup file systems.
60075         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60076         Likewise.
60078 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60080         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60081         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60083 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60085         [BZ #12067]
60086         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60087         trying to locate the ELF header.
60089 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60091         [BZ #11611]
60092         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60093         Mask out sign-bit copies when constructing f_fsid.
60095 2010-09-24  Petr Baudis <pasky@suse.cz>
60097         * debug/stack_chk_fail_local.c: Add missing licence exception.
60098         * debug/warning-nop.c: Likewise.
60100 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60102         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60103         implementing getdents64 using getdents syscall, set d_type if
60104         __ASSUME_GETDENTS32_D_TYPE.
60106 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60108         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60109         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60111 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60113         [BZ #12037]
60114         * posix/unistd.h: Undo change of feature selection for ftruncate from
60115         2010-01-11.
60117 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60119         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60120         detection.
60122 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60124         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60125         fanotify_mark.
60126         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60128 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60130         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60131         variables after CHECK_SP call.
60132         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60134 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60135             Ulrich Drepper  <drepper@redhat.com>
60137         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60138         re-relocationg ld.so.
60139         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60140         _dl_init_paths call.
60141         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60142         here anymore.
60144 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60146         * resolv/res_init.c (__res_vinit): Count the default server we added.
60148 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60149             Ulrich Drepper  <drepper@redhat.com>
60151         [BZ #11968]
60152         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60153         (____longjmp_chk): Use %ebx for saving value across system call.
60154         Add unwind info.
60156 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60158         * manual/Makefile: Don't mix pattern rules with normal rules.
60160 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60162         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60163         operation.
60164         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60165         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60166         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60167         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60168         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60169         Likewise.
60171 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60173         [BZ #11979]
60174         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60175         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60177 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60179         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60180         * sysdeps/x86_64/addmul_1.S: Likewise.
60181         * sysdeps/x86_64/lshift.S: Likewise.
60182         * sysdeps/x86_64/mul_1.S: Likewise.
60183         * sysdeps/x86_64/rshift.S: Likewise.
60184         * sysdeps/x86_64/sub_n.S: Likewise.
60185         * sysdeps/x86_64/submul_1.S: Likewise.
60187 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60189         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60190         Define __sched_param instead of SCHED_* and sched_param when
60191         <bits/sched.h> is included with __need_schedparam defined.
60192         * bits/sched.h [__need_schedparam]
60193         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60194         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60195         (__defined_schedparam): Define to 1.
60196         (__sched_param): New structure, identical to sched_param.
60197         (__need_schedparam): Undefine.
60199 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60201         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60202         (epoll_create1): Declare.
60204         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60206 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60208         [BZ #7066]
60209         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60210         shifting retval into place.
60212 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60214         * nis/rpcsvc/nis.h: Update copyright notice.
60215         * nis/rpcsvc/nis.x: Likewise.
60216         * nis/rpcsvc/nis_callback.h: Likewise.
60217         * nis/rpcsvc/nis_callback.x: Likewise.
60218         * nis/rpcsvc/nis_object.x: Likewise.
60219         * nis/rpcsvc/nis_tags.h: Likewise.
60220         * nis/rpcsvc/yp.h: Likewise.
60221         * nis/rpcsvc/yp.x: Likewise.
60222         * nis/rpcsvc/ypupd.h: Likewise.
60223         * nis/yp_xdr.c: Likewise.
60224         * nis/ypupdate_xdr.c: Likewise.
60226         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60227         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60228         (pmap_getport): Use __libc_rpc_getport.
60229         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60230         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60231         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60233 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60236         fanotify_mark.
60238 2010-08-27  Roland McGrath  <roland@redhat.com>
60240         * sysdeps/i386/i686/multiarch/Makefile
60241         (CFLAGS-varshift.c): New variable.
60243 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60245         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60246         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60248         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60250         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60252 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60254         * sysdeps/x86_64/strlen.S: Unroll the loop.
60255         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60256         strlen-sse2 strlen-sse2-bsf.
60257         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60258         __strlen_no_bsf if bit_Slow_BSF is set.
60259         (__strlen_sse42): Removed.
60260         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60261         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60263 2010-08-25  Roland McGrath  <roland@redhat.com>
60265         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60266         * sysdeps/x86_64/multiarch/varshift.c: New file.
60267         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60268         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60269         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60270         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60272 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60275         strlen-sse2 strlen-sse2-bsf.
60276         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60277         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60278         (__strlen_sse2): Removed.
60279         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60280         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60282         bit_Slow_BSF for Atom.
60283         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60284         (index_Slow_BSF): Define.
60285         (HAS_SLOW_BSF): Define.
60287 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60289         [BZ #10851]
60290         * resolv/res_init.c (__res_vinit): When no server address at all
60291         is given default to loopback.
60293 2010-08-24  Roland McGrath  <roland@redhat.com>
60295         * configure.in: Remove config-name.h generation.
60296         * configure: Regenerated.
60297         * config-name.in: File removed.
60298         * scripts/config-uname.sh: New file.
60299         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60300         ($(objdir)config-name.h): New target.
60302         * sunrpc/rpc_parse.h: Avoid nested comment.
60304 2010-08-24  Richard Henderson  <rth@redhat.com>
60305             Ulrich Drepper  <drepper@redhat.com>
60306             H.J. Lu  <hongjiu.lu@intel.com>
60308         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60310         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60311         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60312         _mm_alignr_epi8 with _mm_loadu_si128.
60313         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60314         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60315         (__m128i_shift_right): Removed.
60316         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60317         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60318         * sysdeps/x86_64/multiarch/varshift.h: New file.
60319         * sysdeps/x86_64/multiarch/varshift.S: New file.
60321 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60323         * configure.in: Move assembler checks to before sysdep dir checking.
60325 2010-08-20  Petr Baudis  <pasky@suse.cz>
60327         * LICENSES: Sync the sunrpc license.
60329 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60331         * sunrpc/auth_des.c: Update copyright notice once again.
60332         * sunrpc/auth_none.c: Likewise.
60333         * sunrpc/auth_unix.c: Likewise.
60334         * sunrpc/authdes_prot.c: Likewise.
60335         * sunrpc/authuxprot.c: Likewise.
60336         * sunrpc/bindrsvprt.c: Likewise.
60337         * sunrpc/clnt_gen.c: Likewise.
60338         * sunrpc/clnt_perr.c: Likewise.
60339         * sunrpc/clnt_raw.c: Likewise.
60340         * sunrpc/clnt_simp.c: Likewise.
60341         * sunrpc/clnt_tcp.c: Likewise.
60342         * sunrpc/clnt_udp.c: Likewise.
60343         * sunrpc/clnt_unix.c: Likewise.
60344         * sunrpc/des_crypt.c: Likewise.
60345         * sunrpc/des_soft.c: Likewise.
60346         * sunrpc/get_myaddr.c: Likewise.
60347         * sunrpc/getrpcport.c: Likewise.
60348         * sunrpc/key_call.c: Likewise.
60349         * sunrpc/key_prot.c: Likewise.
60350         * sunrpc/openchild.c: Likewise.
60351         * sunrpc/pm_getmaps.c: Likewise.
60352         * sunrpc/pm_getport.c: Likewise.
60353         * sunrpc/pmap_clnt.c: Likewise.
60354         * sunrpc/pmap_prot.c: Likewise.
60355         * sunrpc/pmap_prot2.c: Likewise.
60356         * sunrpc/pmap_rmt.c: Likewise.
60357         * sunrpc/rpc/auth.h: Likewise.
60358         * sunrpc/rpc/auth_unix.h: Likewise.
60359         * sunrpc/rpc/clnt.h: Likewise.
60360         * sunrpc/rpc/des_crypt.h: Likewise.
60361         * sunrpc/rpc/key_prot.h: Likewise.
60362         * sunrpc/rpc/netdb.h: Likewise.
60363         * sunrpc/rpc/pmap_clnt.h: Likewise.
60364         * sunrpc/rpc/pmap_prot.h: Likewise.
60365         * sunrpc/rpc/pmap_rmt.h: Likewise.
60366         * sunrpc/rpc/rpc.h: Likewise.
60367         * sunrpc/rpc/rpc_des.h: Likewise.
60368         * sunrpc/rpc/rpc_msg.h: Likewise.
60369         * sunrpc/rpc/svc.h: Likewise.
60370         * sunrpc/rpc/svc_auth.h: Likewise.
60371         * sunrpc/rpc/types.h: Likewise.
60372         * sunrpc/rpc/xdr.h: Likewise.
60373         * sunrpc/rpc_clntout.c: Likewise.
60374         * sunrpc/rpc_cmsg.c: Likewise.
60375         * sunrpc/rpc_common.c: Likewise.
60376         * sunrpc/rpc_cout.c: Likewise.
60377         * sunrpc/rpc_dtable.c: Likewise.
60378         * sunrpc/rpc_hout.c: Likewise.
60379         * sunrpc/rpc_main.c: Likewise.
60380         * sunrpc/rpc_parse.c: Likewise.
60381         * sunrpc/rpc_parse.h: Likewise.
60382         * sunrpc/rpc_prot.c: Likewise.
60383         * sunrpc/rpc_sample.c: Likewise.
60384         * sunrpc/rpc_scan.c: Likewise.
60385         * sunrpc/rpc_scan.h: Likewise.
60386         * sunrpc/rpc_svcout.c: Likewise.
60387         * sunrpc/rpc_tblout.c: Likewise.
60388         * sunrpc/rpc_util.c: Likewise.
60389         * sunrpc/rpc_util.h: Likewise.
60390         * sunrpc/rpcinfo.c: Likewise.
60391         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60392         * sunrpc/rpcsvc/key_prot.x: Likewise.
60393         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60394         * sunrpc/rpcsvc/mount.x: Likewise.
60395         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60396         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60397         * sunrpc/rpcsvc/rex.x: Likewise.
60398         * sunrpc/rpcsvc/rstat.x: Likewise.
60399         * sunrpc/rpcsvc/rusers.x: Likewise.
60400         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60401         * sunrpc/rpcsvc/spray.x: Likewise.
60402         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60403         * sunrpc/rtime.c: Likewise.
60404         * sunrpc/svc.c: Likewise.
60405         * sunrpc/svc_auth.c: Likewise.
60406         * sunrpc/svc_authux.c: Likewise.
60407         * sunrpc/svc_raw.c: Likewise.
60408         * sunrpc/svc_run.c: Likewise.
60409         * sunrpc/svc_simple.c: Likewise.
60410         * sunrpc/svc_tcp.c: Likewise.
60411         * sunrpc/svc_udp.c: Likewise.
60412         * sunrpc/svc_unix.c: Likewise.
60413         * sunrpc/svcauth_des.c: Likewise.
60414         * sunrpc/xcrypt.c: Likewise.
60415         * sunrpc/xdr.c: Likewise.
60416         * sunrpc/xdr_array.c: Likewise.
60417         * sunrpc/xdr_float.c: Likewise.
60418         * sunrpc/xdr_mem.c: Likewise.
60419         * sunrpc/xdr_rec.c: Likewise.
60420         * sunrpc/xdr_ref.c: Likewise.
60421         * sunrpc/xdr_sizeof.c: Likewise.
60422         * sunrpc/xdr_stdio.c: Likewise.
60424         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60425         handling.
60427 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60429         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60431 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60433         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60434         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60435         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60436         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60437         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60438         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60439         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60440         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60442         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60443         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60444         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60445         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60446         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60448 2010-07-26  Anton Blanchard  <anton@samba.org>
60450         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60451         * malloc/arena.c (heap_trim): Likewise.
60453 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60455         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60456         here.  Not...
60457         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60458         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60460 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60462         * sysdeps/i386/elf/Makefile: New file.
60464 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60466         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60467         from fanotify_init.
60468         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60471 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60473         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60474         of strncasecmp_l.
60475         * sysdeps/multiarch/strcmp.S: Likewise.
60477 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60479         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60480         strncase_l-nonascii.
60481         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60482         Add strncase_l-ssse3.
60483         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60484         * sysdeps/x86_64/strcmp.S: Likewise.
60485         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60486         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60487         * sysdeps/x86_64/strncase.S: New file.
60488         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60489         * sysdeps/x86_64/strncase_l.S: New file.
60490         * string/Makefile (strop-tests): Add strncasecmp.
60491         * string/test-strncasecmp.c: New file.
60493         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60494         warning.
60496         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60497         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60499 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60501         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60503 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60505         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60506         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60507         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60509 2010-05-01  Alan Modra  <amodra@gmail.com>
60511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60512         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60513         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60514         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60515         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60516         tidying.  Don't tail-call __sigjmp_save for static lib.
60517         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60518         save location.
60519         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60520         (CALL_MCOUNT): Add eh info, and nop after bl.
60521         (TAIL_CALL_SYSCALL_ERROR): New macro.
60522         (PSEUDO_RET): Use it.
60523         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60524         Correct save location of integer regs and cr.
60525         (_dl_profile_resolve): Correct cr save location.  Delete nops
60526         after bl when SHARED.  Reduce cfi size a little by better
60527         placement of cfi directives.
60528         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60529         make a stack frame.  Instead use parm save area as a temp.
60530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60531         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60533         Don't make a stack frame for parent, use parm save area.
60534         Increase child stack frame to 112 bytes.  Don't save unused reg,
60535         and adjust reg usage.  Set up cfi on error recovery and
60536         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60538         (__makecontext): Add dummy nop after jump to exit.
60539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60540         Use correct parm save area and cr save, reduce stack frame.
60541         Correct cfi for possible PSEUDO_RET frame setup.
60542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60543         Branch to local label emitted by PSEUDO_RET rather than
60544         __syscall_error.
60546 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60548         [BZ #11904]
60549         * locale/programs/locale.c (print_assignment): New function.
60550         (show_locale_vars): Use it.
60552 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60554         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60555         field.
60556         (struct statfs64): Likewise.
60557         (_STATFS_F_FLAGS): Define.
60558         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60559         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60560         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60561         (ST_VALID): Define locally.
60562         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60563         __statvfs_getflags, use the provided value.
60564         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60565         __ASSUME_STATFS_F_FLAGS.
60567         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60569         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60570         Add sys/fanotify.h.
60571         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60572         fanotify_mask for GLIBC_2.13.
60573         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60574         fanotify_init and fanotify_mark.
60575         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60576         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60578         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60579         Add prlimit.
60580         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60581         prlimit64 for GLIBC_2.13.
60582         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60583         prlimit64.
60584         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60585         syscall.
60586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60587         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60588         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60589         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60591         add prlimit alias.
60592         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60594         [BZ #11903]
60595         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60596         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60598         * nss/Makefile: Add rules to build and run tst-nss-test1.
60599         * shlib-versions: Add entry for libnss_test1.
60600         * nss/nss_test1.c: New file.
60601         * nss/tst-nss-test1.c: New file.
60603         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60604         (__nss_configure_lookup): Set appropriate entry in
60605         __nss_configure_lookup to true.
60606         * nss/nsswitch.h: Define enum with indeces of databases in
60607         databases and __nss_database_custom arrays.  Declare
60608         __nss_database_custom.
60609         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60610         to avoid using nscd when custom rules are installed.
60611         * nss/getXXbyYY_r.c: Likewise.
60612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60614         * nss/nss_files/files-parse.c: Whitespace fixes.
60616 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60618         [BZ #11883]
60619         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60620         * posix/fnmatch_loop.c: Likewise.
60622 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60624         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60625         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60626         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60627         * Versions.def [GLIBC_2.13]: Add.
60629 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60631         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60632         Also fail if tpwd after pwuid call is NULL.
60634 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60636         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60637         when converting to ms.
60639 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60641         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60642         EOPNOTSUPP errors with ENOTTY.
60643         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60644         EOPNOTSUPP errors with ENOTTY.
60646 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60648         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60649         Add strcasecmp_l-ssse3.
60650         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60651         strcasecmp.
60652         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60653         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60654         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60656 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60658         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60660         * string/Makefile (strop-tests): Add strcasecmp.
60661         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60662         strcasecmp_l-nonascii.
60663         (gen-as-const-headers): Add locale-defines.sym.
60664         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60665         * sysdeps/x86_64/strcasecmp.S: New file.
60666         * sysdeps/x86_64/strcasecmp_l.S: New file.
60667         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60668         * sysdeps/x86_64/locale-defines.sym: New file.
60669         * string/test-strcasecmp.c: New file.
60671         * string/test-strcasestr.c: Test both ends of the range of characters.
60672         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60674 2010-07-29  Roland McGrath  <roland@redhat.com>
60676         [BZ #11856]
60677         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60679 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60681         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60682         for ld.so.
60684 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60686         * manual/memory.texi (Malloc Tunable Parameters): Document
60687         M_PERTURB.
60689 2010-07-26  Roland McGrath  <roland@redhat.com>
60691         [BZ #11840]
60692         * configure.in (-fgnu89-inline check): Set and substitute
60693         gnu89_inline, not libc_cv_gnu89_inline.
60694         * configure: Regenerated.
60695         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60697 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60699         * string/test-strnlen.c: New file.
60700         * string/Makefile (strop-tests): Add strnlen.
60701         * string/tester.c (test_strnlen): Add a few more test cases.
60702         * string/tst-strlen.c: Better error reporting.
60704         * sysdeps/x86_64/strnlen.S: New file.
60706 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60708         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60709         lower-latency instructions.
60711 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60713         * string/test-strcasestr.c: New file.
60714         * string/test-strstr.c: New file.
60715         * string/Makefile (strop-tests): Add strstr and strcasestr.
60716         * string/str-two-way.h: Don't undefine MAX.
60717         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60719 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60722         strcasestr-nonascii.
60723         (CFLAGS-strcasestr-nonascii.c): Define.
60724         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60725         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60726         Remove unused attribute.
60728 2010-07-20  Roland McGrath  <roland@redhat.com>
60730         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60731         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60732         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60733         like LD_HWCAP_MASK can disable hwcaps.
60735 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60737         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60739 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60741         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60742         call in strcasestr.
60743         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60744         __strcasestr_sse42_nonascii.
60745         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60746         strcasestr-nonascii.c.
60747         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60749 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60751         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60752         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60753         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60754         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60756 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60758         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60759         fcntl.
60761 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60763         [BZ #11577]
60764         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60765         dl_signal_cerror.
60767 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60769         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60770         _PC_PIPE_BUF using F_GETPIPE_SZ.
60772 2010-07-05  Roland McGrath  <roland@redhat.com>
60774         * manual/arith.texi (Rounding Functions): Fix rint description
60775         implicit in round description.
60777 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60779         * elf/Makefile: Fix linking for a few tests to make recent linker
60780         happy.
60782 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60784         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60785         $(common-objpfx)libc_nonshared.a.
60787 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60789         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60790         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60791         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60792         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60793         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60794         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60795         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60796         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60811         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60812         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60813         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60814         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60815         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60816         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60817         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60818         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60819         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60820         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60821         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60822         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60838 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60840         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60841         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60842         * string/memmove.c (memmove): Renamed to ...
60843         (MEMMOVE): ...this.  Default to memmove.
60844         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60845         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60846         (END_CHK): Define.
60847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60848         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60849         mempcpy-ssse3-back memmove-ssse3-back.
60850         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60852         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60853         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60854         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60855         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60856         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60857         * sysdeps/x86_64/multiarch/memmove.c: New file.
60858         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60859         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60860         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60861         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60863         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60864         Define.
60865         (index_Fast_Copy_Backward): Define.
60866         (HAS_ARCH_FEATURE): Define.
60867         (HAS_FAST_REP_STRING): Define.
60868         (HAS_FAST_COPY_BACKWARD): Define.
60870 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60872         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60873         Restore proper fallback handling.
60875 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60877         [BZ #11701]
60878         * posix/group_member.c (__group_member): Correct checking loop.
60880         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60881         OOM in getpwuid_r correctly.  Return error number when the caller
60882         should return, otherwise -1.
60883         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60884         call returning > 0 value.
60885         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60887 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60889         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60890         libc_nonshared.a from targets in modules-names.
60892 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60894         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60895         requires it.
60897 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60899         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60902         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60904 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60906         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60908 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60910         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60911         and F_GETPIPE_SZ.
60912         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60913         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60916         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60917         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60919 2010-06-14  Roland McGrath  <roland@redhat.com>
60921         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60923 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60925         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60926         __REDIRECT followed by __THROW.
60927         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60928         * posix/getopt.h (getopt): Likewise.
60930 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60932         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60933         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60934         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60935         in AT_FLAGS.
60936         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60937         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60939 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60941         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60943 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60945         [BZ #11640]
60946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60947         Properly check family and model.
60949 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60951         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60953 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60955         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60957 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60959         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60960         symbol reference.
60962 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60964         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60965         symbol reference.
60967 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60969         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60970         and internal_recvmmsg.
60971         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60972         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60973         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60974         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60976         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60977         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60978         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60980 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60982         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60984 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60986         POWER7 optimizations.
60987         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60988         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60990 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60992         * version.h: Update for 2.13 development version.
60994 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60996         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60997         exceptions.  Return 0.
60999 2010-05-07  Roland McGrath  <roland@redhat.com>
61001         * elf/ldconfig.c (main): Add a const.
61003 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
61005         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
61006         (args_options): Add no-idn option.
61007         (ahosts_keys_int): Add idn_flags to ai_flags.
61008         (parse_option): Handle 'i' option to clear idn_flags.
61010         * malloc/malloc.c (_int_free): Possible race in the most recently
61011         added check.  Only act on the data if no current modification
61012         happened.
61014 See ChangeLog.17 for earlier changes.